質問

NetworkX(Python Graph-drawing package)を使用しています http://networkx.lanl.gov/index.html

役に立ちましたか?

解決

Determining a planar graph layout which minimizes the number of crossings is NP-Hard. See the wiki page on Crossing Number.

You could try some heuristics, force based layout are quite popular I believe (graphviz uses them, if I recollect correctly).

You could also try some approximation algorithms, you should find references on the wiki page I linked.

Hope that helps.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top