Hidden edges in Graphviz
Asked Answered
M

2

48

I'm trying to create a graph using Graphviz (complied with neato), and I would like to place nodes in specific locations. For this, I'm specifying exact edge lengths for all edges. However, I don't want all edges to be visible in the final image.

Do you know of any way to hide edges? I should mention that I tried coloring the edges white, but what happens is that I get white lines painted over the graph nodes - it's not very aesthetic...

Markham answered 12/11, 2009 at 10:30 Comment(0)
A
90

It can be done using

nodeA -> nodeB [style=invis]
Ashleeashleigh answered 12/11, 2009 at 10:43 Comment(0)
M
1

I found out that another way to go is to define:

outputorder="edgesfirst"  

for the graph.

Markham answered 19/11, 2009 at 14:13 Comment(1)
This is not an answer to the posted question, but rather: How to avoid edges over nodes.Giaour

© 2022 - 2024 — McMap. All rights reserved.