Enable support for subgraphs in your graph tool.
Subgraph support lets you use one graph as a node in another graph. Use it to create reusable components and break complex graphs into smaller, more manageable pieces.
Before you can add support for subgraphs, you need to create a graph class. If you haven’t done this yet, follow the instructions in Implement a graph tool.
To add support for subgraphs, add GraphOptions.SupportsSubgraphs in the Graph attribute’s options parameter as follows:
[Graph(AssetExtension, GraphOptions.SupportsSubgraphs)]