You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I suppose it might be possible if you set weight property directly to edge descriptor (one that you receive when iterating over ngraph links i.e. graph.forEachLink).
Take a look at Layout.js#90 and supervisor.js#161 to better understanding of how currently layout works with the ngraph.
It's smelly and probably better to rewrite layout logic as it will look into data of a link for weight.
if you have time to implement something more convenient, please feel free to contribute!
Hello,
Is there a way to set weight on edges with this module ?
Thank you
The text was updated successfully, but these errors were encountered: