Files
pandoc/tools/cliptree.gvpr
T
John MacFarlane 20f82b0a8b Makefile target to get module dependeny subgraphs.
E.g. what depends on Text.Pandoc.Parsing?

    make modules.pdf ROOTNODE=T.P.Parsing

This is helpful for figuring out what we can split out as separate
packages.
2022-10-01 12:34:27 -07:00

18 lines
328 B
Plaintext

/* Construct subgraph reachable from node ARGV[0] by forward edges */
BEG_G {
node_t r = node($,ARGV[0]);
$tvroot = r;
$tvtype = TV_fwd;
//print ("// Staring node: ", r.name);
}
N{
print ("// subgraph node: ", $.name);
$tvroot=NULL;
subnode($T,$);
}
E{
print ("// subgraph edge: ", $.name);
subedge($T,$);
}