فهرست منبع

add support for colorization

Aykut Saraç 3 سال پیش
والد
کامیت
b5e823e13d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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({
       nodes.push({
         id: el.id,
         id: el.id,
-        text: text,
+        text: el.text,
         width: 35 + longestLine * 8,
         width: 35 + longestLine * 8,
         height: 30 + lines.length * 10,
         height: 30 + lines.length * 10,
         data: { type: "special" },
         data: { type: "special" },