FlowchartSubgraph Class
A group of nodes of a flowchart, drawn as a frame with a title. Its FlowchartElement.Label is its title.
public sealed class FlowchartSubgraph : FlowchartElement- Inheritance
FlowchartElementFlowchartSubgraph
Constructors
| Name | Description |
|---|---|
| FlowchartSubgraph(string, DiagramText?) | Initializes a new instance of the FlowchartSubgraph class. |
FlowchartSubgraph(string, DiagramText?)
FlowchartSubgraph.csInitializes a new instance of the FlowchartSubgraph class.
public FlowchartSubgraph(string id, DiagramText? title = null)Parameters
idstring- The identifier of the subgraph, unique in the flowchart.
titleDiagramText?- The title, or
nullto show the identifier.
Properties
| Name | Description |
|---|---|
| Direction | Gets or sets the direction of the content of the subgraph, or null for the direction of the flowchart. As in Mermaid, it applies only when no edge links a node of the subgraph to a node outside of it. |
| Nodes | Gets the nodes of the subgraph. A node of several subgraphs belongs to the innermost one. |
| Subgraphs | Gets the subgraphs nested in this one. |
Direction
FlowchartSubgraph.csGets or sets the direction of the content of the subgraph, or null for the direction of the flowchart. As in Mermaid, it applies only when no edge links a node of the subgraph to a node outside of it.
public DiagramDirection? Direction { get; set; }Property value
Nodes
FlowchartSubgraph.csGets the nodes of the subgraph. A node of several subgraphs belongs to the innermost one.
public IList<FlowchartNode> Nodes { get; }Property value
Subgraphs
FlowchartSubgraph.csGets the subgraphs nested in this one.
public IList<FlowchartSubgraph> Subgraphs { get; }