{"id":32266811,"url":"https://github.com/csicar/purescript-dotlang","last_synced_at":"2026-02-22T19:33:36.783Z","repository":{"id":40800645,"uuid":"117620460","full_name":"csicar/purescript-dotlang","owner":"csicar","description":"DotLang datatypes for purescript","archived":false,"fork":false,"pushed_at":"2023-03-03T03:52:06.000Z","size":376,"stargazers_count":13,"open_issues_count":16,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-24T06:25:36.405Z","etag":null,"topics":["dotlang","graphviz","graphviz-dot","purescript"],"latest_commit_sha":null,"homepage":null,"language":"PureScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csicar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-01-16T02:29:21.000Z","updated_at":"2025-06-13T13:44:53.000Z","dependencies_parsed_at":"2022-08-31T04:22:57.063Z","dependency_job_id":null,"html_url":"https://github.com/csicar/purescript-dotlang","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/csicar/purescript-dotlang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csicar%2Fpurescript-dotlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csicar%2Fpurescript-dotlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csicar%2Fpurescript-dotlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csicar%2Fpurescript-dotlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csicar","download_url":"https://codeload.github.com/csicar/purescript-dotlang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csicar%2Fpurescript-dotlang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29724504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T19:31:23.314Z","status":"ssl_error","status_checked_at":"2026-02-22T19:31:18.643Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dotlang","graphviz","graphviz-dot","purescript"],"created_at":"2025-10-22T21:51:27.528Z","updated_at":"2026-02-22T19:33:36.704Z","avatar_url":"https://github.com/csicar.png","language":"PureScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dot-Lang\n========\n\ndocumentation can be found on [pursuit](https://pursuit.purescript.org/packages/purescript-dotlang/1.1.0/docs/Data.DotLang#t:DotLang)\n\ndefine your model like this:\n\n```purescript run\n\u003e import Data.DotLang\n\u003e import Data.DotLang.Attr (FillStyle(..))\n\u003e import Data.DotLang.Attr.Node as Node\n\u003e import Data.DotLang.Attr.Edge as Edge\n\u003e import Color.Scheme.HTML (red)\n\u003e exampleGraph = DiGraph [\n      node \"a\" [ Node.Shape Node.Diamond, Node.Style Filled,  Node.FillColor red ],\n      node \"b\" [],\n      \"a\" ==\u003e \"b\",\n      \"a\" =*\u003e \"d\" $ [ Edge.FillColor red ],\n      Subgraph [\n          node \"d\" []\n      ]\n  ]\n\u003e -- can be turned into a dotlang using `toText`\n\u003e import Data.DotLang.Class (toText)\n\u003e toText exampleGraph\n\"digraph {a [shape=diamond, style=filled, fillcolor=\\\"#ff0000\\\"]; b []; a -\u003e b; a -\u003e d [fillcolor=\\\"#ff0000\\\"]; subgraph { d []; }}\"\n```\n\n### Installation\n\n#### Spago\n\n```dhall\nlet additions = \n    { dotlang = \n        { dependencies = \n            [ \"colors\"\n            , \"console\"\n            , \"effect\"\n            , \"generics-rep\"\n            , \"prelude\"\n            , \"psci-support\"\n            , \"strings\"\n            , \"test-unit\"\n            ]\n        , repo = \"https://github.com/csicar/purescript-dotlang.git\"\n        , version = \"v2.0.0\"\n        }\n    }\n```\n```bash\nspago install dotlang\n```\n\n#### Bower\n\n```bash\nbower i purescript-dotlang\n```\n\n\n\nChangelog\n=========\n\nv3.0.0\n------\n\nBreaking Changes:\n\n- `Label` of `Edge` and `Node` now support HTML and no formatting: To **migrate** replace old calls to `Label` with calls to `label`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsicar%2Fpurescript-dotlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsicar%2Fpurescript-dotlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsicar%2Fpurescript-dotlang/lists"}