Reputation: 1065
How do I add an edge to a graphviz neato/fdp graph, that has no influence of the layout. I tried especially weight=0
and w=0
as stated in the documentation, and many other combination with the len
attribute and different weight
s .
I'm aming for a map of nodes with "fixed" position/neighborhood and an overlay of additional relations.
Upvotes: 1
Views: 882
Reputation: 5560
This should be achievable by a two-step approach where you first run graphviz with the nodes and subset of edges you want it to use to compute positions and have it output the node positions (for example, use the -Tdot output). Then add the additional edges and rerun graphviz again.
You may need to pin
the nodes, see this question: graphviz - fixed node positions
Upvotes: 1