erdogant / d3graph

Creation of interactive networks using d3 Javascript

Home Page:https://erdogant.github.io/d3graph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to start the graph at a specific threshold of edges?

Wario84 opened this issue · comments

Hi,

I'm using your package to render some networks, and it works great.
I was wondering if there is a way to set the d3.show() to start at a specific value for the threshold of edges?

Thanks a lot,

Mario

At the moment this feature is not yet implemented.

I am interested in this feature too. Meantime, wouldn't a similar behaviour be reached by using the minmax argument? My issue is that I am trying to visualise a 90 nodes graph. The edges go from 0 to 68, however, when the graph is initialised and the threshold is 0, the nodes are bouncing all over the place until I set the threshold to say, 3-4.

I have tried to use the minmax argument but perhaps I misunderstand its functionality.

d3.D3graph.set_edge_properties(directed=True, marker_end='arrow', minmax=[5, 68], scaler='zscore', marker_color = '#7295b0')
Best,
Davide

I created an update and this functionality is now included!

Update to the latest version with
pip install -U d3graph