mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-20 04:34:08 +01:00
add props of vertex to node
This commit is contained in:
@@ -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,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user