Provides access to members that control the graphic diagram.
A diagram is a structure that is an implementation of a diagram type. A network, made up of nodes and links, is displayed in a diagram. One or more diagrams of a diagram type can exist in a project. Various schematic layout algorithms can represent the same network. Each schematic representation of a network is displayed in its own diagram. For instance, a network displayed as both an orthogonal schematic and a hierarchical schematic will be displayed in two different diagrams. A diagram cannot exist without a view, and it can create many views. All views of a diagram will display the same network in the same geographic or schematic position, with each view differing only in its zoom level or symbol size. An element selected in one view will be selected in all open views created from the same diagram.
| Description | ||
|---|---|---|
![]() |
CanRedoLastUndo | Indicates if the last operation that impacted the diagram can be redone. |
![]() |
CanUndoLastOperation | Indicates if the last operation that impacted the diagram can be undone. |
![]() |
Close | Closes the diagram and all its views. |
![]() |
CreateDrawing | Creates the drawing implemented by the 'eltType' type and named 'eltName' at the ('x','y') location in the diagram. |
![]() |
CreateLink | Creates the link implemented by the 'eltType' element type and named 'eltName' between the 'fromNode' and 'toNode' nodes in the diagram. |
![]() |
CreateNode | Creates the node implemented by the 'eltType' element type and named 'eltName' at the ('x','y') location in the diagram. |
![]() |
CreateNodeOnLink | Creates the node-on-link implemented by the 'eltType' type and named 'eltName' at the 'Position' location on the 'refLink' link in the diagram. |
![]() |
CreateSubLink | Creates the sub-link implemented by the 'eltType' element type and named 'eltName' on the 'refLink' link between the 'fromNode' and 'toNode' nodes in the diagram. |
![]() |
DeleteSavedLayout | Removes the backup version of the diagram. |
![]() |
DiagramType | Diagram type that implements the diagram. |
![]() |
Elements | List of the elements contained in the diagram. |
![]() |
GetAttributeValue | Returns the value of the attribute named 'attributeName' defined for the diagram. |
![]() |
GetDrawing | Returns the drawing named 'drawingName' contained in the diagram. |
![]() |
GetElementsByElementType | Returns the list of all elements implemented by the the 'eltType' element type that are contained in the diagram. |
![]() |
GetElementsByType | Returns a list of all the elements belonging to the 'Type' type that are contained in the diagram. |
![]() |
GetElementsByUserData | Returns all the elements contained in the diagram that are implemented by the 'eltType' element type and which each associated user-data in the 'userDatas' list verifies the 'values' list corresponding values. |
![]() |
GetLink | Returns the link named 'linkName' contained in the diagram. |
![]() |
GetLinksBetweenNodes | Returns a list of all the links that connect the two nodes 'n1' and 'n2' in the diagram. |
![]() |
GetNextRedoLabel | Returns the label of the next operation in the redo stack. |
![]() |
GetNextUndoLabel | Returns the label of the next operation in the undo stack. |
![]() |
GetNode | Returns the node named 'nodeName' contained in the diagram. |
![]() |
IsLayoutSaved | Indicates if there is a backup version for the diagram. |
![]() |
IsModified | Indicates if the diagram has been modified regarding to its saving version. |
![]() |
MoveElements | Moves the 'Elements' set of elements contained in the diagram to the (X,Y) relative position. |
![]() |
Name | Name of the diagram. |
![]() |
NewView | Creates a new view associated with the active view comprising all the elements contained in the latter. |
![]() |
Open | Opens the diagram. |
![]() |
OpenFromStream | Loads the diagram from the specified stream. |
![]() |
RedoLastUndo | Redoes the last undone operation in the diagram. |
![]() |
Redraw | Redraws the elements contained in the diagram's view(s) according to the 'mode' redrawing option. |
![]() |
Refresh | Updates all the views associated with the diagram, reflecting the modifications that may have occurred in the database. |
![]() |
RefreshLegend | Updates the legend content for all the views associated with the diagram so it reflects the modifications that may have occurred in the database. |
![]() |
RestoreInitialPosition | Restores the elements contained in the diagram to their initially defined positions. |
![]() |
Save | Saves the diagram and records positions for all the elements contained in the different views of the diagram. |
![]() |
SaveMode | Saving option for the diagram. |
![]() |
SaveToStream | Saves the diagram to the specified stream. |
![]() |
SetModified | Forces the value returned by the 'IsModified' function. |
![]() |
StartOperation | Starts a new operation that will impact the diagram. |
![]() |
StopOperation | Stop the current started operation that impacted the diagram. |
![]() |
UndoLastOperation | Undoes the last operation that impacted the diagram. |
![]() |
Views | List of the views associated with the diagram. |
| CoClasses and Classes | Description |
|---|---|
| NgDiagram | Graphic diagram object. |
INgDiagramType Interface | ISchematicDiagram Interface