For a graph created in a specialized library like JGraphT, subpath calculations can be made and subgraphs with paths of length up to a maximum value N
can be derived prior to visualizing.
Is there any simple way of doing the same thing, without such calculations, i.e. of pruning all paths of length larger than N
in a graph defined in a Graphviz DOT
script, using only that script and without any limitation on the graph type (e.g., DAG
or other)?
Maybe via the gvpr
tool?