Dagre is a third-party graph layouting library, which is used by the graph visualizer of Chrome DevTools/web_audio
. It implements several research papers about layouting graph.
Dagre is used by both DevTools/web_audio
and DevTools/web_audio_worker
. Therefore, it seems better to be a module that can be used as a dependency. For example, web_audio
constructs dagre.graphlib.Graph
and sends to web_audio_worker
, which is a Web Worker that runs dagre.layout()
.
dagre.js
.