Cable Tree View Diagram🔗
The Cable Tree View
diagram visualizes the cable connections between ports.
You can access .cable_tree
on any
pa.PhysicalLink
element.
Cable Tree View of Control Signal
import capellambse
model = capellambse.MelodyModel("tests/data/ContextDiagram.aird")
diag = model.by_uuid("5c55b11b-4911-40fb-9c4c-f1363dad846e").cable_tree
diag.render("svgdiagram").save(pretty=True)
Check out the code🔗
To understand the collection have a look into the
cable_tree
module.