{"id":25632990,"url":"https://github.com/z2oh/dep_dot","last_synced_at":"2025-10-31T11:10:47.944Z","repository":{"id":87035146,"uuid":"220715188","full_name":"z2oh/dep_dot","owner":"z2oh","description":"a small utility to compile arbitray directed acyclic graphs (i.e. trees) to the DOT graph description language","archived":false,"fork":false,"pushed_at":"2019-11-10T05:31:28.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T04:06:08.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z2oh.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}},"created_at":"2019-11-09T23:08:23.000Z","updated_at":"2019-11-10T05:31:30.000Z","dependencies_parsed_at":"2023-05-30T07:30:16.927Z","dependency_job_id":null,"html_url":"https://github.com/z2oh/dep_dot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/z2oh/dep_dot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fdep_dot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fdep_dot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fdep_dot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fdep_dot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z2oh","download_url":"https://codeload.github.com/z2oh/dep_dot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z2oh%2Fdep_dot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013903,"owners_count":26085326,"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-10-12T02:00:06.719Z","response_time":53,"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":"2025-02-22T21:19:28.235Z","updated_at":"2025-10-13T01:40:23.515Z","avatar_url":"https://github.com/z2oh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dep_dot\n\n\u003cimg align=\"right\" width=\"380\" height=\"235\" src=\"example.png\" alt=\"Example output.\"\u003e\n\nA small utility to compile arbitrary directed acyclic graphs (i.e. trees) to the DOT graph description language. The anticipated use case is the visualization of dependency trees.\n\nTwo macro helpers are available for constructing graph and node literals. The graph you see to the right is produced by the following code:\n```\nfn main() {\n    let g = G![\n        N!(\"Root\"; 0 =\u003e 1, 2, 3, 6),\n        N!(1 =\u003e 4, 5),\n        N!(2 =\u003e 4, 5),\n        N!(3 =\u003e 4, 5),\n        N!(\"Leaf 1\"; 4),\n        N!(\"Leaf 2\"; 5),\n        N!(\"Leaf 3\"; 6),\n    ];\n    println!(\"{}\", g.gen_dot().unwrap());\n}\n```\nThe output can be seen in [`example.dot`](example.dot). When this output is run through `dot` via `cargo run | dot -Tsvg -o example.svg`, you get this [`example.svg`](example.svg).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz2oh%2Fdep_dot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz2oh%2Fdep_dot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz2oh%2Fdep_dot/lists"}