collectors
Functionality for collection of model data from an instance of
MelodyModel
and conversion of it into
_elkjs.ELKInputData
.
get_elkdata 🔗
get_elkdata(diagram: context.ContextDiagram, params: dict[str, t.Any] | None = None) -> _elkjs.ELKInputData
High level collector function to collect needed data for ELK.
PARAMETER | DESCRIPTION |
---|---|
diagram
|
The
TYPE:
|
params
|
Optional render params dictionary.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
elkdata
|
The data that can be fed into elkjs. |
Source code in capellambse_context_diagrams/collectors/__init__.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
|