Change icon path from png to svg

This commit is contained in:
Kazuhito Yokoi
2022-05-05 20:38:55 +09:00
parent 329008bf6d
commit c5af71e0a2
5 changed files with 15 additions and 15 deletions

View File

@@ -69,7 +69,7 @@
outputs:1, // set the number of outputs - 0 to n
color: "#ddd", // set icon color
// set the icon (held in icons dir below where you save the node)
icon: "myicon.png", // saved in icons/myicon.png
icon: "myicon.svg", // saved in icons/myicon.svg
label: function() { // sets the default label contents
return this.name||this.topic||"sample";
},