aryagraph.layout.auto_method#

aryagraph.layout.auto_method(g: Any) → str[source]#

The method compute() picks for method="auto".

Directed acyclic graphs up to 2000 nodes → "hierarchical"; otherwise up to 3000 nodes → "stress"; larger graphs → "forceatlas2".