Skip to content

Commit

Permalink
Fix line styling (dashed / thick) when not using HTML labels option
Browse files Browse the repository at this point in the history
  • Loading branch information
jsyang committed Apr 24, 2019
1 parent b2c833b commit fa9cf2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diagrams/flowchart/flowRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ 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.style = 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 fa9cf2b

Please sign in to comment.