11. Complexity AssessmentΒΆ

This notebook demonstrates how to use / view the model complexity badge for a Capella model.

[1]:
from IPython.display import SVG, display
import capellambse
[2]:
path_to_model = "../../../tests/data/melodymodel/5_2/Melody Model Test.aird"
model = capellambse.MelodyModel(path_to_model)
SVG(model.description_badge)
Cannot load PVMT extension: ValueError: Provided model does not have a PropertyValuePkg
Property values are not available in this model
[2]:
../_images/examples_11_Complexity_Assessment_2_1.svg