Print graphs that ignores certain nodes

Nodes with no module attached (splits) and nodes with certain
modules (e.g. Identity) are ignored. The corresponding edges are
re-routed.