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
I work with networkx and I use the layout produced by it. The problem is that when the graph is produced in my notebook, the image is not centered and I cannot control where I want the zoom/view to start. I figure out that it tries to show the origin of coordinates (0, 0) and so now I modify the positions coming from networkx so that they're positioned around the (0, 0) coordinate.
Instead of this hack, maybe it could be useful to pass an argument to the gv.d3 function with the coordinates to display by default on the creation of the graph?
I guess this is only useful when someone is setting the coordinates manually as I'm doing.
I work with networkx and I use the layout produced by it. The problem is that when the graph is produced in my notebook, the image is not centered and I cannot control where I want the zoom/view to start. I figure out that it tries to show the origin of coordinates (0, 0) and so now I modify the positions coming from networkx so that they're positioned around the (0, 0) coordinate.
Instead of this hack, maybe it could be useful to pass an argument to the
gv.d3
function with the coordinates to display by default on the creation of the graph?I guess this is only useful when someone is setting the coordinates manually as I'm doing.
Example:
The text was updated successfully, but these errors were encountered: