mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
fix: classrenderer v2 using in op
This commit is contained in:
parent
e2ca8e820e
commit
58af76384a
@ -187,7 +187,7 @@ export const addNotes = function (
|
|||||||
g.setNode(vertex.id, node);
|
g.setNode(vertex.id, node);
|
||||||
log.info('setNode', node);
|
log.info('setNode', node);
|
||||||
|
|
||||||
if (!vertex.class || !(vertex.class in classes)) {
|
if (!vertex.class || !classes.has(vertex.class)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const edgeId = startEdgeId + i;
|
const edgeId = startEdgeId + i;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user