Skip to content

Commit b32a4fd

Browse files
committed
display event as dashed line
1 parent 35e4232 commit b32a4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Frontend/src/components/messages/SequenceDiagram/RoutesComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function setMessageTypeRef(el: SVGTextElement, index: number) {
6868
<g v-if="arrow != null">
6969
<!--Main Arrow-->
7070
<g>
71-
<path :d="`M${arrow.fromX} ${arrow.y} h${arrow.width}`" stroke-width="4" stroke="black" />
71+
<path :d="`M${arrow.fromX} ${arrow.y} h${arrow.width}`" stroke-width="3.5" stroke="black" :stroke-dasharray="arrow.type === RoutedMessageType.Event ? '12 8' : undefined" />
7272
<path v-if="arrow.direction === Direction.Right" :d="`M${arrow.fromX + arrow.width} ${arrow.y - 7.5} l10 7.5 -10,7.5z`" fill="black" />
7373
<path v-if="arrow.direction === Direction.Left" :d="`M${arrow.toHandlerCentre + 1} ${arrow.y} l10,-7.5 0,15z`" fill="black" />
7474
</g>

0 commit comments

Comments
 (0)