viz Labs

Submodule for generating SysML visualizations.

Note that this any features in this module are still in very early stages and subject to change. Features will be extended and more implemented in future versions.

Currently implemented:

  • hierarchical nodes and edges

  • binary edges

  • metadata prefixes

  • annotating elements

  • DOT nested and interconnection diagrams

To be implemented:

  • n-ary edges, e.g. Dependencies

  • edges from Types, e.g. Connections, Flows

  • rendering Type declarations, including heritage, and feature values

  • inserting cross-referenced elements

  • inserting and modifying nodes and edges manually

  • more rendered graph types

  • more render targets

  • embedded hyperlinks

  • semantically highlighted SysML text

  • styling

  • layouting

Index

Submodules

dot

Labs

Submodule for rendering DOT graphs.

Classes

Graph

Data structure for SysML graphs.

TransformationContext

Reusable context for transforming SysML models into graphs.

Functions

transform_to

Insert model rooted at root to graph. Note that edges between different root subtrees may not be created.


󰊕 Functions

transform_to(graph: syside.experimental.viz.Graph, root: syside.Namespace, *, context: syside.experimental.viz.TransformationContext | None = None) None

Insert model rooted at root to graph. Note that edges between different root subtrees may not be created.

If calling this repeatedly, prefer passing in a context to improve performance.