mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
#1146 Fix for dashed line (Dependency) support for classDiagram
This commit is contained in:
parent
7bd1408de0
commit
b14c768fa2
@ -183,6 +183,9 @@ const drawEdge = function(elem, path, relation) {
|
|||||||
url = url.replace(/\)/g, '\\)');
|
url = url.replace(/\)/g, '\\)');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (relation.relation.lineType == 1) {
|
||||||
|
svgPath.attr('class', 'relation dashed-line');
|
||||||
|
}
|
||||||
if (relation.relation.type1 !== 'none') {
|
if (relation.relation.type1 !== 'none') {
|
||||||
svgPath.attr(
|
svgPath.attr(
|
||||||
'marker-start',
|
'marker-start',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user