Node - modelint/flatland-model-diagram-editor GitHub Wiki

On Diagrams, model entity semantics such as states, classes, subsystems and so forth can be symbolically represented as polygonal or rounded shapes. These shapes can then be connected together with lines representing model relationship semantics. A Node represents the placement of a shape symbol at a specific location (Cell) on a Diagram.

Every Node, regardless of its specific shape as determined by its Node Type, is considered to be roughly or completely rectangular. This means that every Node has four faces, top, bottom, left and right where one or more Connectors may attach.

Identifiers

  1. ID

Attributes

ID

Each Node is numbered uniquely on its Diagram.

Type: Node ID, based on Nominal

Size (derived)

The height and width of the Node. This height is derived from the combined heights of its visible Compartments. The width is determined as a result of computing the required width of all of the visible Compartments.

Type: Rect Size

Location

The lower left corner of the Node relative to the Diagram.

Type: Diagram Coordinates