问题
I am looking for an r package for graphs / networks which can deal with nested subgraphs. Graphviz does this but only provides for visualisation - I want classes or some way of representing the data structures themselves. igraph has subgraphs but they can't be nested as far as I can see.

To clarify, I already use DiagrammeR and Rgraphviz for drawing networks - but I want to analyse and manipulate e.g., say,
(pseudocode)
newnet = oldnet + myAddedNode
to add a node to oldnet in order to make a new network called newnet.
来源:https://stackoverflow.com/questions/29736324/r-package-for-graphs-with-nested-subgraphs