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
Currently, non-circular links that connect nodes which aren't in consecutive columns sometimes overlap other nodes which are in between. While the current functions tries to shift the overlapping nodes out of the way, its not always optimal and causes the layouts the be erratic when slightly changing other parameters.
The text was updated successfully, but these errors were encountered:
https://github.com/ricklupton/d3-sankey-diagram/ uses the concept of dummy nodes, which could provide a solution, in that these could be used when creating the links, as the layout is strong on preventing node overlaps in the same column
Example process:
identify non-circular links that span more than 1 columns
for each intermediary column
create placeholder node(s)
identify it as a placeholder
create link from source to node
identify it as a placeholder
[- create link from node to node]
identify it as a placeholder
create link from node to target
identify it as a placeholder
delete original link
layout
err placeholder nodes for same link to be in line
create the original link, using placeholder links to create path data for original link
Currently, non-circular links that connect nodes which aren't in consecutive columns sometimes overlap other nodes which are in between. While the current functions tries to shift the overlapping nodes out of the way, its not always optimal and causes the layouts the be erratic when slightly changing other parameters.
The text was updated successfully, but these errors were encountered: