#1295 Fix for statediagram labels

This commit is contained in:
Knut Sveidqvist
2020-04-25 14:12:35 +02:00
parent a1a7d44fd7
commit b646672d3e
5 changed files with 27 additions and 7 deletions

View File

@@ -155,10 +155,12 @@ const setupDoc = (g, parent, doc, altFlag) => {
setupNode(g, parent, item.state1, altFlag);
setupNode(g, parent, item.state2, altFlag);
const edgeData = {
id: 'edge' + cnt,
arrowhead: 'normal',
arrowType: 'arrow_barb',
style: 'fill:none',
labelStyle: '',
label: item.description,
arrowheadStyle: 'fill: #333',
labelpos: 'c',
labelType: 'text'