Source code for syside.experimental.viz
1"""
2Submodule for generating SysML visualizations.
3
4Note that this any features in this module are still in very
5early stages and subject to change. Features will be extended
6and more implemented in future versions.
7
8Currently implemented:
9
10- hierarchical nodes and edges
11- binary edges
12- n-ary edges
13- metadata prefixes
14- annotating elements
15- DOT nested and interconnection diagrams
16- edges from ``Types``, e.g. ``Connections``, ``Flows``
17- rendering common ``Type`` declarations, including heritage, and feature values
18
19To be implemented:
20
21- rendering type-specific declarations, e.g. connectors
22- inserting cross-referenced elements
23- inserting and modifying nodes and edges manually
24- more rendered graph types
25- more render targets
26- embedded hyperlinks
27- semantically highlighted SysML text
28- styling
29- layouting
30"""
31
32## Import shim for `syside.experimental.viz`
33
34from _syside.experimental.viz import (
35 ArrowStyle as ArrowStyle,
36 Code as Code,
37 DEFAULT_PRINTER_CONFIG as DEFAULT_PRINTER_CONFIG,
38 Edge as Edge,
39 EdgeID as EdgeID,
40 EdgeStyle as EdgeStyle,
41 Edges as Edges,
42 Escapes as Escapes,
43 Graph as Graph,
44 Label as Label,
45 LineStyle as LineStyle,
46 Metadata as Metadata,
47 MetadataAttribute as MetadataAttribute,
48 Node as Node,
49 NodeID as NodeID,
50 NodePlacement as NodePlacement,
51 NodeShape as NodeShape,
52 NodeStyle as NodeStyle,
53 Nodes as Nodes,
54 SegmentStyle as SegmentStyle,
55 StyleKind as StyleKind,
56 TextAnnotation as TextAnnotation,
57 TransformationContext as TransformationContext,
58 dot as dot,
59 transform_to as transform_to,
60 traverse_hierarchical as traverse_hierarchical,
61 traverse_unordered as traverse_unordered,
62)