Skip to content

New incarnation of library #12

@timjs

Description

@timjs

Hi @Kwarrtz,

In search of drawing functionality for Elm, I encountered your excellent library. Because I read you're not planning to support it any more, and I needed automatic positioning functions like the Haskell Diagrams library provides, I created a fork and started experimenting. You can find the result on the Elm package site.

I'm planning to support and extend the library in the time to come. If you'll have some time, I very much appreciate your opinion on the changes I made: naming, functionality, usage etc. Please feel free to contact me or open an issue on the GitHub repository!

The most notable changes are as follows:

  • The coordinate system is again in the middle of the canvas, x pointing right, y pointing up, as in your first version. I'm curious to the reason you decided to change this in version 2.0.
  • Form is renamed to Collage.
  • There is a module with a whole bunch of layout functions for automatic positioning, loosely based on @vilterp's outdated Elm diagrams library.
  • Different way of handling line styles (solid, dot, dash, etc.)
  • Extended functionality for text in a separate module.
  • Events in a separate module.

I hope you'll find some time to give some feedback!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions