diff --git a/editor/js/graph.js b/editor/js/graph.js
index 16aaef23718de17e48a05ff74df2cae09fce819a..53a27b5783d851eb8ca21c8730532e68770f9fdf 100644
--- a/editor/js/graph.js
+++ b/editor/js/graph.js
@@ -403,12 +403,12 @@ export class Graph extends ManagedData {
         }
 
         if (item.node) {
-            return item[Graph.NODE_LABEL];
+            return item[NODE_LABEL];
         } else if (item.link) {
             return (
-                Graph.toStr(item[Graph.LINK_SOURCE]) +
+                Graph.toStr(item[LINK_SOURCE]) +
                 LINK_NAME_CONNECTOR +
-                Graph.toStr(item[Graph.LINK_TARGET])
+                Graph.toStr(item[LINK_TARGET])
             );
         } else {
             return "UNDEFINED";