mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
1295 Support for subgraphs with wide labels
This commit is contained in:
@@ -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
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user