Reputation: 11618
I've been Googling for this for quite a while and yet I couldn't find anything. How do I draw a graph with Graphviz that has no vertices connected to it?
Upvotes: 5
Views: 1275
Reputation: 56566
Like this:
digraph g {
SingleNode;
}
Simply do not define any edges connecting the node to other nodes (SingleNode -> OtherNode
).
Upvotes: 8