MatrixTraceability

Labs

class MatrixTraceability

Description

A relationship connecting the matrix’s axes, from one source header.

element is the relationship itself: today a connection or an allocation, usage or definition, so narrow it with isinstance to use either API. source is the header its source end lands on, and targets are the headers its target ends land on, on the other axis, in display order. Every link is strong: the ends land on the headers’ own elements.

A relationship appears once per header its source end lands on, so in an undirected square matrix it can be in Matrix.traceability twice, once per orientation, but at most once in any cell.

Inheritance:

Members defined in MatrixTraceability (3 members)

Attributes

element: syside.Usage | syside.Definition = None
source: syside.experimental.grid.MatrixHeader = None
targets: tuple[syside.experimental.grid.MatrixHeader, ...] = None

Used by