Update src/lib/graph-view.ts
Co-authored-by: qodo-free-for-open-source-projects[bot] <189517486+qodo-free-for-open-source-projects[bot]@users.noreply.github.com>
This commit is contained in:
parent
86a8068584
commit
141ed954bb
1 changed files with 3 additions and 0 deletions
|
|
@ -165,6 +165,9 @@ function applyFocusWorkspaceLayout(nodes: GraphNode[], edges: GraphEdge[], focus
|
|||
if (a.position.x !== b.position.x) {
|
||||
return a.position.x - b.position.x;
|
||||
}
|
||||
if (a.position.x !== b.position.x) {
|
||||
return a.position.x - b.position.x;
|
||||
}
|
||||
return a.position.y - b.position.y;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue