{"id":18749271,"url":"https://github.com/wolandark/vimwiki-graphviz","last_synced_at":"2025-09-13T15:51:45.460Z","repository":{"id":197676671,"uuid":"699102379","full_name":"wolandark/Vimwiki-Graphviz","owner":"wolandark","description":"A VimWiki Graph Generator ","archived":false,"fork":false,"pushed_at":"2023-10-07T03:31:10.000Z","size":31,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-21T03:55:32.373Z","etag":null,"topics":["graphviz","graphviz-dot","vimwiki"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wolandark.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":"2023-10-01T23:11:49.000Z","updated_at":"2025-07-16T13:50:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"d204c82e-64f3-4b25-9a3c-ff428473a573","html_url":"https://github.com/wolandark/Vimwiki-Graphviz","commit_stats":null,"previous_names":["wolandark/vimwiki-graphviz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wolandark/Vimwiki-Graphviz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolandark%2FVimwiki-Graphviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolandark%2FVimwiki-Graphviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolandark%2FVimwiki-Graphviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolandark%2FVimwiki-Graphviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolandark","download_url":"https://codeload.github.com/wolandark/Vimwiki-Graphviz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolandark%2FVimwiki-Graphviz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274988354,"owners_count":25386546,"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-09-13T02:00:10.085Z","response_time":70,"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","graphviz-dot","vimwiki"],"created_at":"2024-11-07T17:07:02.112Z","updated_at":"2025-09-13T15:51:45.437Z","avatar_url":"https://github.com/wolandark.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vimwiki-Graphviz\n\nYet Another VimWiki Graph Generator \n\nGenerate a stylish graphical chart from your vimwiki links. Creating an image of your second brain.\n\n# Usage\n__Place the `VimWiki-Graphviz.sh` script inside your vimwiki root. Run the script.__\n```\n./VimWiki-Graphviz.sh \u003e MyGraph.txt\n```\nor generate a networkmap layout:\n```\n./VimWiki-Graphviz.sh -n \u003e MyGraph.txt\n```\nPaste the output in any dot viewer [like this one](https://dreampuf.github.io/GraphvizOnline/). (_Note that not all dot viewers support sfdp layout, but no matter, we can do it ourselves_).\n\n## Do it yourself\n\nInstall the `graphvis` package for your distro.\n\u003cbr\u003e\n\nThen generate an image based on the script's output:\n```\ndot -Tpng MyGraph.txt -o MyGraph.png\n```\n__Then you can open the PNG file with your favorite image viewer, or automate it like this:__\n```\ndot -Tpng MyGraph.txt -o MyGraph.png \u0026\u0026 sxiv MyGraph.txt\n```\n# Flags\n- `-h` Help Msg\n- `-n` Network Map Layout\n- `-v` Vonorai overlap (defaults to prism)\n- `-x` Scalexy overlap (defaults to prism)\n- `-m` Crawk MD files. (Only if your wiki is in Markdown)\n\n# Output\n__Run the script without arguments to get a SFDP type layout.__\n![gr1](https://github.com/wolandark/Vimwiki-Graphviz/assets/107309764/d225d612-d577-4245-8fa0-a7142d7ba782)\n\n\n__Run the script with `-n` to get a Network Map type layout.__\n![gr2](https://github.com/wolandark/Vimwiki-Graphviz/assets/107309764/28c75109-b215-455e-9f65-61cfc196f497)\n\n__Run with `-v` to get a voronai overlap style.__\n![layout-1-voronoi-](https://github.com/wolandark/Vimwiki-Graphviz/assets/107309764/f7bad3e6-9bc8-41fe-a97c-1fd319b84b7d)\n\n__Run with `-x` to get a scalexy overlap style.__\n![layout-1-scalexy-](https://github.com/wolandark/Vimwiki-Graphviz/assets/107309764/268484d7-d680-4be9-8ec6-b33d3e6a8986)\n\n\n# Notes\nIf you're on windows, consider using [the python version of this script](https://github.com/dustractor/vimwiki2dot2png). I may or may not provide a batch version in the future.\nYou can define more layouts and change the colors. The script should be easy to read and alter (minus the regex) if you know a little bash.\n\nThis script was inspired by a [similar script](https://gitlab.com/vobijs/vimwiki-graph), yet that one uses perl and outputs a plain graph that can turn out to be a vertically stretched out graph that is basically useless.\nI have converted the nasty perl bit into sed and elevated the functionality of the script to support layouts and work with wiki files as well as markdown files. \u003cbr\u003e\nThis script should run on any posix machine.\n\nI chose these layouts and colors to mimic obsidians graph looks (even though I literally only saw it once). It's nice to see one's second brain and how complex it has gotten in time. \n\nIt's a pretty thing to look at. \nLike all arts, this script is quite useless. (Oscar Wylde)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolandark%2Fvimwiki-graphviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolandark%2Fvimwiki-graphviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolandark%2Fvimwiki-graphviz/lists"}