Skip to content
Snippets Groups Projects
Commit 242678a2 authored by Maximilian Giller's avatar Maximilian Giller
Browse files

Fixed bug with undefined constants

parent 5a43643c
No related branches found
No related tags found
No related merge requests found
...@@ -403,12 +403,12 @@ export class Graph extends ManagedData { ...@@ -403,12 +403,12 @@ export class Graph extends ManagedData {
} }
if (item.node) { if (item.node) {
return item[Graph.NODE_LABEL]; return item[NODE_LABEL];
} else if (item.link) { } else if (item.link) {
return ( return (
Graph.toStr(item[Graph.LINK_SOURCE]) + Graph.toStr(item[LINK_SOURCE]) +
LINK_NAME_CONNECTOR + LINK_NAME_CONNECTOR +
Graph.toStr(item[Graph.LINK_TARGET]) Graph.toStr(item[LINK_TARGET])
); );
} else { } else {
return "UNDEFINED"; return "UNDEFINED";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment