{"id":32166146,"url":"https://github.com/jkrukoff/digraph_export","last_synced_at":"2026-02-20T16:01:24.137Z","repository":{"id":57490060,"uuid":"163626216","full_name":"jkrukoff/digraph_export","owner":"jkrukoff","description":"File conversion and export support for graphs created using the Erlang digraph module.","archived":false,"fork":false,"pushed_at":"2019-04-22T21:43:03.000Z","size":294,"stargazers_count":35,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-07T00:34:35.306Z","etag":null,"topics":["digraph","dot","erlang-library","erlang-otp","graphml"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/digraph_export","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkrukoff.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-31T00:02:39.000Z","updated_at":"2023-04-13T20:03:20.000Z","dependencies_parsed_at":"2022-09-02T12:01:01.249Z","dependency_job_id":null,"html_url":"https://github.com/jkrukoff/digraph_export","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jkrukoff/digraph_export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkrukoff%2Fdigraph_export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkrukoff%2Fdigraph_export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkrukoff%2Fdigraph_export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkrukoff%2Fdigraph_export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkrukoff","download_url":"https://codeload.github.com/jkrukoff/digraph_export/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkrukoff%2Fdigraph_export/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["digraph","dot","erlang-library","erlang-otp","graphml"],"created_at":"2025-10-21T15:03:13.164Z","updated_at":"2026-02-20T16:01:24.124Z","avatar_url":"https://github.com/jkrukoff.png","language":"Erlang","readme":"# digraph_export #\n\n![Spider Web](doc/web.jpg)\n\n\n### Overview ###\n\nThe digraph_export module provides a set of utility functions for converting\ndigraph graphs into common graph file formats. In addition, graph viewing\nprograms can be launched to view those files.\n\nIt is intended for use in debugging and visualizing graphs, not for\ncustomizing the export process. As such, no graph features beyond digraph's\nbuilt in ID and label constructs are supported.\n\n\n## Modules ##\n\n\u003ctable width=\"100%\" border=\"0\" summary=\"list of modules\"\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://github.com/jkrukoff/digraph_export/blob/master/doc/digraph_export.md\" class=\"module\"\u003edigraph_export\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\n\n### Getting Started ###\n\nThis library is published to [hex.pm](https://hex.pm) as\n[digraph_export](https://hex.pm/packages/digraph_export). If you're using\n[rebar3](https://www.rebar3.org/) as your build tool, it can be added as a\ndependency to your rebar.config as follows:\n\n```\n{deps, [{digraph_export}]}.\n```\n\n\n### Usage ###\n\n```\n1\u003e Graph = digraph:new(),\n    digraph:add_vertex(Graph, 1, first),\n    digraph:add_vertex(Graph, 2, second),\n    digraph:add_edge(Graph, edge, 1, 2, connected).\n2\u003e GraphML = digraph_export:convert(Graph, graphml).\n3\u003e digraph_export:view(GraphML, graphml, cytoscape).\n```\n\n![Cytoscape Example Graph](doc/usage.png)\n\n\n#### Formats ####\n\nThe following output file formats are supported:\n\n* [dot](http://www.graphviz.org/doc/info/lang.html)\n* [graphml](http://graphml.graphdrawing.org/)\n\n\n#### Programs ####\n\nIf installed and  present on the current $PATH, the following programs can be\nlaunched:\n\n* [gephi](https://gephi.org/)\n* [cytoscape](https://cytoscape.org/)\n\n\n### Contributing ###\n\nPlease fork the repo and submit a PR. Tests are run via:\n\n```\nrebar3 as test eunit, proper\n```\n\nDocumentation is autogenerated using edown and edoc via:\n\n```\nrebar3 as markdown edoc\n```\n\nThe application has only been tested with Erlang/OTP 21 on Windows 10. Reports\nof success (or failure!) on other versions and operating systems are\nappreciated.\n\n\n### Lineage ###\n\nThis module was created while working on an [exercism.io Erlang\nexercise](https://exercism.io/tracks/erlang/exercises/connect/solutions/caf32f0478c442dcb4e77db024c5d375),\nwhere I had managed to incorrectly create the underlying graph. Once I finally\nfound the bug, I realized it would have been quite a bit easier if I'd been\nable to visualize the graph I'd created.\n\n\n### Attribution ###\n\nImage by [Fir0002](https://commons.wikimedia.org/wiki/File:Dewy_spider_web.jpg)\n\nCC BY-SA 3.0 [`https://creativecommons.org/licenses/by/3.0/deed.en`](https://creativecommons.org/licenses/by/3.0/deed.en)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkrukoff%2Fdigraph_export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkrukoff%2Fdigraph_export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkrukoff%2Fdigraph_export/lists"}