@diagc/cli 1.1.7 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ This guide is for diagc {{version}}.
8
8
 
9
9
  1. Write or edit `.diagrams/src/<name>.diagram.ts`. A folder is allowed: `.diagrams/src/team/app.diagram.ts` is the diagram `team/app`.
10
10
  2. Run `diagc lint --json`. It prints `[]` and exits 0 when everything is clean. Otherwise each finding has `file`, `severity`, `code` and `message`: fix it and run again. An `error` means the diagram does not compile. A `warning` compiles but is probably a mistake, such as a misspelled type.
11
- 3. Run `diagc publish <name>` and look at `.diagrams/static/<name>.png` to check the picture. It needs Chrome; set `CHROME_PATH` when none is found. The PNG shows the first plane with every group opened and only the layers that plane turns on; other planes and layers are on the page `.diagrams/html/<name>.html`.
11
+ 3. Run `diagc publish <name>` and look at `.diagrams/static/<name>.png` to check the picture. It needs Chrome; set `CHROME_PATH` when none is found. The PNG shows the first plane with every group opened and only the layers that plane turns on; each further plane gets `.diagrams/static/<name>.<plane>.png`, and the other layers are on the page `.diagrams/html/<name>.html`.
12
12
 
13
13
  A person runs `diagc studio` to browse every diagram and to move boxes by hand.
14
14
 
@@ -34,7 +34,7 @@ More node options:
34
34
  | `metadata` | Free-form key and value data. |
35
35
  | `plane`, `layer` | Show the node in one plane only, or put it on a layer. |
36
36
 
37
- More relation options: `layer`, `description`, `id`.
37
+ More relation options: `layer`, `plane` (drawn on that plane only), `description`, `id`.
38
38
 
39
39
  ## Types and kinds
40
40