@gasket/plugin-docs-graphs

Generate mermaid graphs of an applications gasket lifecycles

Usage no npm install needed!

<script type="module">
  import gasketPluginDocsGraphs from 'https://cdn.skypack.dev/@gasket/plugin-docs-graphs';
</script>

README

@gasket/plugin-docs-graphs

The plugin hooks the docsGenerate lifecycle to provide a mermaid graph of a given application's lifecycles.

Installation

New apps

gasket create <app-name> --plugins @gasket/plugin-docs,@gasket/plugin-docs-graph

Existing apps

npm i @gasket/plugin-docs-graphs

Modify plugins section of your gasket.config.js:

module.exports = {
  plugins: {
    add: [
+      '@gasket/plugin-docs-graphs'
    ]
  }
}