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
1 changed files with 2 additions and 0 deletions

View File

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