fix: classrenderer v2 using in op

This commit is contained in:
Yash Singh 2024-05-03 21:19:52 -07:00
parent e2ca8e820e
commit 58af76384a

View File

@ -187,7 +187,7 @@ export const addNotes = function (
g.setNode(vertex.id, node);
log.info('setNode', node);
if (!vertex.class || !(vertex.class in classes)) {
if (!vertex.class || !classes.has(vertex.class)) {
return;
}
const edgeId = startEdgeId + i;