Skip to content

Commit

Permalink
Merge pull request #828 from stanhu/sh-fix-dotted-lines-flowchart
Browse files Browse the repository at this point in the history
Fix dotted lines not appearing in flowcharts when HTML labels disabled
  • Loading branch information
knsv authored Jun 11, 2019
2 parents b951d50 + 9e67de8 commit 836d02d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/diagrams/flowchart/flowRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ export const addEdges = function (edges, g) {
edgeData.label = '<span class="edgeLabel">' + edge.text + '</span>'
} else {
edgeData.labelType = 'text'
edgeData.style = 'stroke: #333; stroke-width: 1.5px;fill:none'
edgeData.label = edge.text.replace(/<br>/g, '\n')
}
} else {
Expand Down

0 comments on commit 836d02d

Please sign in to comment.