@diagrammo/dgmo 0.5.2 → 0.5.4

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.
@@ -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
- Options: `scale` (`on`/`off`), `sort` (`time`/`group`), `swimlanes` (`on`/`off`).
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagrammo/dgmo",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "DGMO diagram markup language — parser, renderer, and color system",
5
5
  "license": "MIT",
6
6
  "type": "module",