mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 05:49:43 +02:00
Fixed linting error
This commit is contained in:
@@ -56,7 +56,6 @@ const recursiveRender = async (_elem, graph, diagramtype, id, parentCluster) =>
|
|||||||
// We override the `rankdir` variable to allow for the subgraph's direction to override the graphs direction in the subgraph
|
// We override the `rankdir` variable to allow for the subgraph's direction to override the graphs direction in the subgraph
|
||||||
node.graph.setGraph({ ...graph.graph(), rankdir: node.graph.graph().rankdir });
|
node.graph.setGraph({ ...graph.graph(), rankdir: node.graph.graph().rankdir });
|
||||||
|
|
||||||
|
|
||||||
const o = await recursiveRender(nodes, node.graph, diagramtype, id, graph.node(v));
|
const o = await recursiveRender(nodes, node.graph, diagramtype, id, graph.node(v));
|
||||||
const newEl = o.elem;
|
const newEl = o.elem;
|
||||||
updateNodeBounds(node, newEl);
|
updateNodeBounds(node, newEl);
|
||||||
|
Reference in New Issue
Block a user