mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +08:00
remove unused node type
This commit is contained in:
parent
a047b2d36f
commit
833f31ae13
@ -24,7 +24,6 @@ export function getEdgeNodes(graph: any, isExpanded: boolean = true): any {
|
|||||||
text: el.text,
|
text: el.text,
|
||||||
width: isExpanded ? 35 + longestLine * 8 : 180,
|
width: isExpanded ? 35 + longestLine * 8 : 180,
|
||||||
height: isExpanded ? 30 + lines.length * 10 : 50,
|
height: isExpanded ? 30 + lines.length * 10 : 50,
|
||||||
data: { type: "special" },
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
edges.push(el);
|
edges.push(el);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user