How do you split a file with multiple DOT graphs into multiple DOT files with gvpr?
gvpr
Input (1 file):
# single.dot digraph one { a -> b; } digraph two { c -> d; }
Output (1 graph per file):
# one.dot digraph one { a -> b; } # two.dot digraph two { c -> d; }
BEG_G { fname = sprintf("%s.dot",$G.name); writeG($G, fname); }