Vixen
02b45cc4
csharp
public record class SubGraphExtraction

What lifting some nodes out into a sub-graph would do.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (6)

  • public NodeGraphModel Graph

    The new graph, with its interface and its entry and exit nodes.

  • public ImmutableArray<NodeId> Extracted

    Which nodes moved, in the order the graph held them.

  • public ImmutableArray<GraphEdge> Incoming

    The edges that arrived from outside, which became the graph's inputs.

  • public ImmutableArray<GraphEdge> Outgoing

    The edges that left for outside, which became its outputs.

  • public IReadOnlyDictionary<PortRef, string> Inputs

    Which interface input each external output now feeds.

  • public IReadOnlyDictionary<PortRef, string> Outputs

    Which interface output each internal output now leaves by.

Methods (1)

  • public SubGraphExtraction(NodeGraphModel Graph, ImmutableArray<NodeId> Extracted, ImmutableArray<GraphEdge> Incoming, ImmutableArray<GraphEdge> Outgoing, IReadOnlyDictionary<PortRef, string> Inputs, IReadOnlyDictionary<PortRef, string> Outputs)

    What lifting some nodes out into a sub-graph would do.

Used by (5)

  • CommandTestsVixen.Editor.NodeGraph.Tests
  • ExtractSubGraphCommandVixen.Editor.NodeGraph
  • NodeGraphViewVixen.Editor.NodeGraph
  • SubGraphTestsVixen.Editor.NodeGraph.Tests
  • SubGraphsVixen.Editor.NodeGraph