goyalarchit/graph-extra/1.0.0

NOTE: the latest version is 1.0.1

Rerouted (regenerated, verified). Same repository and tag, but GitHub now builds the zip with different bytes, so it no longer matches the SHA-1 package.elm-lang.org recorded. The Lamdera package server serves a copy recovered from https://github.com/goyalarchit/graph-extra.

What we checked: Rebuilt with git archive from commit b34f560db75d of https://github.com/goyalarchit/graph-extra (zip prefix goyalarchit-graph-extra-b34f560/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 6563e8b87916dacf0ec4c5bc9ecfe8a209cabb8b.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/goyalarchit/graph-extra/zipball/1.0.0/

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 : 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