Mermaid diagrams to explain stuff better
This commit is contained in:
		
							parent
							
								
									7c04c6f8ac
								
							
						
					
					
						commit
						8fdbee17bc
					
				
					 1 changed files with 26 additions and 0 deletions
				
			
		|  | @ -44,3 +44,29 @@ Most of the code will be implemented as libraries, enabling for them to be used | ||||||
| - [gravitas]() - The library for working with [storage](/development/design/filesystem.md) | - [gravitas]() - The library for working with [storage](/development/design/filesystem.md) | ||||||
| - [pulsar]() - Networking code | - [pulsar]() - Networking code | ||||||
| - [photon]() - GUI library | - [photon]() - GUI library | ||||||
|  | 
 | ||||||
|  | ## Overall Design | ||||||
|  | ### Connections | ||||||
|  | ```mermaid | ||||||
|  | erDiagram | ||||||
|  |     ASM ||--|| KERNEL: runs | ||||||
|  |     KERNEL ||..o{ GRAVITAS: uses | ||||||
|  |     KERNEL }|..o{ METEOR: uses | ||||||
|  |     GRAVITAS }|..o{ HAL: uses | ||||||
|  |     GRAVITAS ||--o{ DISK: IO | ||||||
|  |     KERNEL ||--|{ MEMORY: maps | ||||||
|  |     KERNEL ||--o{ EXE: runs | ||||||
|  |     EXE }|..o{ METEOR: uses | ||||||
|  |     EXE }|..o{ KERNEL: msg | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | ### Startup Flow | ||||||
|  | ```mermaid | ||||||
|  | flowchart TD | ||||||
|  |     ASM --> kern(Kernel) | ||||||
|  |     kern --> disk(Read Disk) --> | ||||||
|  |     parse(Parse Configuration) --> run(Run Startup Programs) | ||||||
|  |     parse -.-> sh([Interactive Shell]) | ||||||
|  |     kern --> mem(Map Memory) -.-> parse | ||||||
|  |     run ==> actor([Create Actors]) | ||||||
|  | ``` | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue