An open API service indexing awesome lists of open source software.

https://github.com/web-padawan/components-flowchart

Visualise hierarchical relationships within Vaadin components.
https://github.com/web-padawan/components-flowchart

Last synced: 4 months ago
JSON representation

Visualise hierarchical relationships within Vaadin components.

Awesome Lists containing this project

README

          

# Components flowchart

This is a flowchart created using [mermaid](https://github.com/knsv/mermaid).

## Setup

1. Install [Mermaid Preview](https://github.com/vstirbu/vscode-mermaid-preview) VSCode extension
2. Open `COMPONENTS.md`
3. Go to Command Palette: Cmd + Shift + P
4. Choose "Preview Mermaid"
5. Focus editor tab with chart

## Syntax

- Use `[square]` for "leaf" components (with no dependents).
- Use `((circle))` for components with no dependencies / dependents.
- Use `(rounded square)` for all the other components.

## Tips

- Play with lines order. Sometimes reordering makes chart to be re-positioned.
- Use "Move Line Down" / "Move Live Up": Option + / Option +
- General rule: top-down in the code = top-down / left-right in the chart
- Group root components at the top, and leaf components at the bottom.

## Links

- [mermaid flowchart syntax](https://mermaidjs.github.io/#/flowchart)
- [mermaid live editor](https://mermaidjs.github.io/mermaid-live-editor/)
- [mermaid configuration](https://mermaidjs.github.io/#/mermaidAPI?id=configuration)