remove console.log
This commit is contained in:
parent
56fce07318
commit
e97a600ca3
1 changed files with 0 additions and 1 deletions
|
|
@ -506,7 +506,6 @@ export function validateSelection(
|
||||||
// first creates a set of all the nodes ids
|
// first creates a set of all the nodes ids
|
||||||
let nodesSet = new Set(selection.nodes.map((n) => n.id));
|
let nodesSet = new Set(selection.nodes.map((n) => n.id));
|
||||||
// then filter the edges that are connected to the nodes in the set
|
// then filter the edges that are connected to the nodes in the set
|
||||||
console.log(nodesSet)
|
|
||||||
let connectedEdges = selection.edges.filter(
|
let connectedEdges = selection.edges.filter(
|
||||||
(e) => nodesSet.has(e.source) && nodesSet.has(e.target)
|
(e) => nodesSet.has(e.source) && nodesSet.has(e.target)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue