How to increase the space between edges (splines) and nodes in the graph?

I manually set the starting position of each node and set splines = true.

The resulting image is as follows:

graph

The spline between 1031 and 1028 seems to relate to nodes 1030 and 1029. I'm just wondering if there is a way to increase inventory here. I tried specifying esep = "+ 3.3" to get a very high margin around the nodes, but the same graph is still displayed.

+6
source share
2 answers

How do you lay out the nodes manually, why not lay out the spline manually , as well as:

pos splineType 

Splines are slightly more complicated than nodes, but not so scary.

To get started, start your chart with neato , with the output format set to "dot" ( -Tdot ) and it will generate a lower level layout. Then you can adjust the coordinates for the spline of problems.

+1
source

There are also esep and sep .

From what I noticed, these attributes work very well when using neato to generate spline edges when positions are known. But if the value is set too high, then the output positions do not coincide with the input positions.

0
source

Source: https://habr.com/ru/post/911453/


All Articles