{"id":19079379,"url":"https://github.com/georgefst/prettyprinter-graphviz","last_synced_at":"2026-06-19T02:31:04.265Z","repository":{"id":56875394,"uuid":"234299981","full_name":"georgefst/prettyprinter-graphviz","owner":"georgefst","description":"Haskell functions for rendering pretty GraphViz labels.","archived":false,"fork":false,"pushed_at":"2024-09-18T17:24:16.000Z","size":37,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-27T13:32:55.416Z","etag":null,"topics":["graphviz","prettyprinter"],"latest_commit_sha":null,"homepage":"http://hackage.haskell.org/package/prettyprinter-graphviz","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/georgefst.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-16T10:57:15.000Z","updated_at":"2025-01-15T17:51:10.000Z","dependencies_parsed_at":"2022-08-20T10:11:16.770Z","dependency_job_id":null,"html_url":"https://github.com/georgefst/prettyprinter-graphviz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/georgefst/prettyprinter-graphviz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgefst%2Fprettyprinter-graphviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgefst%2Fprettyprinter-graphviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgefst%2Fprettyprinter-graphviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgefst%2Fprettyprinter-graphviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/georgefst","download_url":"https://codeload.github.com/georgefst/prettyprinter-graphviz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgefst%2Fprettyprinter-graphviz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34515405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":["graphviz","prettyprinter"],"created_at":"2024-11-09T02:14:32.397Z","updated_at":"2026-06-19T02:31:04.240Z","avatar_url":"https://github.com/georgefst.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"GraphViz pretty-printing\n===================================\n\nJust some simple utility functions for hooking up the Haskell libraries [graphviz](https://hackage.haskell.org/package/graphviz) and [prettyprinter](https://hackage.haskell.org/package/prettyprinter).\n\nGiven a [Doc](https://hackage.haskell.org/package/prettyprinter/docs/Data-Text-Prettyprint-Doc.html#t:Doc), you can use [render](https://hackage.haskell.org/package/prettyprinter-graphviz/docs/Data-Text-Prettyprint-Doc-Render-GraphViz.html#v:render) to transform it to a GraphViz [Label](https://hackage.haskell.org/package/graphviz/docs/Data-GraphViz-Attributes-Complete.html#t:Label). If you are using a different annotation type (eg. something more abstract), then you can define a mapping to GraphViz HTML attributes, and `fmap` it over your `Doc`.\n\n![Example](https://raw.github.com/georgefst/prettyprinter-graphviz/master/example.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgefst%2Fprettyprinter-graphviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorgefst%2Fprettyprinter-graphviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgefst%2Fprettyprinter-graphviz/lists"}