clean-without longbranches

This commit is contained in:
STEINNI
2026-01-21 14:45:10 +00:00
parent 0563bdd9ee
commit 358a401cf6

View File

@@ -459,19 +459,6 @@ class BZgraflow extends Buildoz{
return backEdges return backEdges
} }
findCrossLayerLinks(links) {
const { parents } = this.buildGraphStructures(this.flow.nodes, links)
const layers = this.computeLayers(this.flow.nodes, parents)
const crossLayerLinks = []
for(const link of links){
const from = link.from[0]
const to = link.to[0]
if(layers[from] !== layers[to]) {
crossLayerLinks.push(link)
}
}
return crossLayerLinks
}
} }
Buildoz.define('graflow', BZgraflow) Buildoz.define('graflow', BZgraflow)