add props of vertex to node

This commit is contained in:
Michael Maier
2021-11-28 12:12:39 +01:00
parent 0550e4a899
commit 853d62c8d1

View File

@@ -149,6 +149,7 @@ export const addVertices = function (vert, g, svgId) {
width: vertex.type === 'group' ? 500 : undefined, width: vertex.type === 'group' ? 500 : undefined,
dir: vertex.dir, dir: vertex.dir,
type: vertex.type, type: vertex.type,
props: vertex.props,
padding: getConfig().flowchart.padding, padding: getConfig().flowchart.padding,
}); });
@@ -165,6 +166,7 @@ export const addVertices = function (vert, g, svgId) {
width: vertex.type === 'group' ? 500 : undefined, width: vertex.type === 'group' ? 500 : undefined,
type: vertex.type, type: vertex.type,
dir: vertex.dir, dir: vertex.dir,
props: vertex.props,
padding: getConfig().flowchart.padding, padding: getConfig().flowchart.padding,
}); });
}); });