diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-10-25 15:10:36 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-10-25 15:10:36 +0000 |
| commit | 5e8683ac22a1a7fca8003d06587b0b402a680b2a (patch) | |
| tree | a326a030f655394abc571b767c17cf3770ea1503 /root | |
| parent | fix mermaid fonts being cut (diff) | |
| download | mmm-5e8683ac22a1a7fca8003d06587b0b402a680b2a.tar.gz mmm-5e8683ac22a1a7fca8003d06587b0b402a680b2a.zip | |
rename diagrams in mmmfs/mmmfs
Diffstat (limited to 'root')
| -rw-r--r-- | root/articles/mmmfs/ba_log/2019-10-24/text$markdown.md | 2 | ||||
| -rw-r--r-- | root/articles/mmmfs/mmmfs/text$markdown.md | 30 | ||||
| -rw-r--r-- | root/articles/mmmfs/mmmfs/tree_mainstream/text$mermaid-graph (renamed from root/articles/mmmfs/mmmfs/mainstream_fs/text$mermaid-graph) | 0 | ||||
| -rw-r--r-- | root/articles/mmmfs/mmmfs/tree_mmmfs/text$mermaid-graph (renamed from root/articles/mmmfs/mmmfs/schematic/text$mermaid-graph) | 0 | ||||
| -rw-r--r-- | root/articles/mmmfs/mmmfs/type_coercion_graph/text$mermaid-graph | 22 |
5 files changed, 26 insertions, 28 deletions
diff --git a/root/articles/mmmfs/ba_log/2019-10-24/text$markdown.md b/root/articles/mmmfs/ba_log/2019-10-24/text$markdown.md index 516b18d..dbb838a 100644 --- a/root/articles/mmmfs/ba_log/2019-10-24/text$markdown.md +++ b/root/articles/mmmfs/ba_log/2019-10-24/text$markdown.md @@ -26,7 +26,7 @@ Once mermaid.js is done, the rendered content is added in the container element. Here is one of the two diagrams that I implemented the feature for, you can also follow the link through to the source and view the textual representation using the 'inspect' button. -<mmm-embed path="/articles/mmmfs/mmmfs/mainstream_fs"></mmm-embed> +<mmm-embed path="/articles/mmmfs/mmmfs/tree_mainstream"></mmm-embed> [mermaid]: https://mermaidjs.github.io/mermaid-live-editor/ [2ff6f90]: https://git.s-ol.nu/mmm/commit/2ff6f906c498c1b742dd8437a09c97ebe29a652a/ diff --git a/root/articles/mmmfs/mmmfs/text$markdown.md b/root/articles/mmmfs/mmmfs/text$markdown.md index f98f0fb..3ab6dee 100644 --- a/root/articles/mmmfs/mmmfs/text$markdown.md +++ b/root/articles/mmmfs/mmmfs/text$markdown.md @@ -7,7 +7,7 @@ This is accomplished using two major components, the *Type System and Coercion E The Fileder Model is the underlying unified data storage model. Like almost all current data storage and access models it is based fundamentally on the concept of a hierarchical tree-structure. -<mmm-embed path="mainstream_fs">schematic view of an example tree in a mainstream filesystem</mmm-embed> +<mmm-embed path="tree_mainstream">schematic view of an example tree in a mainstream filesystem</mmm-embed> In common filesystems as pictured, data can be organized hierarchically into *folders* (or *directories*), which serve only as containers of *files*, in which data is actually stored. @@ -36,7 +36,7 @@ Users renaming extensions: https://www.quora.com/What-happens-when-you-rename-a-jpg-to-a-png-file In mmmfs, the example above might look like this instead: -<mmm-embed path="schematic">schematic view of an example mmmfs tree</mmm-embed> +<mmm-embed path="tree_mmmfs">schematic view of an example mmmfs tree</mmm-embed> Superficially, this may look quite similar: there is still only two types of nodes (referred to as *fileders* and *facets*), @@ -167,28 +167,4 @@ it continues search until it either completely exhausts the result space, or until all non-exhaustively searched paths are already higher than the maximum allowed path. This ensures that the optimal path is found, even if a more expensive path is found more quickly initially. -``` -graph LR -graph LR - md_lua[text/lua -> text/markdown] - md[text/markdown] - moon[text/moonscript -> fn -> mmm/dom] - lua[text/lua -> fn -> mmm/dom] - fn[fn -> mmm/dom] - dom[mmm/dom] - moon_url[URL -> text/moonscript -> fn -> mmm/dom] - lua_url[URL -> text/lua -> fn -> mmm/dom] - - md_lua -- cost: 1 --> md -- cost: 2 --> dom - moon -- cost: 5 --> moon_url - moon -- cost: 1 --> fn -- cost: 2 --> dom - moon -- cost: 2 --> lua -- cost: 5 --> lua_url - lua -- cost: 1 --> fn - moon_url -- cost: 10 --> dom - lua_url -- cost: 10 -->dom - - classDef given fill:#ada; - classDef path stroke:#ada; - linkStyle 3,1,0,4 stroke:#8d8,stroke-width:2px - class md_lua,moon given -``` +<mmm-embed path="type_coercion_graph">excerpt of the graph of conversion paths from two starting facets to mmm/dom</mmm-embed> diff --git a/root/articles/mmmfs/mmmfs/mainstream_fs/text$mermaid-graph b/root/articles/mmmfs/mmmfs/tree_mainstream/text$mermaid-graph index 3227e47..3227e47 100644 --- a/root/articles/mmmfs/mmmfs/mainstream_fs/text$mermaid-graph +++ b/root/articles/mmmfs/mmmfs/tree_mainstream/text$mermaid-graph diff --git a/root/articles/mmmfs/mmmfs/schematic/text$mermaid-graph b/root/articles/mmmfs/mmmfs/tree_mmmfs/text$mermaid-graph index 7b4f6f4..7b4f6f4 100644 --- a/root/articles/mmmfs/mmmfs/schematic/text$mermaid-graph +++ b/root/articles/mmmfs/mmmfs/tree_mmmfs/text$mermaid-graph diff --git a/root/articles/mmmfs/mmmfs/type_coercion_graph/text$mermaid-graph b/root/articles/mmmfs/mmmfs/type_coercion_graph/text$mermaid-graph new file mode 100644 index 0000000..cf2cf1e --- /dev/null +++ b/root/articles/mmmfs/mmmfs/type_coercion_graph/text$mermaid-graph @@ -0,0 +1,22 @@ +graph LR + md_lua[text/lua -> text/markdown] + md[text/markdown] + moon[text/moonscript -> fn -> mmm/dom] + lua[text/lua -> fn -> mmm/dom] + fn[fn -> mmm/dom] + dom[mmm/dom] + moon_url[URL -> text/moonscript -> fn -> mmm/dom] + lua_url[URL -> text/lua -> fn -> mmm/dom] + + md_lua -- cost: 1 --> md -- cost: 2 --> dom + moon -- cost: 5 --> moon_url + moon -- cost: 1 --> fn -- cost: 2 --> dom + moon -- cost: 2 --> lua -- cost: 5 --> lua_url + lua -- cost: 1 --> fn + moon_url -- cost: 10 --> dom + lua_url -- cost: 10 -->dom + + classDef given fill:#ada; + classDef path stroke:#ada; + linkStyle 3,1,0,4 stroke:#8d8,stroke-width:2px + class md_lua,moon given |
