{"id":17250698,"url":"https://github.com/statusfailed/gla-layout","last_synced_at":"2025-08-31T21:40:32.747Z","repository":{"id":145119717,"uuid":"124798803","full_name":"statusfailed/gla-layout","owner":"statusfailed","description":"A layout algorithm for drawing simple string diagrams a la https://graphicallinearalgebra.net/","archived":false,"fork":false,"pushed_at":"2018-03-11T21:50:33.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T06:43:54.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","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/statusfailed.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":"2018-03-11T20:57:28.000Z","updated_at":"2018-05-04T00:02:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"14838acb-0e6b-4b2e-9466-fd41a720f671","html_url":"https://github.com/statusfailed/gla-layout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/statusfailed/gla-layout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgla-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgla-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgla-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgla-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statusfailed","download_url":"https://codeload.github.com/statusfailed/gla-layout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fgla-layout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273046457,"owners_count":25036179,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-15T06:49:21.189Z","updated_at":"2025-08-31T21:40:32.721Z","avatar_url":"https://github.com/statusfailed.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graphical Linear Algebra Layout\n\nAn algorithm and demo for laying out\n[graphical linear algebra](https://graphicallinearalgebra.net/)\nstring diagrams in the browser using the\n[miso framework](https://github.com/dmjio/miso).\n\n# Example Images\n\nRight-hand side of [rule \"B1\"](https://graphicallinearalgebra.net/2015/05/16/natural-numbers-diagrammatically/)\n\n![Rule B1](./propaganda/ruleB1.png)\n\nLeft-hand-side of [rule \"Assoc\"](https://graphicallinearalgebra.net/2015/05/16/natural-numbers-diagrammatically/)\n\n![Rule Assoc](./propaganda/ruleAssocLHS.png)\n\nNatural number \"3\" as a diagram\n\n![Natural number 3](./propaganda/nat3.png)\n\n# Building \u0026 running the demo\n\nBuild with [nix](https://nixos.org/nix/):\n\n    nix-build\n\nView the demo by serving it. For example with warp:\n\n    warp -d result/bin/gla-layout.jsexe\n\n# TODO\n\n- [ ] Basic layout\n  - [x] Static image\n  - [x] One stack of diagrams\n  - [x] List of stacks\n  - [x] Connections between stacks\n- [ ] Interactivity\n  - [ ] Specify diagrams as JSON\n  - [ ] Add/Remove generators from a diagram\n- [ ] More complex diagrams\n  - [ ] Syntactic sugars\n\n# Code Cleanup\n\n- [ ] stop using gross string concatenation in drawConnector. Nasty!\n- [ ] Replace Coords with a 2D vector library?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fgla-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatusfailed%2Fgla-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fgla-layout/lists"}