Janiczek / elm-graph

A graph data structure with a nice API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow converting our Graph to elm-community/graph or rename modules to prevent collision

Janiczek opened this issue · comments

Right now it's not possible to use both Janiczek/elm-graph and elm-community/graph in the same project, because the module names collide.

There are libraries that expect elm-community/graph Graph as one of their arguments, eg. https://package.elm-lang.org/packages/goyalarchit/elm-dagre/1.0.0/ and https://ellie-app.com/fTQRxcj4sdPa1

This makes it impossible to make them work with our Graph.

A solution is likely to rename the Graph module (prefix it with something etc.)