/repo-visualizer

Primary LanguageJavaScriptMIT LicenseMIT

Dendron Repo Visualizer

Note: this is a fork of repo-visualizer with a few adjustments to make it work for Dendron and the CLI.

You can see what this looks like with Dendron Wiki below:

Dendron Site

Quickstart

Install dependencies

# install and build dependencies
yarn
node build.js

Generate your own

node dendron.js -r {relative-path-to-repo}

Example:

- repo-visualizer/
- dendron-workspace/
	- dendron.yml
	- vault
cd repo-visualizer
node dendron.js -r ../dendron-workspace
# output will be in `diagram-vault.svg`

Inputs

  • -r | --wsRoot : root of your dendron workspace

Outputs

svg

The contents of the diagram as text. This can be used if you don't want to handle new files.

diagram-${vaultName}.svg

output of the svg