forked from lix-project/lix
make diagrams compatible with svgbob
this will at some point enable rendering them nicely for the web
This commit is contained in:
parent
98447c1a7f
commit
3d716df7ce
|
@ -11,20 +11,25 @@ Nix consists of [hierarchical layers].
|
||||||
|
|
||||||
```
|
```
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
| Nix |
|
| Nix .-------------------------. |
|
||||||
| [ commmand line interface ]------, |
|
| | commmand line interface |------. |
|
||||||
|
| '-------------------------' | |
|
||||||
| | | |
|
| | | |
|
||||||
| evaluates | |
|
| evaluates | |
|
||||||
| | manages |
|
| | manages |
|
||||||
| V | |
|
| V | |
|
||||||
| [ configuration language ] | |
|
| .-------------------------. | |
|
||||||
|
| | configuration language | | |
|
||||||
|
| '-------------------------' | |
|
||||||
| | | |
|
| | | |
|
||||||
| +----------------------------|-------------------V----------+ |
|
| evaluates to | |
|
||||||
| | store evaluates to | |
|
| | V |
|
||||||
| | | | |
|
| +----------------------------|------------------------------+ |
|
||||||
|
| | store | | |
|
||||||
| | referenced by V builds | |
|
| | referenced by V builds | |
|
||||||
| | [ build input ] ---> [ build plan ] ---> [ build result ] | |
|
| | .-------------. .------------. .--------------. | |
|
||||||
| | | |
|
| | | build input |----->| build plan | ---->| build result | | |
|
||||||
|
| | '-------------' '------------' '--------------' | |
|
||||||
| +-----------------------------------------------------------+ |
|
| +-----------------------------------------------------------+ |
|
||||||
+---------------------------------------------------------------+
|
+---------------------------------------------------------------+
|
||||||
```
|
```
|
||||||
|
@ -54,24 +59,28 @@ The result of a build task can be input to another build task.
|
||||||
|
|
||||||
```
|
```
|
||||||
+----------------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------------+
|
||||||
| store .............................................. |
|
| store - - - - - - - - - - - - - - - - - - - - - - |
|
||||||
| : build plan : |
|
| : build plan : |
|
||||||
| : : |
|
| .-------------. : : |
|
||||||
| [ build input ]---instructions-, : |
|
| | build input |---instructions-. : |
|
||||||
| : | : |
|
| '-------------' : | : |
|
||||||
| : v : |
|
| : v : |
|
||||||
| [ build input ]--------->[ build task ]-instructions-, : |
|
| .-------------. : .------------. : |
|
||||||
| : | : |
|
| | build input |--------->| build task |-instructions-. : |
|
||||||
|
| '-------------' : '------------' | : |
|
||||||
| : v : |
|
| : v : |
|
||||||
| [ build input ]---instructions-, [ build task ]--->[ build result ] |
|
| .-------------. : .------------. : .--------------. |
|
||||||
| : | ^ : |
|
| | build input |---instructions-. | build task |--->| build result | |
|
||||||
| : v | : |
|
| '-------------' : | '------------' : '--------------' |
|
||||||
| [ build input ]--------->[ build task ]--------------' : |
|
| : v ^ : |
|
||||||
|
| .-------------. : .------------. | : |
|
||||||
|
| | build input |--------->| build task |--------------' : |
|
||||||
|
| '-------------' : '------------' : |
|
||||||
| : ^ : |
|
| : ^ : |
|
||||||
| : | : |
|
| .-------------. : | : |
|
||||||
| [ build input ]----------------' : |
|
| | build input |----------------' : |
|
||||||
| : : |
|
| '-------------' : : |
|
||||||
| :............................................: |
|
| :_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _: |
|
||||||
+----------------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------------+
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue