Fixes after verification, documentation of stateDiagram

This commit is contained in:
Knut Sveidqvist
2019-10-19 14:42:34 +02:00
parent def9bef988
commit dc88e7a2c2
3 changed files with 70 additions and 39 deletions

View File

@@ -101,7 +101,7 @@ export const draw = function(text, id) {
`${conf.padding * -1} ${conf.padding * -1} ` +
(bounds.width * 1.5 + conf.padding * 2) +
' ' +
(bounds.height * 1.5 + conf.padding * 2)
(bounds.height + conf.padding * 5)
);
};
const getLabelWidth = text => {