Hi, I'm evaluating elm to rewrite an SVG diagram-drawing component inside an SPA.
1. Is someone working on an higher-level SVG library than elm-lang/svg ? Im thinking about support for path intersection, bounding box operations, etc. 2. Is there some progress on a solution to read DOM geometry, in this case geometry of SVG elements? I'm using the suggestions from this post <https://groups.google.com/forum/#!searchin/elm-discuss/DOM$20geometry%7Csort:relevance/elm-discuss/aq8NieNV_ek/2Zv--lHOAAAJ> but it's not so satisfactory. The use case is as follows: - user clicks a random selection of SVG elements to group them - the elements are put inside a <g> from within the view function - user interacts with this group (e.g. pan/translate) and the update function wants to know the bounding box of the <g> Currently the solution seems to be 1) compute the bounding box manually inside the update function whenever the selection <g> is modified, 2) keep the bounding box data in the model and 3) use the bounding box from the model when the update function performs other operations on the model (e.g. detect if a click is inside). Cheers -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
