Code Monkey home page Code Monkey logo

elm-tree-diagram's People

Contributors

adrianroe avatar brenden avatar lorenzo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

elm-tree-diagram's Issues

Elm 0.18.0

There are no versions of vilterp/elm-diagrams that work with Elm 0.18.0.
Maybe the maintainer has not updated it yet.

Library forces trees to be translated to library's internal type

First of all, thanks for the library, it's really useful.
This is not an issue, but a suggestion for improvement.

Right now the library forces the user to translate whatever tree they have into a TreeDiagram.Tree.

The library could do entirely without a Tree type or the node function.
The drawing function would need an additional parameter, a function that given a generic object type returns the list of its children: getChildren: node -> List node.

Setting our own attributes for generated svg tag

Hi, thanks for the great package.

I was wondering if there was any way to add some attributes to the <svg> that gets generated by your package. I mean, something like a list of attributes that would be added to the draw function (or maybe just a drawWithAttributes or something).
This would allow to set for a global zoom attribute for instance (meaning the user could zoom out).

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.