How can I help you?
VisioConnections
6 Feb 20261 minute to read
Represents connection data between shapes and connectors.
Stores source/target relationships and port associations.
Properties
connectorId string
ID of the connector shape
sourceId string
ID of the source shape
sourcePortId string
ID of the port on the source shape
targetId string
ID of the target shape
targetPortId string
ID of the port on the target shape
Methods
fromJs
Creates VisioConnections instances from Visio Connect data.
Parses connector-to-shape connections from the XML Connect elements.
| Parameter | Type | Description |
|---|---|---|
| obj |
ConnectsElement | ParsedXmlObject
|
The Visio document object containing Connect elements |
| context | ParsingContext |
Parsing context (unused but maintained for interface compatibility) |
Returns VisioConnections[]