Is there -- either via a language feature or via a preporcessor -- a possiblity to include external .dot files as subgraphs into another one?
I am working on a relatively big graph, though manually maintained, not generated.
It would be convenient to be able to define some
subgraph01.dot
:
digraph subgraph01 {
/* lot of nodes and edges */
}
subgraph02.dot
:
digraph subgraph02 {
/* lot of nodes and edges */
}
And then do something like graph.dot
:
digraph BigGraph {
import subgraph01;
import subgraph02;
A -> subgraph01.Node1
A -> subgraph02.Node1
subgraph01.Node10 -> subgraph02.Node99
/* etc. */
}
Is there a way?