Skip to content

Commit

Permalink
ignore edges
Browse files Browse the repository at this point in the history
  • Loading branch information
fechan committed Jun 1, 2024
1 parent 6111b10 commit 9f17d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/Layouting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function getLayoutedElements(nodes: Node[], edges: Edge[], factory:
const graph: ElkNode = {
id: "root",
layoutOptions: elkOptions,
edges: edges.map(edge => ({ ...edge, sources: [edge.source], targets: [edge.target]})),
//edges: edges.map(edge => ({ ...edge, sources: [edge.source], targets: [edge.target]})),
children: [],
}

Expand Down

0 comments on commit 9f17d3c

Please sign in to comment.