Using the same node name in two places

I want to have a node called, e.g. “meta” which is a place holder for a little DAG that I define somewhere else, kind of like a legend. So the DAG has “meta” as the root, and it is meant to refer to “meta” in the main graph. So I end up with two nodes, in different places, with the same name.

I think this must be a not uncommon scenarion. How do I do that? Thanks!

Sorry, names must be unique. But you can use the label attribute to provide many unique nodes with the same textual label.

graph {


1 Like