calligraphy-0.1.1: HIE-based Haskell call graph and source code visualizer
Safe HaskellNone
LanguageHaskell2010

Calligraphy.Phases.Collapse

Description

This modules manages the two ways we remove nodes from a graph; collapsing and hiding.

Collapsing means folding a node's descendants into itself, merging all incoming and outcoming edges.

Hiding means removing a node (and its descendants), moving the edges into the node's parent, if a parent exist.

Since these are essentially the same thing from different perspectives, they are handled by the same module.

Documentation