Skip to content

Commit

Permalink
fix(diagram): Add missing end markers and fix ref point
Browse files Browse the repository at this point in the history
The arrow end-marker wasn't centered. The .25 correction achieves that.
  • Loading branch information
ewuerger committed Oct 16, 2023
1 parent 20464ec commit f32f27f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions capellambse/diagram/capstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,12 @@ class in the form::
"Edge.Aggregation": {
"stroke": COLORS["_CAP_Association_Color"],
"marker-start": "DiamondMark",
"marker-end": "FineArrowMark",
},
"Edge.Composition": {
"stroke": COLORS["_CAP_Association_Color"],
"marker-start": "FilledDiamondMark",
"marker-end": "FineArrowMark",
},
"Edge.ExchangeItemElement": { # DT_ExchangeItemElement
"stroke": COLORS["black"],
Expand Down
2 changes: 1 addition & 1 deletion capellambse/svg/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def fine_arrow_mark(
id_: str = "FineArrow", *, style: style_.Styling, **kw
) -> container.Marker:
return _make_marker(
(7, 3.5),
(7, 3.75),
(7.5, 7.5),
id_=id_,
d=(
Expand Down

0 comments on commit f32f27f

Please sign in to comment.