Skip to content

Commit

Permalink
Merge pull request #5028 from mermaid-js/3952-lexical-ids
Browse files Browse the repository at this point in the history
3952 lexical ids
  • Loading branch information
sidharthv96 committed Nov 9, 2023
2 parents 92f1644 + 07dcb64 commit a177141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/class/classRenderer-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export const addRelations = function (relations: ClassRelation[], g: graphlib.Gr
//Set relationship style and line type
classes: 'relation',
pattern: edge.relation.lineType == 1 ? 'dashed' : 'solid',
id: 'id' + cnt,
id: `id_${edge.id1}_${edge.id2}_${cnt}`,
// Set link type for rendering
arrowhead: edge.type === 'arrow_open' ? 'none' : 'normal',
//Set edge extra labels
Expand Down

0 comments on commit a177141

Please sign in to comment.