Skip to content

Directed graph for representing relationships between components

License

Notifications You must be signed in to change notification settings

flarebyte/bubblegum-graph

Repository files navigation

Directed graph for UI components

Build Status

This library provides a directed acyclic graph for representing relationships between UI components.

This is an experimental implementation which attempts to expose a graph as a list of paths, similar in concept to xpath. In other words, the graph is converted to a flat list to make processing easier.

This library has been implemented with the idea of of been used for the Bubblegum UI library. However, it should be possible to use it for other purposes.

If you are looking for a general purpose Graph library, I would recommend the elm-community/graph one instead.

Limits:

  • No more than 1000 nodes or edges.
  • Only one edge with the same source and destination.
  • The graph should not have any cycles (loops).

Getting Started

Installing Elm packages

There is no dependency.

elm-app package install flarebyte/bubblegum-graph

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

Managed automatically by Elm version rules.

Authors

  • Olivier Huin - Initial work - olih

See also the list of contributors who participated in this project.

License

This project is licensed under the BSD 3-Clause License - see the LICENSE.md file for details

About

Directed graph for representing relationships between components

Resources

License

Stars

Watchers

Forks

Packages

No packages published