mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-08 00:29:39 +02:00
merge from upstream mermaid
This commit is contained in:
@@ -373,7 +373,7 @@ let clusterElems = new Map();
|
||||
export const insertCluster = async (elem, node) => {
|
||||
const shape = node.shape || 'rect';
|
||||
const cluster = await shapes[shape](elem, node);
|
||||
clusterElems[node.id] = cluster;
|
||||
clusterElems.set(node.id, cluster);
|
||||
return cluster;
|
||||
};
|
||||
export const getClusterTitleWidth = (elem, node) => {
|
||||
|
Reference in New Issue
Block a user