Skip to content

Commit

Permalink
feat: add name attribute to line
Browse files Browse the repository at this point in the history
  • Loading branch information
ad1992 committed Feb 27, 2024
1 parent 31a287b commit 60a484f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/mermaid/src/diagrams/sequence/svgDraw.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@ const drawActorTypeParticipant = async function (elem, actor, conf, isFooter) {
.attr('y1', centerY)
.attr('x2', center)
.attr('y2', 2000)
.attr('class', 'actor-line')
.attr('class', '200')
.attr('class', 'actor-line 200')
.attr('stroke-width', '0.5px')
.attr('stroke', '#999');
.attr('stroke', '#999')
.attr('name', actor.name);

g = boxplusLineGroup.append('g');
actor.actorCnt = actorCnt;
Expand Down Expand Up @@ -425,10 +425,10 @@ const drawActorTypeActor = async function (elem, actor, conf, isFooter) {
.attr('y1', centerY)
.attr('x2', center)
.attr('y2', 2000)
.attr('class', 'actor-line')
.attr('class', '200')
.attr('class', 'actor-line 200')
.attr('stroke-width', '0.5px')
.attr('stroke', '#999');
.attr('stroke', '#999')
.attr('name', actor.name);

actor.actorCnt = actorCnt;
}
Expand Down

0 comments on commit 60a484f

Please sign in to comment.