Skip to content

Instantly share code, notes, and snippets.

@mattio
Last active July 3, 2023 14:34
Show Gist options
  • Save mattio/d99a2d56871ad2349c798513c0862086 to your computer and use it in GitHub Desktop.
Save mattio/d99a2d56871ad2349c798513c0862086 to your computer and use it in GitHub Desktop.
Simple Mikado Diagram using Mermaid

A simple Mikado diagram using Mermaid based on the example here: https://mikadomethod.info/index.html

flowchart BT

  Goal((("Encapsulate FileDB
  to be able to switch
  databases")))

  ReplaceInterface(("Replace FileDB
  with database interface
  for load()/store()"))

  UseInterface(("Use
  database interface
  in UI"))

  Create(("Create database
  interface for FileDB
  load()/store() ☑️"))

  Configure(("Configure file
  for FileDB in
  constructor ☑️"))

  Remove(("Remove
  app setStorageFile()
  getStorageFile
  methods ☑️"))

  ToLauncher(("Pull up
  creation of FileDB 
  to launcher ☑️"))

  Goal --> ReplaceInterface
  ReplaceInterface --> UseInterface
  %% ReplaceInterface --> Create
  %% ReplaceInterface --> Configure
  %% The arrows were hard to follow here, so I simplified the diagram.
  UseInterface --> Create
  UseInterface --> Configure

  Goal --> Remove
  Remove --> ToLauncher
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment