Fix for classDiagram-v2 support for cardinality

This commit is contained in:
Ashish Jain
2021-08-19 18:48:19 +02:00
parent 0276a67417
commit 5ef2ad5536
2 changed files with 20 additions and 5 deletions

View File

@@ -207,7 +207,7 @@ export const addRelations = function (relations, g) {
edgeData.arrowheadStyle = 'fill: #333';
edgeData.labelpos = 'c';
if (getConfig().flowchart.htmlLabels && false) { // eslint-disable-line
if (getConfig().flowchart.htmlLabels) { // eslint-disable-line
edgeData.labelType = 'html';
edgeData.label = '<span class="edgeLabel">' + edge.text + '</span>';
} else {