1
votes

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 weights .

I'm aming for a map of nodes with "fixed" position/neighborhood and an overlay of additional relations.

1

1 Answers

1
votes

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