Synced
GraphDocument
Section titled “GraphDocument”
- Owns neutral graph records and graph-level canvas metadata.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Core.Graphs
Declaration
Section titled “Declaration”public sealed class Inno.Core.Graphs.GraphDocumentMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | GraphDocument.Constructor | Creates an empty document with stable, read-only collection views. |
| Methods | GraphDocument.AddEdge | Adds an edge while preserving document order. |
| Methods | GraphDocument.AddNode | Adds a node while preserving document order. |
| Methods | GraphDocument.Clone | Creates a deep neutral copy that shares no mutable node, edge, value, or metadata records. |
| Methods | GraphDocument.FindNode | Finds a node by stable identifier. |
| Methods | GraphDocument.RemoveEdge | Removes an edge by stable identifier. |
| Methods | GraphDocument.RemoveMetadata | Removes graph-level metadata by stable key. |
| Methods | GraphDocument.RemoveNode | Removes a node and every edge connected to it. |
| Methods | GraphDocument.ReplaceContents | Atomically replaces all records with deep copies from another neutral document. |
| Methods | GraphDocument.SetMetadata | Creates or replaces graph-level neutral metadata. |
| Properties | GraphDocument.edges | Gets all edge records in stable document order. |
| Properties | GraphDocument.metadata | Gets graph-level neutral metadata such as groups or comments. |
| Properties | GraphDocument.nodes | Gets all node records in stable document order. |