sketchi 0.35.2 → 0.36.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.
- package/README.md +2 -2
- package/chunks/712.569c7aae31c9fb07.js +1 -0
- package/package.json +1 -1
- package/sketchi.js +31 -30
- package/chunks/712.0515235486adf749.js +0 -1
package/README.md
CHANGED
|
@@ -201,7 +201,7 @@ flowchart, mindmap, sequence, timeline, chart, state-machine, gantt, er, class,
|
|
|
201
201
|
Create a canonical flowchart from inline JSON:
|
|
202
202
|
|
|
203
203
|
```sh
|
|
204
|
-
sketchi create --json '{"type":"flowchart","spec":{"id":"release-flow","title":"Release approval","nodes":
|
|
204
|
+
sketchi create --json '{"type":"flowchart","spec":{"id":"release-flow","title":"Release approval","nodes":{"start":"Change proposed","review":"Review evidence","end":"Release approved"},"edges":[["start","review"],["review","end"]]}}'
|
|
205
205
|
```
|
|
206
206
|
|
|
207
207
|
Inspect it, replace it with another complete canonical document, and list the
|
|
@@ -210,7 +210,7 @@ local store:
|
|
|
210
210
|
```sh
|
|
211
211
|
sketchi show release-flow
|
|
212
212
|
|
|
213
|
-
sketchi edit release-flow --json '{"type":"flowchart","spec":{"id":"release-flow","title":"Release approval revised","nodes":
|
|
213
|
+
sketchi edit release-flow --json '{"type":"flowchart","spec":{"id":"release-flow","title":"Release approval revised","nodes":{"start":"Change proposed","review":"Review complete evidence","end":"Release approved"},"edges":[["start","review"],["review","end"]]}}'
|
|
214
214
|
|
|
215
215
|
sketchi patch release-flow --json '{"operations":[{"op":"setStyle","selector":{"nodeIds":["review"]},"style":{"fillColor":"#dbeafe","strokeColor":"#2563eb"}}]}'
|
|
216
216
|
|