ghojeong / faasnap

FaaSnap
MIT License
0 stars 0 forks source link

Mermaid 로 다이어그램 그리기 #7

Open ghojeong opened 2 years ago

ghojeong commented 2 years ago

I am plan to add the existing markdown documentation to the uftrace.github.io homepage as read the docs. (Like the Linux kernel documentation)

Resources for reference are as follows.

Read the Docs's Markdown Tutorial Project docs.readthedocs.io/en/stable/intro/getting-started-with-sphinx.html#using-markdown-with-sphinx readthedocs/tutorial-sphinx-markdown youtu.be/qRSb299awB0?t=3381 When drawing diagrams, We try to use mermaid supported by markdown as much as possible.

Markdowned mermaid source code interpreted like this.

ghojeong commented 2 years ago
flowchart LR
     p_client[FaaSnap \n Python Client];
    daemon[FaaSnap \n Daemon];
    firecracker[FaaSnap \n Firecracker VMM];

    p_client --> |request| daemon;
    daemon --> |request| firecracker;
ghojeong commented 2 years ago
flowchart LR
  subgraph FaaSnap FIrecracker VMM
    subgraph microVM1
          subgraph FaaSnap Kernel
              direction TB
              rootfs --> Flask
          end
    end
    subgraph microVM2
          subgraph Kernel
            Procedure
          end
    end
  end