Explorar o código

add support for colorization

Aykut Saraç %!s(int64=3) %!d(string=hai) anos
pai
achega
b5e823e13d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/containers/LiveEditor/helpers.ts

+ 1 - 1
src/containers/LiveEditor/helpers.ts

@@ -21,7 +21,7 @@ export function getEdgeNodes(graph: any): any {
 
       nodes.push({
         id: el.id,
-        text: text,
+        text: el.text,
         width: 35 + longestLine * 8,
         height: 30 + lines.length * 10,
         data: { type: "special" },