We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
insertNode
1 parent a381ab6 commit 143806bCopy full SHA for 143806b
packages/mermaid/src/diagrams/kanban/kanbanRenderer.ts
@@ -63,7 +63,7 @@ export const draw: DrawDefinition = async (text, id, _version, diagObj) => {
63
item.x = section.x;
64
item.width = WIDTH - 1.5 * padding;
65
const nodeEl = await insertNode(nodesElem, item, { config: conf });
66
- const bbox = nodeEl.node().getBBox();
+ const bbox = nodeEl.node()!.getBBox();
67
item.y = y + bbox.height / 2;
68
await positionNode(item);
69
y = item.y + bbox.height / 2 + padding / 2;
0 commit comments