ErSubgraph Class
A group of entities of an entity relationship diagram, drawn as a frame with a title. Its ErElement.Label is its title.
public sealed class ErSubgraph : ErElement- Inheritance
ErElementErSubgraph
Constructors
| Name | Description |
|---|---|
| ErSubgraph(string, DiagramText?) | Initializes a new instance of the ErSubgraph class. |
ErSubgraph(string, DiagramText?)
ErSubgraph.csInitializes a new instance of the ErSubgraph class.
public ErSubgraph(string id, DiagramText? title = null)Parameters
idstring- The identifier, unique in the diagram.
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 diagram. It applies only when no relationship links an entity of the subgraph to an element outside of it. |
| Entities | Gets the entities of the subgraph. An entity of several subgraphs belongs to the innermost one. |
| Subgraphs | Gets the subgraphs nested in this one. |
Direction
ErSubgraph.csGets or sets the direction of the content of the subgraph, or null for the direction of the diagram. It applies only when no relationship links an entity of the subgraph to an element outside of it.
public DiagramDirection? Direction { get; set; }Property value
Entities
ErSubgraph.csGets the entities of the subgraph. An entity of several subgraphs belongs to the innermost one.