Skip to content

Connection

Jasper Quillweld edited this page Oct 20, 2026 · 1 revision

Connection

A link between two things (connection usage).

Connection is one of the friendly builder classes — the name without a Builder/Usage/Definition suffix. It is a subclass of Builder and produces a *Usage node.

Usage

from sysml2py import Connection

mainLink = Connection('mainLink')
print(mainLink.dump())
connection mainLink;

Definition

from sysml2py import Connection

d = Connection('mainLink', kind='definition')
print(d.dump())
connection def mainLink;

Related

Clone this wiki locally