With pygraphviz, I can add subgraphs with add_subgraph(list_of_nodes, label='cluster_somename')
. This will create it inside a subgraph block when layout
is called.
Is there a way to nest the subgraphs?
I'm using the dot
layout, I know it can handle and display subclusters if they are nested. But I can't get pygraphviz to output nested clusters.