{"id":15059331,"url":"https://github.com/lancelet/techdraw","last_synced_at":"2026-01-03T11:15:56.789Z","repository":{"id":252910178,"uuid":"841879922","full_name":"lancelet/techdraw","owner":"lancelet","description":"Technical drawing with SVG in Elm","archived":false,"fork":false,"pushed_at":"2024-09-07T10:59:34.000Z","size":240,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T11:47:25.256Z","etag":null,"topics":["elm","svg","technical-drawing"],"latest_commit_sha":null,"homepage":"","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lancelet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-13T08:24:35.000Z","updated_at":"2024-11-22T09:25:34.000Z","dependencies_parsed_at":"2025-01-22T11:41:19.129Z","dependency_job_id":"458bf2e3-1134-44b1-bfdc-4287ed8635c9","html_url":"https://github.com/lancelet/techdraw","commit_stats":null,"previous_names":["lancelet/techdraw"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lancelet%2Ftechdraw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lancelet%2Ftechdraw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lancelet%2Ftechdraw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lancelet%2Ftechdraw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lancelet","download_url":"https://codeload.github.com/lancelet/techdraw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801609,"owners_count":20350106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elm","svg","technical-drawing"],"created_at":"2024-09-24T22:41:39.634Z","updated_at":"2026-01-03T11:15:56.740Z","avatar_url":"https://github.com/lancelet.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Technical Drawing in Elm\n\n![GitHub CI](https://github.com/lancelet/techdraw/actions/workflows/elm.yml/badge.svg)\n\nThis package is built on top of the `typed-svg` package in Elm. It provides its own affine\ntransformation stack which tracks local-to-world and world-to-local coordinate transformations.\nThis allows:\n\n- Easy transformation of mouse events to local coordinates.\n- Geometry expressed in the local coordinate system.\n- Consistent global line widths.\n- Shortening paths to accommodate arrow heads.\n\nThis is implemented as a tree of nodes which are interpreted at render time to `svg` nodes.\n\n## Tooling Notes\n\nUse [elm-test](https://package.elm-lang.org/packages/elm-explorations/test/) and\n[elm-verity-examples](https://github.com/stoeffel/elm-verify-examples) for testing:\n\n```sh\nelm-test\nelm-verify-examples --run-tests\n```\n\nFor local documentation preview, use [elm-doc-preview](https://github.com/dmy/elm-doc-preview)\n\n```sh\nelm-doc-preview\n```\n\n## TODO\n\n- Capture L2W transformation when events are declared, not when they are\n  attached to objects.\n- Text.\n- \"Bake\" node.\n- Refactor to separate out styles and events stuff from the huge main file.\n- Use a non-recursive traversal of the graph.\n- Need a way to draw items in world coordinates.\n- Arrow heads.\n- More examples.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flancelet%2Ftechdraw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flancelet%2Ftechdraw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flancelet%2Ftechdraw/lists"}