mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-21 17:26:45 +02:00
Removed unnecessary function
Removed unnecessary function to pass test coverage CI
This commit is contained in:
@@ -55,9 +55,7 @@ const recursiveRender = async (_elem, graph, diagramtype, id, parentCluster, sit
|
||||
// const children = graph.children(v);
|
||||
log.info('Cluster identified', v, node.width, graph.node(v));
|
||||
// node.graph.setGraph applies the graph configurations such as nodeSpacing to subgraphs as without this the default values would be used
|
||||
node.graph.setGraph(graph.graph()).setDefaultEdgeLabel(function () {
|
||||
return {};
|
||||
});
|
||||
node.graph.setGraph(graph.graph());
|
||||
const o = await recursiveRender(
|
||||
nodes,
|
||||
node.graph,
|
||||
|
Reference in New Issue
Block a user