tree: f9aef6a1de9594704e32c656931263ee7c1a5bfd [path history] [tgz]
  1. bin/
  2. lib/
  3. test/
  4. .gitignore
  5. pubspec.yaml
  6. README.md
dev/wiki-visualizer/README.md

Wiki Visualizer

When working on our wiki (https://github.com/flutter/flutter/wiki/) it can help to see how the pages link together in real time.

The following command allows one to check out the Flutter wiki:

git clone git@github.com:flutter/flutter.wiki.git

Running the wiki_visualizer program from a checkout of the Flutter wiki, and piping the output to the sfdp or fdp programs from the Graphviz package, as follows, renders a PNG map of the wiki's internal links:

dart run --enable-asserts ../cocoon/dev/wiki-visualizer/bin/wiki_visualizer.dart *.md | sfdp -Tpng > map.png

(This assumes cocoon is checked out in a sibling directory of the Flutter wiki.)

For example, this image was rendered in this fashion: