mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
fix: class diagram notes plss
This commit is contained in:
parent
6f1a553234
commit
1cbd730b8d
@ -216,7 +216,7 @@ export const draw = function (text, id, _version, diagObj) {
|
|||||||
// metadata about the node. In this case we're going to add labels to each of
|
// metadata about the node. In this case we're going to add labels to each of
|
||||||
// our nodes.
|
// our nodes.
|
||||||
g.setNode(node.id, node);
|
g.setNode(node.id, node);
|
||||||
if (note.class && note.class in classes) {
|
if (note.class && classes.has(note.class)) {
|
||||||
g.setEdge(
|
g.setEdge(
|
||||||
note.id,
|
note.id,
|
||||||
getGraphId(note.class),
|
getGraphId(note.class),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user