{"id":13467638,"url":"https://github.com/notmatthancock/outline_to_dot","last_synced_at":"2026-03-15T15:06:43.509Z","repository":{"id":34638243,"uuid":"38592835","full_name":"notmatthancock/outline_to_dot","owner":"notmatthancock","description":"indented outline markup -\u003e dot","archived":false,"fork":false,"pushed_at":"2015-07-08T03:13:25.000Z","size":173,"stargazers_count":51,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T08:24:07.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/notmatthancock.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}},"created_at":"2015-07-06T02:16:06.000Z","updated_at":"2023-01-12T09:58:59.000Z","dependencies_parsed_at":"2022-08-29T22:21:34.823Z","dependency_job_id":null,"html_url":"https://github.com/notmatthancock/outline_to_dot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notmatthancock%2Foutline_to_dot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notmatthancock%2Foutline_to_dot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notmatthancock%2Foutline_to_dot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/notmatthancock%2Foutline_to_dot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/notmatthancock","download_url":"https://codeload.github.com/notmatthancock/outline_to_dot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239993963,"owners_count":19730779,"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","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-07-31T15:00:58.741Z","updated_at":"2026-03-15T15:06:38.469Z","avatar_url":"https://github.com/notmatthancock.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"## Indented outline =\u003e dot\n\nConvert a simple indented (markdown inspired) outline format to dot language.\n\nExample input file:\n\n    # This is a comment; blank lines get eaten.\n\n    main\n        # Default indent marker is 4 spaces. This can be changed.\n        topic one\n            subtopic one\n        topic two\n            subtopic one\n            subtopic two\n\nFrom the command line, running\n\n    ./outline_to_dot.py input-file.txt\n\nproduces the output:\n\n    digraph G {\n        \"main\" -\u003e \"topic one\";\n        \"topic one\" -\u003e \"subtopic one\";\n        \"main\" -\u003e \"topic two\";\n        \"topic two\" -\u003e \"subtopic one\";\n        \"topic two\" -\u003e \"subtopic two\";\n    }\n\nThe default output is to standard out, but one can specify an output file with \n\n    ./outline_to_dot.py -o output-file.dot input-filt.txt\n\nSo then\n    \n    dot -Tpng -o output-graph.png output-file.dot\n\nproduces the following graph:\n\n![](https://raw.githubusercontent.com/notmatthancock/outline_to_dot/master/example.png)\n\nAnother useful option is to maintain a strict tree structure in the output. This is specified as follows:\n\n    ./outline_to_dot.py --tree=True input-file.txt\n\nUsing the same input as above, this produces a slightly different graph:\n\n![](https://raw.githubusercontent.com/notmatthancock/outline_to_dot/master/example-tree-True.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotmatthancock%2Foutline_to_dot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnotmatthancock%2Foutline_to_dot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnotmatthancock%2Foutline_to_dot/lists"}