#1146 Fix for dashed line (Dependency) support for classDiagram

This commit is contained in:
Ashish Jain 2020-01-02 19:25:31 +01:00
parent 7bd1408de0
commit b14c768fa2
1 changed files with 3 additions and 0 deletions

View File

@ -183,6 +183,9 @@ const drawEdge = function(elem, path, relation) {
url = url.replace(/\)/g, '\\)');
}
if (relation.relation.lineType == 1) {
svgPath.attr('class', 'relation dashed-line');
}
if (relation.relation.type1 !== 'none') {
svgPath.attr(
'marker-start',