Skip to content

Commit

Permalink
fix(realization-view): Fix broken styleclass for edges
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Jun 11, 2024
1 parent 79a426f commit 36b4d75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions capellambse_context_diagrams/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,12 +540,11 @@ def _create_diagram(self, params: dict[str, t.Any]) -> cdiagram.Diagram:
for edge in edges:
layout.children.append(
_elkjs.ELKOutputEdge(
id=edge.id,
id=f"__Realization:{edge.id}",
type="edge",
sourceId=edge.sources[0],
targetId=edge.targets[0],
routingPoints=[],
styleclass="Realization",
)
)
self._add_layer_labels(layout)
Expand Down

0 comments on commit 36b4d75

Please sign in to comment.