Reputation: 11561
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: 1266
Reputation: 56446
Like this:
digraph g {
SingleNode;
}
Simply do not define any edges connecting the node to other nodes (SingleNode -> OtherNode
).
Upvotes: 8