Open mikeclayton opened 5 years ago
I do not think the behavior is documented somewhere. As I am seeing from the code at some stage of the layout method "Rectangle PackGraphs(IEnumerable
Hi,
Thanks for the quick response, and no worries about getting a fix out - I might try replacing the nested [nic [ipcfg] ]
subgraph with just two flattened nodes (e.g. [nic] -> [ipcfg]
) as a workaround to see if that lays out a bit better without breaking the feel of the diagram.
In any case, at least I know it's not just because I'm doing something wrong, so I can stop looking now :-).
Cheers,
Mike
Hi,
I've just started using this library today, so apologies in advance if this is an RTFM-type question, but when using nested subgraphs, I can't seem to get the nodes to appear in a "topological" (I think it's called) order from top to bottom.
For example, this code:
generates this image:
but, I'd like the "vnet" and "subnet" nodes to be above the "nic" subgraph (not necessarily aligned directly above, just higher up vertically in the chart).
I thought maybe doing something like this would help:
but that doesn't seem to make any difference.
Am I missing something obvious? Or could you give some pointers on how to force the "top-to-bottom layout so that all "source" nodes are higher than their "target" nodes (assuming there's no cycles in the graph)?
Thanks,
Mike