IDiagram interface
Namespace: NextDesign.Core
Description
An access object to the diagram editor information. If the EditorType of IEditor is "ERDiagram" or "TreeDiagram", you can access the information specific to the diagram editor by casting to this interface type.
Affiliation area
| Name | Description |
|---|---|
| Editor | APIs to access the editor. |
Inherit Base
| Name | Description |
|---|---|
| IEditor | Access object for editor information. |
Property
| Name | Description |
|---|---|
| Connectors | Connector Shape List |
| Nodes | Node Shape List |
| Shapes | Shape List |
Method
| Name | Description |
|---|---|
| GetChildNodes | Gets the child nodes of the specified node. Returns an empty collection if the corresponding node does not exist. |
| GetConnectorByNode | Gets the connector connected to the specified node. Returns an empty collection if no such connector exists. |
| GetSelectedShapes | Gets the shape selected in the editor. Returns an empty collection if the selected shape does not exist. |
| GetShapeById | Gets the shape of the specified identifier. Returns null if the shape of the corresponding identifier does not exist. |
| GetShapesByModel | Gets the shape that corresponds to the specified model. Returns an empty collection if the corresponding shape does not exist. |
| Relocate() | Relocate all nodes. |
| Relocate(IEnumerable <INode>) | Relocate the specified node. |
| Reroute(bool, IEnumerable <IConnector>) | Recalculates the route of the specified connector. This process can be time consuming. If the target of the route calculation includes an orthogonal polygonal line, it may be possible to speed up the calculation process by specifying "false" in the argument "avoidOverlap". |
| Reroute(bool) | Recalculate the routes for all connectors on this diagram. This process can be time consuming. If the target of the route calculation includes an orthogonal polygonal line, it may be possible to speed up the calculation process by specifying "false" in the argument "avoidOverlap". |