| 1 |
digraph { |
| 2 |
splines=ortho; |
| 3 |
// Set the penwidth so large that the obstacles created by `makeObstacle` in |
| 4 |
// `lib/neatogen/neatosplines.c` overlap, and `_spline_edges` issues this |
| 5 |
// warning: |
| 6 |
// |
| 7 |
// "Warning: the bounding boxes of some nodes touch - falling back to straight line edges" |
| 8 |
// |
| 9 |
// This is admittedly a bit strange, but it is a way to determine that the |
| 10 |
// obstacles are created with penwith taken into account when |
| 11 |
// `splines=ortho`. Unlike the other testcases for #2168, we cannot use |
| 12 |
// compass ports since they do not work correctly when `splines=ortho`. In |
| 13 |
// the future, if the impact of the obstacles is better understood, it might |
| 14 |
// be possible to create a more intuitive test case. |
| 15 |
node [shape=box penwidth=12]; |
| 16 |
node1 -> node2; |
| 17 |
} |