@diagrammo/dgmo 0.5.3 → 0.5.5
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 +16 -16
- package/dist/cli.cjs +158 -158
- package/dist/index.cjs +762 -318
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -23
- package/dist/index.d.ts +37 -23
- package/dist/index.js +761 -318
- package/dist/index.js.map +1 -1
- package/docs/language-reference.md +20 -2
- package/package.json +1 -1
- package/src/d3.ts +236 -204
- package/src/index.ts +3 -0
- package/src/infra/compute.ts +88 -10
- package/src/infra/layout.ts +97 -12
- package/src/infra/parser.ts +47 -4
- package/src/infra/renderer.ts +216 -42
- package/src/infra/roles.ts +15 -0
- package/src/infra/types.ts +7 -0
- package/src/initiative-status/collapse.ts +76 -0
- package/src/initiative-status/layout.ts +193 -26
- package/src/initiative-status/renderer.ts +94 -46
- package/src/org/layout.ts +5 -2
- package/src/org/renderer.ts +65 -11
- package/src/org/resolver.ts +1 -1
- package/src/sharing.ts +12 -0
|
@@ -394,7 +394,23 @@ Date formats: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`. Ranges: `start->end`. Durations:
|
|
|
394
394
|
|
|
395
395
|
Elements: `era start->end: Label(color)`, `marker date: Label(color)`, `## Group(color)` headers.
|
|
396
396
|
|
|
397
|
-
|
|
397
|
+
Tag groups for interactive coloring and swimlanes:
|
|
398
|
+
|
|
399
|
+
```
|
|
400
|
+
chart: timeline
|
|
401
|
+
sort: tag:Team
|
|
402
|
+
|
|
403
|
+
tag: Team
|
|
404
|
+
Engineering(blue)
|
|
405
|
+
Design(green)
|
|
406
|
+
|
|
407
|
+
2024-01->2024-06: Build API | Team: Engineering
|
|
408
|
+
2024-03->2024-05: UX Review | Team: Design
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
Options: `scale` (`on`/`off`), `sort` (`time`/`group`/`tag`/`tag:GroupName`), `swimlanes` (`on`/`off`).
|
|
412
|
+
|
|
413
|
+
Tag groups add interactive color and swimlane controls. `sort: tag` uses the first tag group for swimlanes; `sort: tag:GroupName` specifies which group (aliases work: `sort: tag:p` resolves to `sort: tag:Pirate`).
|
|
398
414
|
|
|
399
415
|
---
|
|
400
416
|
|
|
@@ -1071,7 +1087,9 @@ StaticServer | t: Platform
|
|
|
1071
1087
|
- `cb-error-threshold: N%` — circuit breaker opens when overload exceeds this ratio
|
|
1072
1088
|
- `cb-latency-threshold-ms: N` — circuit breaker opens when cumulative latency exceeds this
|
|
1073
1089
|
|
|
1074
|
-
**Connections**: `-> Target` (unlabeled), `-label-> Target` (labeled). Pipe metadata for splits: `-> Target | split: N%`.
|
|
1090
|
+
**Connections**: `-> Target` (unlabeled), `-label-> Target` (labeled). Pipe metadata for splits: `-> Target | split: N%`. Fan-out multiplier: `-> Target x5` or `-> Target | split: 50% x5`.
|
|
1091
|
+
|
|
1092
|
+
**Fan-out**: Append `xN` to a connection to model request multiplication — one inbound request triggers N outbound calls to the target. The target receives `inbound × N` RPS. Fan-out is applied after split: `-> Shards | split: 60% x8` means the target receives `inbound × 0.60 × 8` RPS. Fan-out compounds naturally through multi-hop chains.
|
|
1075
1093
|
|
|
1076
1094
|
**Branching**: Multiple outbound connections with `split: N%` metadata. Splits must sum to 100%. Undeclared splits are evenly distributed from the remaining percentage.
|
|
1077
1095
|
|