1295 Support for subgraphs with wide labels

This commit is contained in:
Knut Sveidqvist
2020-03-11 19:52:57 +01:00
parent 1b64af143e
commit 7bd5529bb7
6 changed files with 156 additions and 8 deletions

View File

@@ -140,6 +140,8 @@ export const addVertices = function(vert, g, svgId) {
class: classStr,
style: styles.style,
id: vertex.id,
width: vertex.type === 'group' ? 500 : undefined,
type: vertex.type,
padding: getConfig().flowchart.padding
});
});