goyalarchit / graph-extra / Graph.Tree.Extra

This module implements additional convenience functions to work with the elm-community/graph.tree

Note: please open a issue on github if you find any:

  1. Any bugs in implementation
  2. Request for adding a new convenience function to the package.

API

toGraph : Graph.Tree.Tree label -> Graph label ()

This function takes a elm-community/Graph.Tree tree, converts the Tree into a elm-community/Graph Graph, which can then easily visualised using the Render module present in goyalarchit/elm-dagre