Single-node subgraphs

I'm using graphviz to visualize graphs for genome assembly. The graph produced is enormous, and at the moment I'm not interested in the nodes that form their own subgraphs. How can I print only subgraphs that contain more than one node?

The simplest way is to filter

The simplest way is to filter out singleton nodes:

   gvpr -c 'N[degree==0]{delete($G,$)}' yourgraph.gv | dot ...

Thank you!

Thank you!

Recent comments