rwolst
rwolst

Reputation: 13672

Graphviz: pre-set nodes in a regular shape

I have 10 nodes that are all connected to each other and I am trying to generate a graph using neato. I set graph [overlap=false] and my output is currently in the general shape of an octagon with two nodes stuck in the middle.

What I want is for the nodes to be arranged as a decagon along the outside of the graph with no nodes stuck in the middle. What is the best way to achieve this?

Upvotes: 1

Views: 79

Answers (1)

CapelliC
CapelliC

Reputation: 60024

the "circo" layout should help to obtain the required outcome.

Upvotes: 1

Related Questions