Technologicat / pyan

Static call graph generator. The official Python 3 version. Development repo.
GNU General Public License v2.0
329 stars 57 forks source link

Use bidirectional edges where possible #21

Open Technologicat opened 4 years ago

Technologicat commented 4 years ago

If A -> B and B -> A (where A, B are nodes), use graphviz's concentrate=true option to create a bidirectional edge instead of two unidirectional edges. See example.

This could reduce clutter in the resulting visualization, especially for modvis, where bidirectional implicit dependencies on a package's __init__ module are common.