@spectratools/graphic-designer-cli 0.11.0 → 0.12.1

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.
@@ -485,6 +485,16 @@ declare const drawShadowSchema: z.ZodObject<{
485
485
  offsetY?: number | undefined;
486
486
  }>;
487
487
  declare const drawFontFamilySchema: z.ZodEnum<["heading", "body", "mono"]>;
488
+ declare const strokeGradientSchema: z.ZodObject<{
489
+ from: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
490
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
491
+ }, "strict", z.ZodTypeAny, {
492
+ from: string;
493
+ to: string;
494
+ }, {
495
+ from: string;
496
+ to: string;
497
+ }>;
488
498
  declare const drawRectSchema: z.ZodObject<{
489
499
  type: z.ZodLiteral<"rect">;
490
500
  x: z.ZodNumber;
@@ -576,9 +586,9 @@ declare const drawCircleSchema: z.ZodObject<{
576
586
  type: "circle";
577
587
  opacity: number;
578
588
  strokeWidth: number;
579
- radius: number;
580
589
  cx: number;
581
590
  cy: number;
591
+ radius: number;
582
592
  fill?: string | undefined;
583
593
  shadow?: {
584
594
  color: string;
@@ -589,9 +599,9 @@ declare const drawCircleSchema: z.ZodObject<{
589
599
  stroke?: string | undefined;
590
600
  }, {
591
601
  type: "circle";
592
- radius: number;
593
602
  cx: number;
594
603
  cy: number;
604
+ radius: number;
595
605
  fill?: string | undefined;
596
606
  opacity?: number | undefined;
597
607
  shadow?: {
@@ -634,8 +644,8 @@ declare const drawTextSchema: z.ZodObject<{
634
644
  offsetY?: number | undefined;
635
645
  }>>;
636
646
  }, "strict", z.ZodTypeAny, {
637
- type: "text";
638
647
  color: string;
648
+ type: "text";
639
649
  opacity: number;
640
650
  text: string;
641
651
  x: number;
@@ -681,6 +691,16 @@ declare const drawLineSchema: z.ZodObject<{
681
691
  x2: z.ZodNumber;
682
692
  y2: z.ZodNumber;
683
693
  color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
694
+ strokeGradient: z.ZodOptional<z.ZodObject<{
695
+ from: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
696
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
697
+ }, "strict", z.ZodTypeAny, {
698
+ from: string;
699
+ to: string;
700
+ }, {
701
+ from: string;
702
+ to: string;
703
+ }>>;
684
704
  width: z.ZodDefault<z.ZodNumber>;
685
705
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
686
706
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -704,8 +724,8 @@ declare const drawLineSchema: z.ZodObject<{
704
724
  }>>;
705
725
  }, "strict", z.ZodTypeAny, {
706
726
  width: number;
707
- type: "line";
708
727
  color: string;
728
+ type: "line";
709
729
  opacity: number;
710
730
  arrow: "end" | "start" | "both" | "none";
711
731
  arrowSize: number;
@@ -713,13 +733,17 @@ declare const drawLineSchema: z.ZodObject<{
713
733
  y1: number;
714
734
  x2: number;
715
735
  y2: number;
736
+ dash?: number[] | undefined;
716
737
  shadow?: {
717
738
  color: string;
718
739
  blur: number;
719
740
  offsetX: number;
720
741
  offsetY: number;
721
742
  } | undefined;
722
- dash?: number[] | undefined;
743
+ strokeGradient?: {
744
+ from: string;
745
+ to: string;
746
+ } | undefined;
723
747
  }, {
724
748
  type: "line";
725
749
  x1: number;
@@ -728,6 +752,7 @@ declare const drawLineSchema: z.ZodObject<{
728
752
  y2: number;
729
753
  width?: number | undefined;
730
754
  color?: string | undefined;
755
+ dash?: number[] | undefined;
731
756
  opacity?: number | undefined;
732
757
  shadow?: {
733
758
  color?: string | undefined;
@@ -737,7 +762,10 @@ declare const drawLineSchema: z.ZodObject<{
737
762
  } | undefined;
738
763
  arrow?: "end" | "start" | "both" | "none" | undefined;
739
764
  arrowSize?: number | undefined;
740
- dash?: number[] | undefined;
765
+ strokeGradient?: {
766
+ from: string;
767
+ to: string;
768
+ } | undefined;
741
769
  }>;
742
770
  declare const drawArcSchema: z.ZodObject<{
743
771
  type: z.ZodLiteral<"arc">;
@@ -776,34 +804,35 @@ declare const drawArcSchema: z.ZodObject<{
776
804
  }>>;
777
805
  }, "strict", z.ZodTypeAny, {
778
806
  width: number;
779
- type: "arc";
780
807
  color: string;
808
+ type: "arc";
781
809
  opacity: number;
782
810
  center: {
783
811
  x: number;
784
812
  y: number;
785
813
  };
786
- radius: number;
787
814
  startAngle: number;
815
+ radius: number;
788
816
  endAngle: number;
817
+ dash?: number[] | undefined;
789
818
  shadow?: {
790
819
  color: string;
791
820
  blur: number;
792
821
  offsetX: number;
793
822
  offsetY: number;
794
823
  } | undefined;
795
- dash?: number[] | undefined;
796
824
  }, {
797
825
  type: "arc";
798
826
  center: {
799
827
  x: number;
800
828
  y: number;
801
829
  };
802
- radius: number;
803
830
  startAngle: number;
831
+ radius: number;
804
832
  endAngle: number;
805
833
  width?: number | undefined;
806
834
  color?: string | undefined;
835
+ dash?: number[] | undefined;
807
836
  opacity?: number | undefined;
808
837
  shadow?: {
809
838
  color?: string | undefined;
@@ -811,7 +840,6 @@ declare const drawArcSchema: z.ZodObject<{
811
840
  offsetX?: number | undefined;
812
841
  offsetY?: number | undefined;
813
842
  } | undefined;
814
- dash?: number[] | undefined;
815
843
  }>;
816
844
  declare const drawPointSchema: z.ZodObject<{
817
845
  x: z.ZodNumber;
@@ -836,6 +864,16 @@ declare const drawBezierSchema: z.ZodObject<{
836
864
  y: number;
837
865
  }>, "many">;
838
866
  color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
867
+ strokeGradient: z.ZodOptional<z.ZodObject<{
868
+ from: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
869
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
870
+ }, "strict", z.ZodTypeAny, {
871
+ from: string;
872
+ to: string;
873
+ }, {
874
+ from: string;
875
+ to: string;
876
+ }>>;
839
877
  width: z.ZodDefault<z.ZodNumber>;
840
878
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
841
879
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -859,8 +897,8 @@ declare const drawBezierSchema: z.ZodObject<{
859
897
  }>>;
860
898
  }, "strict", z.ZodTypeAny, {
861
899
  width: number;
862
- type: "bezier";
863
900
  color: string;
901
+ type: "bezier";
864
902
  opacity: number;
865
903
  arrow: "end" | "start" | "both" | "none";
866
904
  arrowSize: number;
@@ -868,13 +906,17 @@ declare const drawBezierSchema: z.ZodObject<{
868
906
  x: number;
869
907
  y: number;
870
908
  }[];
909
+ dash?: number[] | undefined;
871
910
  shadow?: {
872
911
  color: string;
873
912
  blur: number;
874
913
  offsetX: number;
875
914
  offsetY: number;
876
915
  } | undefined;
877
- dash?: number[] | undefined;
916
+ strokeGradient?: {
917
+ from: string;
918
+ to: string;
919
+ } | undefined;
878
920
  }, {
879
921
  type: "bezier";
880
922
  points: {
@@ -883,6 +925,7 @@ declare const drawBezierSchema: z.ZodObject<{
883
925
  }[];
884
926
  width?: number | undefined;
885
927
  color?: string | undefined;
928
+ dash?: number[] | undefined;
886
929
  opacity?: number | undefined;
887
930
  shadow?: {
888
931
  color?: string | undefined;
@@ -892,7 +935,10 @@ declare const drawBezierSchema: z.ZodObject<{
892
935
  } | undefined;
893
936
  arrow?: "end" | "start" | "both" | "none" | undefined;
894
937
  arrowSize?: number | undefined;
895
- dash?: number[] | undefined;
938
+ strokeGradient?: {
939
+ from: string;
940
+ to: string;
941
+ } | undefined;
896
942
  }>;
897
943
  declare const drawPathSchema: z.ZodObject<{
898
944
  type: z.ZodLiteral<"path">;
@@ -974,8 +1020,8 @@ declare const drawBadgeSchema: z.ZodObject<{
974
1020
  offsetY?: number | undefined;
975
1021
  }>>;
976
1022
  }, "strict", z.ZodTypeAny, {
977
- type: "badge";
978
1023
  color: string;
1024
+ type: "badge";
979
1025
  opacity: number;
980
1026
  background: string;
981
1027
  text: string;
@@ -1175,8 +1221,8 @@ declare const drawGridSchema: z.ZodObject<{
1175
1221
  offsetY: z.ZodDefault<z.ZodNumber>;
1176
1222
  }, "strict", z.ZodTypeAny, {
1177
1223
  width: number;
1178
- type: "grid";
1179
1224
  color: string;
1225
+ type: "grid";
1180
1226
  opacity: number;
1181
1227
  offsetX: number;
1182
1228
  offsetY: number;
@@ -1366,9 +1412,9 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1366
1412
  type: "circle";
1367
1413
  opacity: number;
1368
1414
  strokeWidth: number;
1369
- radius: number;
1370
1415
  cx: number;
1371
1416
  cy: number;
1417
+ radius: number;
1372
1418
  fill?: string | undefined;
1373
1419
  shadow?: {
1374
1420
  color: string;
@@ -1379,9 +1425,9 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1379
1425
  stroke?: string | undefined;
1380
1426
  }, {
1381
1427
  type: "circle";
1382
- radius: number;
1383
1428
  cx: number;
1384
1429
  cy: number;
1430
+ radius: number;
1385
1431
  fill?: string | undefined;
1386
1432
  opacity?: number | undefined;
1387
1433
  shadow?: {
@@ -1423,8 +1469,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1423
1469
  offsetY?: number | undefined;
1424
1470
  }>>;
1425
1471
  }, "strict", z.ZodTypeAny, {
1426
- type: "text";
1427
1472
  color: string;
1473
+ type: "text";
1428
1474
  opacity: number;
1429
1475
  text: string;
1430
1476
  x: number;
@@ -1469,6 +1515,16 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1469
1515
  x2: z.ZodNumber;
1470
1516
  y2: z.ZodNumber;
1471
1517
  color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1518
+ strokeGradient: z.ZodOptional<z.ZodObject<{
1519
+ from: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1520
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1521
+ }, "strict", z.ZodTypeAny, {
1522
+ from: string;
1523
+ to: string;
1524
+ }, {
1525
+ from: string;
1526
+ to: string;
1527
+ }>>;
1472
1528
  width: z.ZodDefault<z.ZodNumber>;
1473
1529
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1474
1530
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -1492,8 +1548,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1492
1548
  }>>;
1493
1549
  }, "strict", z.ZodTypeAny, {
1494
1550
  width: number;
1495
- type: "line";
1496
1551
  color: string;
1552
+ type: "line";
1497
1553
  opacity: number;
1498
1554
  arrow: "end" | "start" | "both" | "none";
1499
1555
  arrowSize: number;
@@ -1501,13 +1557,17 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1501
1557
  y1: number;
1502
1558
  x2: number;
1503
1559
  y2: number;
1560
+ dash?: number[] | undefined;
1504
1561
  shadow?: {
1505
1562
  color: string;
1506
1563
  blur: number;
1507
1564
  offsetX: number;
1508
1565
  offsetY: number;
1509
1566
  } | undefined;
1510
- dash?: number[] | undefined;
1567
+ strokeGradient?: {
1568
+ from: string;
1569
+ to: string;
1570
+ } | undefined;
1511
1571
  }, {
1512
1572
  type: "line";
1513
1573
  x1: number;
@@ -1516,6 +1576,7 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1516
1576
  y2: number;
1517
1577
  width?: number | undefined;
1518
1578
  color?: string | undefined;
1579
+ dash?: number[] | undefined;
1519
1580
  opacity?: number | undefined;
1520
1581
  shadow?: {
1521
1582
  color?: string | undefined;
@@ -1525,7 +1586,10 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1525
1586
  } | undefined;
1526
1587
  arrow?: "end" | "start" | "both" | "none" | undefined;
1527
1588
  arrowSize?: number | undefined;
1528
- dash?: number[] | undefined;
1589
+ strokeGradient?: {
1590
+ from: string;
1591
+ to: string;
1592
+ } | undefined;
1529
1593
  }>, z.ZodObject<{
1530
1594
  type: z.ZodLiteral<"arc">;
1531
1595
  center: z.ZodObject<{
@@ -1563,34 +1627,35 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1563
1627
  }>>;
1564
1628
  }, "strict", z.ZodTypeAny, {
1565
1629
  width: number;
1566
- type: "arc";
1567
1630
  color: string;
1631
+ type: "arc";
1568
1632
  opacity: number;
1569
1633
  center: {
1570
1634
  x: number;
1571
1635
  y: number;
1572
1636
  };
1573
- radius: number;
1574
1637
  startAngle: number;
1638
+ radius: number;
1575
1639
  endAngle: number;
1640
+ dash?: number[] | undefined;
1576
1641
  shadow?: {
1577
1642
  color: string;
1578
1643
  blur: number;
1579
1644
  offsetX: number;
1580
1645
  offsetY: number;
1581
1646
  } | undefined;
1582
- dash?: number[] | undefined;
1583
1647
  }, {
1584
1648
  type: "arc";
1585
1649
  center: {
1586
1650
  x: number;
1587
1651
  y: number;
1588
1652
  };
1589
- radius: number;
1590
1653
  startAngle: number;
1654
+ radius: number;
1591
1655
  endAngle: number;
1592
1656
  width?: number | undefined;
1593
1657
  color?: string | undefined;
1658
+ dash?: number[] | undefined;
1594
1659
  opacity?: number | undefined;
1595
1660
  shadow?: {
1596
1661
  color?: string | undefined;
@@ -1598,7 +1663,6 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1598
1663
  offsetX?: number | undefined;
1599
1664
  offsetY?: number | undefined;
1600
1665
  } | undefined;
1601
- dash?: number[] | undefined;
1602
1666
  }>, z.ZodObject<{
1603
1667
  type: z.ZodLiteral<"bezier">;
1604
1668
  points: z.ZodArray<z.ZodObject<{
@@ -1612,6 +1676,16 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1612
1676
  y: number;
1613
1677
  }>, "many">;
1614
1678
  color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1679
+ strokeGradient: z.ZodOptional<z.ZodObject<{
1680
+ from: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1681
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1682
+ }, "strict", z.ZodTypeAny, {
1683
+ from: string;
1684
+ to: string;
1685
+ }, {
1686
+ from: string;
1687
+ to: string;
1688
+ }>>;
1615
1689
  width: z.ZodDefault<z.ZodNumber>;
1616
1690
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1617
1691
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -1635,8 +1709,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1635
1709
  }>>;
1636
1710
  }, "strict", z.ZodTypeAny, {
1637
1711
  width: number;
1638
- type: "bezier";
1639
1712
  color: string;
1713
+ type: "bezier";
1640
1714
  opacity: number;
1641
1715
  arrow: "end" | "start" | "both" | "none";
1642
1716
  arrowSize: number;
@@ -1644,13 +1718,17 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1644
1718
  x: number;
1645
1719
  y: number;
1646
1720
  }[];
1721
+ dash?: number[] | undefined;
1647
1722
  shadow?: {
1648
1723
  color: string;
1649
1724
  blur: number;
1650
1725
  offsetX: number;
1651
1726
  offsetY: number;
1652
1727
  } | undefined;
1653
- dash?: number[] | undefined;
1728
+ strokeGradient?: {
1729
+ from: string;
1730
+ to: string;
1731
+ } | undefined;
1654
1732
  }, {
1655
1733
  type: "bezier";
1656
1734
  points: {
@@ -1659,6 +1737,7 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1659
1737
  }[];
1660
1738
  width?: number | undefined;
1661
1739
  color?: string | undefined;
1740
+ dash?: number[] | undefined;
1662
1741
  opacity?: number | undefined;
1663
1742
  shadow?: {
1664
1743
  color?: string | undefined;
@@ -1668,7 +1747,10 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1668
1747
  } | undefined;
1669
1748
  arrow?: "end" | "start" | "both" | "none" | undefined;
1670
1749
  arrowSize?: number | undefined;
1671
- dash?: number[] | undefined;
1750
+ strokeGradient?: {
1751
+ from: string;
1752
+ to: string;
1753
+ } | undefined;
1672
1754
  }>, z.ZodObject<{
1673
1755
  type: z.ZodLiteral<"path">;
1674
1756
  d: z.ZodString;
@@ -1748,8 +1830,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1748
1830
  offsetY?: number | undefined;
1749
1831
  }>>;
1750
1832
  }, "strict", z.ZodTypeAny, {
1751
- type: "badge";
1752
1833
  color: string;
1834
+ type: "badge";
1753
1835
  opacity: number;
1754
1836
  background: string;
1755
1837
  text: string;
@@ -1947,8 +2029,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1947
2029
  offsetY: z.ZodDefault<z.ZodNumber>;
1948
2030
  }, "strict", z.ZodTypeAny, {
1949
2031
  width: number;
1950
- type: "grid";
1951
2032
  color: string;
2033
+ type: "grid";
1952
2034
  opacity: number;
1953
2035
  offsetX: number;
1954
2036
  offsetY: number;
@@ -2197,6 +2279,7 @@ declare const flowNodeElementSchema: z.ZodObject<{
2197
2279
  glowOpacity: number;
2198
2280
  width?: number | undefined;
2199
2281
  height?: number | undefined;
2282
+ color?: string | undefined;
2200
2283
  sublabel?: string | undefined;
2201
2284
  sublabelColor?: string | undefined;
2202
2285
  sublabel2?: string | undefined;
@@ -2204,7 +2287,6 @@ declare const flowNodeElementSchema: z.ZodObject<{
2204
2287
  sublabel2FontSize?: number | undefined;
2205
2288
  labelColor?: string | undefined;
2206
2289
  labelFontSize?: number | undefined;
2207
- color?: string | undefined;
2208
2290
  borderColor?: string | undefined;
2209
2291
  borderWidth?: number | undefined;
2210
2292
  cornerRadius?: number | undefined;
@@ -2226,6 +2308,7 @@ declare const flowNodeElementSchema: z.ZodObject<{
2226
2308
  label: string;
2227
2309
  width?: number | undefined;
2228
2310
  height?: number | undefined;
2311
+ color?: string | undefined;
2229
2312
  shape?: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram" | "hexagon" | undefined;
2230
2313
  sublabel?: string | undefined;
2231
2314
  sublabelColor?: string | undefined;
@@ -2234,7 +2317,6 @@ declare const flowNodeElementSchema: z.ZodObject<{
2234
2317
  sublabel2FontSize?: number | undefined;
2235
2318
  labelColor?: string | undefined;
2236
2319
  labelFontSize?: number | undefined;
2237
- color?: string | undefined;
2238
2320
  borderColor?: string | undefined;
2239
2321
  borderWidth?: number | undefined;
2240
2322
  cornerRadius?: number | undefined;
@@ -2322,8 +2404,8 @@ declare const connectionElementSchema: z.ZodObject<{
2322
2404
  curveMode: "normal" | "ellipse";
2323
2405
  tension: number;
2324
2406
  width?: number | undefined;
2325
- label?: string | undefined;
2326
2407
  color?: string | undefined;
2408
+ label?: string | undefined;
2327
2409
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
2328
2410
  fromColor?: string | undefined;
2329
2411
  toColor?: string | undefined;
@@ -2341,8 +2423,8 @@ declare const connectionElementSchema: z.ZodObject<{
2341
2423
  from: string;
2342
2424
  to: string;
2343
2425
  width?: number | undefined;
2344
- label?: string | undefined;
2345
2426
  color?: string | undefined;
2427
+ label?: string | undefined;
2346
2428
  opacity?: number | undefined;
2347
2429
  style?: "solid" | "dashed" | "dotted" | undefined;
2348
2430
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
@@ -2722,6 +2804,7 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2722
2804
  glowOpacity: number;
2723
2805
  width?: number | undefined;
2724
2806
  height?: number | undefined;
2807
+ color?: string | undefined;
2725
2808
  sublabel?: string | undefined;
2726
2809
  sublabelColor?: string | undefined;
2727
2810
  sublabel2?: string | undefined;
@@ -2729,7 +2812,6 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2729
2812
  sublabel2FontSize?: number | undefined;
2730
2813
  labelColor?: string | undefined;
2731
2814
  labelFontSize?: number | undefined;
2732
- color?: string | undefined;
2733
2815
  borderColor?: string | undefined;
2734
2816
  borderWidth?: number | undefined;
2735
2817
  cornerRadius?: number | undefined;
@@ -2751,6 +2833,7 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2751
2833
  label: string;
2752
2834
  width?: number | undefined;
2753
2835
  height?: number | undefined;
2836
+ color?: string | undefined;
2754
2837
  shape?: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram" | "hexagon" | undefined;
2755
2838
  sublabel?: string | undefined;
2756
2839
  sublabelColor?: string | undefined;
@@ -2759,7 +2842,6 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2759
2842
  sublabel2FontSize?: number | undefined;
2760
2843
  labelColor?: string | undefined;
2761
2844
  labelFontSize?: number | undefined;
2762
- color?: string | undefined;
2763
2845
  borderColor?: string | undefined;
2764
2846
  borderWidth?: number | undefined;
2765
2847
  cornerRadius?: number | undefined;
@@ -2836,8 +2918,8 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2836
2918
  curveMode: "normal" | "ellipse";
2837
2919
  tension: number;
2838
2920
  width?: number | undefined;
2839
- label?: string | undefined;
2840
2921
  color?: string | undefined;
2922
+ label?: string | undefined;
2841
2923
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
2842
2924
  fromColor?: string | undefined;
2843
2925
  toColor?: string | undefined;
@@ -2855,8 +2937,8 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2855
2937
  from: string;
2856
2938
  to: string;
2857
2939
  width?: number | undefined;
2858
- label?: string | undefined;
2859
2940
  color?: string | undefined;
2941
+ label?: string | undefined;
2860
2942
  opacity?: number | undefined;
2861
2943
  style?: "solid" | "dashed" | "dotted" | undefined;
2862
2944
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
@@ -3269,6 +3351,55 @@ declare const stackLayoutConfigSchema: z.ZodObject<{
3269
3351
  ellipseRx?: number | undefined;
3270
3352
  ellipseRy?: number | undefined;
3271
3353
  }>;
3354
+ declare const ellipseLayoutConfigSchema: z.ZodObject<{
3355
+ mode: z.ZodLiteral<"ellipse">;
3356
+ cx: z.ZodOptional<z.ZodNumber>;
3357
+ cy: z.ZodOptional<z.ZodNumber>;
3358
+ rx: z.ZodNumber;
3359
+ ry: z.ZodNumber;
3360
+ startAngle: z.ZodDefault<z.ZodNumber>;
3361
+ /** Explicit center used by curve/arc connection routing. */
3362
+ diagramCenter: z.ZodOptional<z.ZodObject<{
3363
+ x: z.ZodNumber;
3364
+ y: z.ZodNumber;
3365
+ }, "strict", z.ZodTypeAny, {
3366
+ x: number;
3367
+ y: number;
3368
+ }, {
3369
+ x: number;
3370
+ y: number;
3371
+ }>>;
3372
+ /** Horizontal radius for shared ellipse used by curveMode: 'ellipse'. */
3373
+ ellipseRx: z.ZodOptional<z.ZodNumber>;
3374
+ /** Vertical radius for shared ellipse used by curveMode: 'ellipse'. */
3375
+ ellipseRy: z.ZodOptional<z.ZodNumber>;
3376
+ }, "strict", z.ZodTypeAny, {
3377
+ mode: "ellipse";
3378
+ rx: number;
3379
+ ry: number;
3380
+ startAngle: number;
3381
+ diagramCenter?: {
3382
+ x: number;
3383
+ y: number;
3384
+ } | undefined;
3385
+ ellipseRx?: number | undefined;
3386
+ ellipseRy?: number | undefined;
3387
+ cx?: number | undefined;
3388
+ cy?: number | undefined;
3389
+ }, {
3390
+ mode: "ellipse";
3391
+ rx: number;
3392
+ ry: number;
3393
+ diagramCenter?: {
3394
+ x: number;
3395
+ y: number;
3396
+ } | undefined;
3397
+ ellipseRx?: number | undefined;
3398
+ ellipseRy?: number | undefined;
3399
+ cx?: number | undefined;
3400
+ cy?: number | undefined;
3401
+ startAngle?: number | undefined;
3402
+ }>;
3272
3403
  declare const manualLayoutConfigSchema: z.ZodObject<{
3273
3404
  mode: z.ZodLiteral<"manual">;
3274
3405
  positions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -3488,6 +3619,54 @@ declare const layoutConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
3488
3619
  } | undefined;
3489
3620
  ellipseRx?: number | undefined;
3490
3621
  ellipseRy?: number | undefined;
3622
+ }>, z.ZodObject<{
3623
+ mode: z.ZodLiteral<"ellipse">;
3624
+ cx: z.ZodOptional<z.ZodNumber>;
3625
+ cy: z.ZodOptional<z.ZodNumber>;
3626
+ rx: z.ZodNumber;
3627
+ ry: z.ZodNumber;
3628
+ startAngle: z.ZodDefault<z.ZodNumber>;
3629
+ /** Explicit center used by curve/arc connection routing. */
3630
+ diagramCenter: z.ZodOptional<z.ZodObject<{
3631
+ x: z.ZodNumber;
3632
+ y: z.ZodNumber;
3633
+ }, "strict", z.ZodTypeAny, {
3634
+ x: number;
3635
+ y: number;
3636
+ }, {
3637
+ x: number;
3638
+ y: number;
3639
+ }>>;
3640
+ /** Horizontal radius for shared ellipse used by curveMode: 'ellipse'. */
3641
+ ellipseRx: z.ZodOptional<z.ZodNumber>;
3642
+ /** Vertical radius for shared ellipse used by curveMode: 'ellipse'. */
3643
+ ellipseRy: z.ZodOptional<z.ZodNumber>;
3644
+ }, "strict", z.ZodTypeAny, {
3645
+ mode: "ellipse";
3646
+ rx: number;
3647
+ ry: number;
3648
+ startAngle: number;
3649
+ diagramCenter?: {
3650
+ x: number;
3651
+ y: number;
3652
+ } | undefined;
3653
+ ellipseRx?: number | undefined;
3654
+ ellipseRy?: number | undefined;
3655
+ cx?: number | undefined;
3656
+ cy?: number | undefined;
3657
+ }, {
3658
+ mode: "ellipse";
3659
+ rx: number;
3660
+ ry: number;
3661
+ diagramCenter?: {
3662
+ x: number;
3663
+ y: number;
3664
+ } | undefined;
3665
+ ellipseRx?: number | undefined;
3666
+ ellipseRy?: number | undefined;
3667
+ cx?: number | undefined;
3668
+ cy?: number | undefined;
3669
+ startAngle?: number | undefined;
3491
3670
  }>, z.ZodObject<{
3492
3671
  mode: z.ZodLiteral<"manual">;
3493
3672
  positions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -3592,8 +3771,8 @@ declare const decoratorSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3592
3771
  intensity: z.ZodDefault<z.ZodNumber>;
3593
3772
  color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3594
3773
  }, "strict", z.ZodTypeAny, {
3595
- type: "vignette";
3596
3774
  color: string;
3775
+ type: "vignette";
3597
3776
  intensity: number;
3598
3777
  }, {
3599
3778
  type: "vignette";
@@ -3903,6 +4082,7 @@ declare const diagramElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
3903
4082
  glowOpacity: number;
3904
4083
  width?: number | undefined;
3905
4084
  height?: number | undefined;
4085
+ color?: string | undefined;
3906
4086
  sublabel?: string | undefined;
3907
4087
  sublabelColor?: string | undefined;
3908
4088
  sublabel2?: string | undefined;
@@ -3910,7 +4090,6 @@ declare const diagramElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
3910
4090
  sublabel2FontSize?: number | undefined;
3911
4091
  labelColor?: string | undefined;
3912
4092
  labelFontSize?: number | undefined;
3913
- color?: string | undefined;
3914
4093
  borderColor?: string | undefined;
3915
4094
  borderWidth?: number | undefined;
3916
4095
  cornerRadius?: number | undefined;
@@ -3932,6 +4111,7 @@ declare const diagramElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
3932
4111
  label: string;
3933
4112
  width?: number | undefined;
3934
4113
  height?: number | undefined;
4114
+ color?: string | undefined;
3935
4115
  shape?: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram" | "hexagon" | undefined;
3936
4116
  sublabel?: string | undefined;
3937
4117
  sublabelColor?: string | undefined;
@@ -3940,7 +4120,6 @@ declare const diagramElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
3940
4120
  sublabel2FontSize?: number | undefined;
3941
4121
  labelColor?: string | undefined;
3942
4122
  labelFontSize?: number | undefined;
3943
- color?: string | undefined;
3944
4123
  borderColor?: string | undefined;
3945
4124
  borderWidth?: number | undefined;
3946
4125
  cornerRadius?: number | undefined;
@@ -4017,8 +4196,8 @@ declare const diagramElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
4017
4196
  curveMode: "normal" | "ellipse";
4018
4197
  tension: number;
4019
4198
  width?: number | undefined;
4020
- label?: string | undefined;
4021
4199
  color?: string | undefined;
4200
+ label?: string | undefined;
4022
4201
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
4023
4202
  fromColor?: string | undefined;
4024
4203
  toColor?: string | undefined;
@@ -4036,8 +4215,8 @@ declare const diagramElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
4036
4215
  from: string;
4037
4216
  to: string;
4038
4217
  width?: number | undefined;
4039
- label?: string | undefined;
4040
4218
  color?: string | undefined;
4219
+ label?: string | undefined;
4041
4220
  opacity?: number | undefined;
4042
4221
  style?: "solid" | "dashed" | "dotted" | undefined;
4043
4222
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
@@ -4327,6 +4506,7 @@ declare const diagramSpecSchema: z.ZodObject<{
4327
4506
  glowOpacity: number;
4328
4507
  width?: number | undefined;
4329
4508
  height?: number | undefined;
4509
+ color?: string | undefined;
4330
4510
  sublabel?: string | undefined;
4331
4511
  sublabelColor?: string | undefined;
4332
4512
  sublabel2?: string | undefined;
@@ -4334,7 +4514,6 @@ declare const diagramSpecSchema: z.ZodObject<{
4334
4514
  sublabel2FontSize?: number | undefined;
4335
4515
  labelColor?: string | undefined;
4336
4516
  labelFontSize?: number | undefined;
4337
- color?: string | undefined;
4338
4517
  borderColor?: string | undefined;
4339
4518
  borderWidth?: number | undefined;
4340
4519
  cornerRadius?: number | undefined;
@@ -4356,6 +4535,7 @@ declare const diagramSpecSchema: z.ZodObject<{
4356
4535
  label: string;
4357
4536
  width?: number | undefined;
4358
4537
  height?: number | undefined;
4538
+ color?: string | undefined;
4359
4539
  shape?: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram" | "hexagon" | undefined;
4360
4540
  sublabel?: string | undefined;
4361
4541
  sublabelColor?: string | undefined;
@@ -4364,7 +4544,6 @@ declare const diagramSpecSchema: z.ZodObject<{
4364
4544
  sublabel2FontSize?: number | undefined;
4365
4545
  labelColor?: string | undefined;
4366
4546
  labelFontSize?: number | undefined;
4367
- color?: string | undefined;
4368
4547
  borderColor?: string | undefined;
4369
4548
  borderWidth?: number | undefined;
4370
4549
  cornerRadius?: number | undefined;
@@ -4441,8 +4620,8 @@ declare const diagramSpecSchema: z.ZodObject<{
4441
4620
  curveMode: "normal" | "ellipse";
4442
4621
  tension: number;
4443
4622
  width?: number | undefined;
4444
- label?: string | undefined;
4445
4623
  color?: string | undefined;
4624
+ label?: string | undefined;
4446
4625
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
4447
4626
  fromColor?: string | undefined;
4448
4627
  toColor?: string | undefined;
@@ -4460,8 +4639,8 @@ declare const diagramSpecSchema: z.ZodObject<{
4460
4639
  from: string;
4461
4640
  to: string;
4462
4641
  width?: number | undefined;
4463
- label?: string | undefined;
4464
4642
  color?: string | undefined;
4643
+ label?: string | undefined;
4465
4644
  opacity?: number | undefined;
4466
4645
  style?: "solid" | "dashed" | "dotted" | undefined;
4467
4646
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
@@ -4564,6 +4743,7 @@ declare const diagramSpecSchema: z.ZodObject<{
4564
4743
  glowOpacity: number;
4565
4744
  width?: number | undefined;
4566
4745
  height?: number | undefined;
4746
+ color?: string | undefined;
4567
4747
  sublabel?: string | undefined;
4568
4748
  sublabelColor?: string | undefined;
4569
4749
  sublabel2?: string | undefined;
@@ -4571,7 +4751,6 @@ declare const diagramSpecSchema: z.ZodObject<{
4571
4751
  sublabel2FontSize?: number | undefined;
4572
4752
  labelColor?: string | undefined;
4573
4753
  labelFontSize?: number | undefined;
4574
- color?: string | undefined;
4575
4754
  borderColor?: string | undefined;
4576
4755
  borderWidth?: number | undefined;
4577
4756
  cornerRadius?: number | undefined;
@@ -4601,8 +4780,8 @@ declare const diagramSpecSchema: z.ZodObject<{
4601
4780
  curveMode: "normal" | "ellipse";
4602
4781
  tension: number;
4603
4782
  width?: number | undefined;
4604
- label?: string | undefined;
4605
4783
  color?: string | undefined;
4784
+ label?: string | undefined;
4606
4785
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
4607
4786
  fromColor?: string | undefined;
4608
4787
  toColor?: string | undefined;
@@ -4674,6 +4853,7 @@ declare const diagramSpecSchema: z.ZodObject<{
4674
4853
  label: string;
4675
4854
  width?: number | undefined;
4676
4855
  height?: number | undefined;
4856
+ color?: string | undefined;
4677
4857
  shape?: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram" | "hexagon" | undefined;
4678
4858
  sublabel?: string | undefined;
4679
4859
  sublabelColor?: string | undefined;
@@ -4682,7 +4862,6 @@ declare const diagramSpecSchema: z.ZodObject<{
4682
4862
  sublabel2FontSize?: number | undefined;
4683
4863
  labelColor?: string | undefined;
4684
4864
  labelFontSize?: number | undefined;
4685
- color?: string | undefined;
4686
4865
  borderColor?: string | undefined;
4687
4866
  borderWidth?: number | undefined;
4688
4867
  cornerRadius?: number | undefined;
@@ -4709,8 +4888,8 @@ declare const diagramSpecSchema: z.ZodObject<{
4709
4888
  from: string;
4710
4889
  to: string;
4711
4890
  width?: number | undefined;
4712
- label?: string | undefined;
4713
4891
  color?: string | undefined;
4892
+ label?: string | undefined;
4714
4893
  opacity?: number | undefined;
4715
4894
  style?: "solid" | "dashed" | "dotted" | undefined;
4716
4895
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
@@ -5111,6 +5290,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5111
5290
  glowOpacity: number;
5112
5291
  width?: number | undefined;
5113
5292
  height?: number | undefined;
5293
+ color?: string | undefined;
5114
5294
  sublabel?: string | undefined;
5115
5295
  sublabelColor?: string | undefined;
5116
5296
  sublabel2?: string | undefined;
@@ -5118,7 +5298,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5118
5298
  sublabel2FontSize?: number | undefined;
5119
5299
  labelColor?: string | undefined;
5120
5300
  labelFontSize?: number | undefined;
5121
- color?: string | undefined;
5122
5301
  borderColor?: string | undefined;
5123
5302
  borderWidth?: number | undefined;
5124
5303
  cornerRadius?: number | undefined;
@@ -5140,6 +5319,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5140
5319
  label: string;
5141
5320
  width?: number | undefined;
5142
5321
  height?: number | undefined;
5322
+ color?: string | undefined;
5143
5323
  shape?: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram" | "hexagon" | undefined;
5144
5324
  sublabel?: string | undefined;
5145
5325
  sublabelColor?: string | undefined;
@@ -5148,7 +5328,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5148
5328
  sublabel2FontSize?: number | undefined;
5149
5329
  labelColor?: string | undefined;
5150
5330
  labelFontSize?: number | undefined;
5151
- color?: string | undefined;
5152
5331
  borderColor?: string | undefined;
5153
5332
  borderWidth?: number | undefined;
5154
5333
  cornerRadius?: number | undefined;
@@ -5225,8 +5404,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5225
5404
  curveMode: "normal" | "ellipse";
5226
5405
  tension: number;
5227
5406
  width?: number | undefined;
5228
- label?: string | undefined;
5229
5407
  color?: string | undefined;
5408
+ label?: string | undefined;
5230
5409
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
5231
5410
  fromColor?: string | undefined;
5232
5411
  toColor?: string | undefined;
@@ -5244,8 +5423,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5244
5423
  from: string;
5245
5424
  to: string;
5246
5425
  width?: number | undefined;
5247
- label?: string | undefined;
5248
5426
  color?: string | undefined;
5427
+ label?: string | undefined;
5249
5428
  opacity?: number | undefined;
5250
5429
  style?: "solid" | "dashed" | "dotted" | undefined;
5251
5430
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
@@ -5534,8 +5713,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5534
5713
  intensity: z.ZodDefault<z.ZodNumber>;
5535
5714
  color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
5536
5715
  }, "strict", z.ZodTypeAny, {
5537
- type: "vignette";
5538
5716
  color: string;
5717
+ type: "vignette";
5539
5718
  intensity: number;
5540
5719
  }, {
5541
5720
  type: "vignette";
@@ -5741,9 +5920,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5741
5920
  type: "circle";
5742
5921
  opacity: number;
5743
5922
  strokeWidth: number;
5744
- radius: number;
5745
5923
  cx: number;
5746
5924
  cy: number;
5925
+ radius: number;
5747
5926
  fill?: string | undefined;
5748
5927
  shadow?: {
5749
5928
  color: string;
@@ -5754,9 +5933,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5754
5933
  stroke?: string | undefined;
5755
5934
  }, {
5756
5935
  type: "circle";
5757
- radius: number;
5758
5936
  cx: number;
5759
5937
  cy: number;
5938
+ radius: number;
5760
5939
  fill?: string | undefined;
5761
5940
  opacity?: number | undefined;
5762
5941
  shadow?: {
@@ -5798,8 +5977,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5798
5977
  offsetY?: number | undefined;
5799
5978
  }>>;
5800
5979
  }, "strict", z.ZodTypeAny, {
5801
- type: "text";
5802
5980
  color: string;
5981
+ type: "text";
5803
5982
  opacity: number;
5804
5983
  text: string;
5805
5984
  x: number;
@@ -5844,6 +6023,16 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5844
6023
  x2: z.ZodNumber;
5845
6024
  y2: z.ZodNumber;
5846
6025
  color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
6026
+ strokeGradient: z.ZodOptional<z.ZodObject<{
6027
+ from: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6028
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6029
+ }, "strict", z.ZodTypeAny, {
6030
+ from: string;
6031
+ to: string;
6032
+ }, {
6033
+ from: string;
6034
+ to: string;
6035
+ }>>;
5847
6036
  width: z.ZodDefault<z.ZodNumber>;
5848
6037
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
5849
6038
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -5867,8 +6056,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5867
6056
  }>>;
5868
6057
  }, "strict", z.ZodTypeAny, {
5869
6058
  width: number;
5870
- type: "line";
5871
6059
  color: string;
6060
+ type: "line";
5872
6061
  opacity: number;
5873
6062
  arrow: "end" | "start" | "both" | "none";
5874
6063
  arrowSize: number;
@@ -5876,13 +6065,17 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5876
6065
  y1: number;
5877
6066
  x2: number;
5878
6067
  y2: number;
6068
+ dash?: number[] | undefined;
5879
6069
  shadow?: {
5880
6070
  color: string;
5881
6071
  blur: number;
5882
6072
  offsetX: number;
5883
6073
  offsetY: number;
5884
6074
  } | undefined;
5885
- dash?: number[] | undefined;
6075
+ strokeGradient?: {
6076
+ from: string;
6077
+ to: string;
6078
+ } | undefined;
5886
6079
  }, {
5887
6080
  type: "line";
5888
6081
  x1: number;
@@ -5891,6 +6084,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5891
6084
  y2: number;
5892
6085
  width?: number | undefined;
5893
6086
  color?: string | undefined;
6087
+ dash?: number[] | undefined;
5894
6088
  opacity?: number | undefined;
5895
6089
  shadow?: {
5896
6090
  color?: string | undefined;
@@ -5900,7 +6094,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5900
6094
  } | undefined;
5901
6095
  arrow?: "end" | "start" | "both" | "none" | undefined;
5902
6096
  arrowSize?: number | undefined;
5903
- dash?: number[] | undefined;
6097
+ strokeGradient?: {
6098
+ from: string;
6099
+ to: string;
6100
+ } | undefined;
5904
6101
  }>, z.ZodObject<{
5905
6102
  type: z.ZodLiteral<"arc">;
5906
6103
  center: z.ZodObject<{
@@ -5938,34 +6135,35 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5938
6135
  }>>;
5939
6136
  }, "strict", z.ZodTypeAny, {
5940
6137
  width: number;
5941
- type: "arc";
5942
6138
  color: string;
6139
+ type: "arc";
5943
6140
  opacity: number;
5944
6141
  center: {
5945
6142
  x: number;
5946
6143
  y: number;
5947
6144
  };
5948
- radius: number;
5949
6145
  startAngle: number;
6146
+ radius: number;
5950
6147
  endAngle: number;
6148
+ dash?: number[] | undefined;
5951
6149
  shadow?: {
5952
6150
  color: string;
5953
6151
  blur: number;
5954
6152
  offsetX: number;
5955
6153
  offsetY: number;
5956
6154
  } | undefined;
5957
- dash?: number[] | undefined;
5958
6155
  }, {
5959
6156
  type: "arc";
5960
6157
  center: {
5961
6158
  x: number;
5962
6159
  y: number;
5963
6160
  };
5964
- radius: number;
5965
6161
  startAngle: number;
6162
+ radius: number;
5966
6163
  endAngle: number;
5967
6164
  width?: number | undefined;
5968
6165
  color?: string | undefined;
6166
+ dash?: number[] | undefined;
5969
6167
  opacity?: number | undefined;
5970
6168
  shadow?: {
5971
6169
  color?: string | undefined;
@@ -5973,7 +6171,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5973
6171
  offsetX?: number | undefined;
5974
6172
  offsetY?: number | undefined;
5975
6173
  } | undefined;
5976
- dash?: number[] | undefined;
5977
6174
  }>, z.ZodObject<{
5978
6175
  type: z.ZodLiteral<"bezier">;
5979
6176
  points: z.ZodArray<z.ZodObject<{
@@ -5987,6 +6184,16 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
5987
6184
  y: number;
5988
6185
  }>, "many">;
5989
6186
  color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
6187
+ strokeGradient: z.ZodOptional<z.ZodObject<{
6188
+ from: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6189
+ to: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6190
+ }, "strict", z.ZodTypeAny, {
6191
+ from: string;
6192
+ to: string;
6193
+ }, {
6194
+ from: string;
6195
+ to: string;
6196
+ }>>;
5990
6197
  width: z.ZodDefault<z.ZodNumber>;
5991
6198
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
5992
6199
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -6010,8 +6217,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6010
6217
  }>>;
6011
6218
  }, "strict", z.ZodTypeAny, {
6012
6219
  width: number;
6013
- type: "bezier";
6014
6220
  color: string;
6221
+ type: "bezier";
6015
6222
  opacity: number;
6016
6223
  arrow: "end" | "start" | "both" | "none";
6017
6224
  arrowSize: number;
@@ -6019,13 +6226,17 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6019
6226
  x: number;
6020
6227
  y: number;
6021
6228
  }[];
6229
+ dash?: number[] | undefined;
6022
6230
  shadow?: {
6023
6231
  color: string;
6024
6232
  blur: number;
6025
6233
  offsetX: number;
6026
6234
  offsetY: number;
6027
6235
  } | undefined;
6028
- dash?: number[] | undefined;
6236
+ strokeGradient?: {
6237
+ from: string;
6238
+ to: string;
6239
+ } | undefined;
6029
6240
  }, {
6030
6241
  type: "bezier";
6031
6242
  points: {
@@ -6034,6 +6245,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6034
6245
  }[];
6035
6246
  width?: number | undefined;
6036
6247
  color?: string | undefined;
6248
+ dash?: number[] | undefined;
6037
6249
  opacity?: number | undefined;
6038
6250
  shadow?: {
6039
6251
  color?: string | undefined;
@@ -6043,7 +6255,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6043
6255
  } | undefined;
6044
6256
  arrow?: "end" | "start" | "both" | "none" | undefined;
6045
6257
  arrowSize?: number | undefined;
6046
- dash?: number[] | undefined;
6258
+ strokeGradient?: {
6259
+ from: string;
6260
+ to: string;
6261
+ } | undefined;
6047
6262
  }>, z.ZodObject<{
6048
6263
  type: z.ZodLiteral<"path">;
6049
6264
  d: z.ZodString;
@@ -6123,8 +6338,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6123
6338
  offsetY?: number | undefined;
6124
6339
  }>>;
6125
6340
  }, "strict", z.ZodTypeAny, {
6126
- type: "badge";
6127
6341
  color: string;
6342
+ type: "badge";
6128
6343
  opacity: number;
6129
6344
  background: string;
6130
6345
  text: string;
@@ -6322,8 +6537,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6322
6537
  offsetY: z.ZodDefault<z.ZodNumber>;
6323
6538
  }, "strict", z.ZodTypeAny, {
6324
6539
  width: number;
6325
- type: "grid";
6326
6540
  color: string;
6541
+ type: "grid";
6327
6542
  opacity: number;
6328
6543
  offsetX: number;
6329
6544
  offsetY: number;
@@ -6560,6 +6775,54 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6560
6775
  } | undefined;
6561
6776
  ellipseRx?: number | undefined;
6562
6777
  ellipseRy?: number | undefined;
6778
+ }>, z.ZodObject<{
6779
+ mode: z.ZodLiteral<"ellipse">;
6780
+ cx: z.ZodOptional<z.ZodNumber>;
6781
+ cy: z.ZodOptional<z.ZodNumber>;
6782
+ rx: z.ZodNumber;
6783
+ ry: z.ZodNumber;
6784
+ startAngle: z.ZodDefault<z.ZodNumber>;
6785
+ /** Explicit center used by curve/arc connection routing. */
6786
+ diagramCenter: z.ZodOptional<z.ZodObject<{
6787
+ x: z.ZodNumber;
6788
+ y: z.ZodNumber;
6789
+ }, "strict", z.ZodTypeAny, {
6790
+ x: number;
6791
+ y: number;
6792
+ }, {
6793
+ x: number;
6794
+ y: number;
6795
+ }>>;
6796
+ /** Horizontal radius for shared ellipse used by curveMode: 'ellipse'. */
6797
+ ellipseRx: z.ZodOptional<z.ZodNumber>;
6798
+ /** Vertical radius for shared ellipse used by curveMode: 'ellipse'. */
6799
+ ellipseRy: z.ZodOptional<z.ZodNumber>;
6800
+ }, "strict", z.ZodTypeAny, {
6801
+ mode: "ellipse";
6802
+ rx: number;
6803
+ ry: number;
6804
+ startAngle: number;
6805
+ diagramCenter?: {
6806
+ x: number;
6807
+ y: number;
6808
+ } | undefined;
6809
+ ellipseRx?: number | undefined;
6810
+ ellipseRy?: number | undefined;
6811
+ cx?: number | undefined;
6812
+ cy?: number | undefined;
6813
+ }, {
6814
+ mode: "ellipse";
6815
+ rx: number;
6816
+ ry: number;
6817
+ diagramCenter?: {
6818
+ x: number;
6819
+ y: number;
6820
+ } | undefined;
6821
+ ellipseRx?: number | undefined;
6822
+ ellipseRy?: number | undefined;
6823
+ cx?: number | undefined;
6824
+ cy?: number | undefined;
6825
+ startAngle?: number | undefined;
6563
6826
  }>, z.ZodObject<{
6564
6827
  mode: z.ZodLiteral<"manual">;
6565
6828
  positions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6660,9 +6923,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6660
6923
  type: "circle";
6661
6924
  opacity: number;
6662
6925
  strokeWidth: number;
6663
- radius: number;
6664
6926
  cx: number;
6665
6927
  cy: number;
6928
+ radius: number;
6666
6929
  fill?: string | undefined;
6667
6930
  shadow?: {
6668
6931
  color: string;
@@ -6672,8 +6935,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6672
6935
  } | undefined;
6673
6936
  stroke?: string | undefined;
6674
6937
  } | {
6675
- type: "text";
6676
6938
  color: string;
6939
+ type: "text";
6677
6940
  opacity: number;
6678
6941
  text: string;
6679
6942
  x: number;
@@ -6693,8 +6956,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6693
6956
  maxWidth?: number | undefined;
6694
6957
  } | {
6695
6958
  width: number;
6696
- type: "line";
6697
6959
  color: string;
6960
+ type: "line";
6698
6961
  opacity: number;
6699
6962
  arrow: "end" | "start" | "both" | "none";
6700
6963
  arrowSize: number;
@@ -6702,36 +6965,40 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6702
6965
  y1: number;
6703
6966
  x2: number;
6704
6967
  y2: number;
6968
+ dash?: number[] | undefined;
6705
6969
  shadow?: {
6706
6970
  color: string;
6707
6971
  blur: number;
6708
6972
  offsetX: number;
6709
6973
  offsetY: number;
6710
6974
  } | undefined;
6711
- dash?: number[] | undefined;
6975
+ strokeGradient?: {
6976
+ from: string;
6977
+ to: string;
6978
+ } | undefined;
6712
6979
  } | {
6713
6980
  width: number;
6714
- type: "arc";
6715
6981
  color: string;
6982
+ type: "arc";
6716
6983
  opacity: number;
6717
6984
  center: {
6718
6985
  x: number;
6719
6986
  y: number;
6720
6987
  };
6721
- radius: number;
6722
6988
  startAngle: number;
6989
+ radius: number;
6723
6990
  endAngle: number;
6991
+ dash?: number[] | undefined;
6724
6992
  shadow?: {
6725
6993
  color: string;
6726
6994
  blur: number;
6727
6995
  offsetX: number;
6728
6996
  offsetY: number;
6729
6997
  } | undefined;
6730
- dash?: number[] | undefined;
6731
6998
  } | {
6732
6999
  width: number;
6733
- type: "bezier";
6734
7000
  color: string;
7001
+ type: "bezier";
6735
7002
  opacity: number;
6736
7003
  arrow: "end" | "start" | "both" | "none";
6737
7004
  arrowSize: number;
@@ -6739,13 +7006,17 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6739
7006
  x: number;
6740
7007
  y: number;
6741
7008
  }[];
7009
+ dash?: number[] | undefined;
6742
7010
  shadow?: {
6743
7011
  color: string;
6744
7012
  blur: number;
6745
7013
  offsetX: number;
6746
7014
  offsetY: number;
6747
7015
  } | undefined;
6748
- dash?: number[] | undefined;
7016
+ strokeGradient?: {
7017
+ from: string;
7018
+ to: string;
7019
+ } | undefined;
6749
7020
  } | {
6750
7021
  type: "path";
6751
7022
  opacity: number;
@@ -6760,8 +7031,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6760
7031
  } | undefined;
6761
7032
  stroke?: string | undefined;
6762
7033
  } | {
6763
- type: "badge";
6764
7034
  color: string;
7035
+ type: "badge";
6765
7036
  opacity: number;
6766
7037
  background: string;
6767
7038
  text: string;
@@ -6812,8 +7083,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6812
7083
  } | undefined;
6813
7084
  } | {
6814
7085
  width: number;
6815
- type: "grid";
6816
7086
  color: string;
7087
+ type: "grid";
6817
7088
  opacity: number;
6818
7089
  offsetX: number;
6819
7090
  offsetY: number;
@@ -6891,6 +7162,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6891
7162
  glowOpacity: number;
6892
7163
  width?: number | undefined;
6893
7164
  height?: number | undefined;
7165
+ color?: string | undefined;
6894
7166
  sublabel?: string | undefined;
6895
7167
  sublabelColor?: string | undefined;
6896
7168
  sublabel2?: string | undefined;
@@ -6898,7 +7170,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6898
7170
  sublabel2FontSize?: number | undefined;
6899
7171
  labelColor?: string | undefined;
6900
7172
  labelFontSize?: number | undefined;
6901
- color?: string | undefined;
6902
7173
  borderColor?: string | undefined;
6903
7174
  borderWidth?: number | undefined;
6904
7175
  cornerRadius?: number | undefined;
@@ -6937,8 +7208,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
6937
7208
  curveMode: "normal" | "ellipse";
6938
7209
  tension: number;
6939
7210
  width?: number | undefined;
6940
- label?: string | undefined;
6941
7211
  color?: string | undefined;
7212
+ label?: string | undefined;
6942
7213
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
6943
7214
  fromColor?: string | undefined;
6944
7215
  toColor?: string | undefined;
@@ -7022,8 +7293,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7022
7293
  customY?: number | undefined;
7023
7294
  colors?: string[] | undefined;
7024
7295
  } | {
7025
- type: "vignette";
7026
7296
  color: string;
7297
+ type: "vignette";
7027
7298
  intensity: number;
7028
7299
  } | {
7029
7300
  type: "gradient-overlay";
@@ -7112,6 +7383,19 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7112
7383
  radialRadius?: number | undefined;
7113
7384
  radialCompaction?: "none" | "radial" | "wedge" | undefined;
7114
7385
  radialSortBy?: "id" | "connections" | undefined;
7386
+ } | {
7387
+ mode: "ellipse";
7388
+ rx: number;
7389
+ ry: number;
7390
+ startAngle: number;
7391
+ diagramCenter?: {
7392
+ x: number;
7393
+ y: number;
7394
+ } | undefined;
7395
+ ellipseRx?: number | undefined;
7396
+ ellipseRy?: number | undefined;
7397
+ cx?: number | undefined;
7398
+ cy?: number | undefined;
7115
7399
  } | {
7116
7400
  mode: "grid";
7117
7401
  gap: number;
@@ -7190,9 +7474,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7190
7474
  radius?: number | undefined;
7191
7475
  } | {
7192
7476
  type: "circle";
7193
- radius: number;
7194
7477
  cx: number;
7195
7478
  cy: number;
7479
+ radius: number;
7196
7480
  fill?: string | undefined;
7197
7481
  opacity?: number | undefined;
7198
7482
  shadow?: {
@@ -7231,6 +7515,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7231
7515
  y2: number;
7232
7516
  width?: number | undefined;
7233
7517
  color?: string | undefined;
7518
+ dash?: number[] | undefined;
7234
7519
  opacity?: number | undefined;
7235
7520
  shadow?: {
7236
7521
  color?: string | undefined;
@@ -7240,18 +7525,22 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7240
7525
  } | undefined;
7241
7526
  arrow?: "end" | "start" | "both" | "none" | undefined;
7242
7527
  arrowSize?: number | undefined;
7243
- dash?: number[] | undefined;
7528
+ strokeGradient?: {
7529
+ from: string;
7530
+ to: string;
7531
+ } | undefined;
7244
7532
  } | {
7245
7533
  type: "arc";
7246
7534
  center: {
7247
7535
  x: number;
7248
7536
  y: number;
7249
7537
  };
7250
- radius: number;
7251
7538
  startAngle: number;
7539
+ radius: number;
7252
7540
  endAngle: number;
7253
7541
  width?: number | undefined;
7254
7542
  color?: string | undefined;
7543
+ dash?: number[] | undefined;
7255
7544
  opacity?: number | undefined;
7256
7545
  shadow?: {
7257
7546
  color?: string | undefined;
@@ -7259,7 +7548,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7259
7548
  offsetX?: number | undefined;
7260
7549
  offsetY?: number | undefined;
7261
7550
  } | undefined;
7262
- dash?: number[] | undefined;
7263
7551
  } | {
7264
7552
  type: "bezier";
7265
7553
  points: {
@@ -7268,6 +7556,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7268
7556
  }[];
7269
7557
  width?: number | undefined;
7270
7558
  color?: string | undefined;
7559
+ dash?: number[] | undefined;
7271
7560
  opacity?: number | undefined;
7272
7561
  shadow?: {
7273
7562
  color?: string | undefined;
@@ -7277,7 +7566,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7277
7566
  } | undefined;
7278
7567
  arrow?: "end" | "start" | "both" | "none" | undefined;
7279
7568
  arrowSize?: number | undefined;
7280
- dash?: number[] | undefined;
7569
+ strokeGradient?: {
7570
+ from: string;
7571
+ to: string;
7572
+ } | undefined;
7281
7573
  } | {
7282
7574
  type: "path";
7283
7575
  d: string;
@@ -7416,6 +7708,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7416
7708
  label: string;
7417
7709
  width?: number | undefined;
7418
7710
  height?: number | undefined;
7711
+ color?: string | undefined;
7419
7712
  shape?: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram" | "hexagon" | undefined;
7420
7713
  sublabel?: string | undefined;
7421
7714
  sublabelColor?: string | undefined;
@@ -7424,7 +7717,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7424
7717
  sublabel2FontSize?: number | undefined;
7425
7718
  labelColor?: string | undefined;
7426
7719
  labelFontSize?: number | undefined;
7427
- color?: string | undefined;
7428
7720
  borderColor?: string | undefined;
7429
7721
  borderWidth?: number | undefined;
7430
7722
  cornerRadius?: number | undefined;
@@ -7460,8 +7752,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7460
7752
  from: string;
7461
7753
  to: string;
7462
7754
  width?: number | undefined;
7463
- label?: string | undefined;
7464
7755
  color?: string | undefined;
7756
+ label?: string | undefined;
7465
7757
  opacity?: number | undefined;
7466
7758
  style?: "solid" | "dashed" | "dotted" | undefined;
7467
7759
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
@@ -7608,6 +7900,19 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7608
7900
  radialRadius?: number | undefined;
7609
7901
  radialCompaction?: "none" | "radial" | "wedge" | undefined;
7610
7902
  radialSortBy?: "id" | "connections" | undefined;
7903
+ } | {
7904
+ mode: "ellipse";
7905
+ rx: number;
7906
+ ry: number;
7907
+ diagramCenter?: {
7908
+ x: number;
7909
+ y: number;
7910
+ } | undefined;
7911
+ ellipseRx?: number | undefined;
7912
+ ellipseRy?: number | undefined;
7913
+ cx?: number | undefined;
7914
+ cy?: number | undefined;
7915
+ startAngle?: number | undefined;
7611
7916
  } | {
7612
7917
  mode: "grid";
7613
7918
  gap?: number | undefined;
@@ -7672,6 +7977,19 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7672
7977
  radialRadius?: number | undefined;
7673
7978
  radialCompaction?: "none" | "radial" | "wedge" | undefined;
7674
7979
  radialSortBy?: "id" | "connections" | undefined;
7980
+ } | {
7981
+ mode: "ellipse";
7982
+ rx: number;
7983
+ ry: number;
7984
+ startAngle: number;
7985
+ diagramCenter?: {
7986
+ x: number;
7987
+ y: number;
7988
+ } | undefined;
7989
+ ellipseRx?: number | undefined;
7990
+ ellipseRy?: number | undefined;
7991
+ cx?: number | undefined;
7992
+ cy?: number | undefined;
7675
7993
  } | {
7676
7994
  mode: "grid";
7677
7995
  gap: number;
@@ -7721,9 +8039,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7721
8039
  type: "circle";
7722
8040
  opacity: number;
7723
8041
  strokeWidth: number;
7724
- radius: number;
7725
8042
  cx: number;
7726
8043
  cy: number;
8044
+ radius: number;
7727
8045
  fill?: string | undefined;
7728
8046
  shadow?: {
7729
8047
  color: string;
@@ -7733,8 +8051,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7733
8051
  } | undefined;
7734
8052
  stroke?: string | undefined;
7735
8053
  } | {
7736
- type: "text";
7737
8054
  color: string;
8055
+ type: "text";
7738
8056
  opacity: number;
7739
8057
  text: string;
7740
8058
  x: number;
@@ -7754,8 +8072,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7754
8072
  maxWidth?: number | undefined;
7755
8073
  } | {
7756
8074
  width: number;
7757
- type: "line";
7758
8075
  color: string;
8076
+ type: "line";
7759
8077
  opacity: number;
7760
8078
  arrow: "end" | "start" | "both" | "none";
7761
8079
  arrowSize: number;
@@ -7763,36 +8081,40 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7763
8081
  y1: number;
7764
8082
  x2: number;
7765
8083
  y2: number;
8084
+ dash?: number[] | undefined;
7766
8085
  shadow?: {
7767
8086
  color: string;
7768
8087
  blur: number;
7769
8088
  offsetX: number;
7770
8089
  offsetY: number;
7771
8090
  } | undefined;
7772
- dash?: number[] | undefined;
8091
+ strokeGradient?: {
8092
+ from: string;
8093
+ to: string;
8094
+ } | undefined;
7773
8095
  } | {
7774
8096
  width: number;
7775
- type: "arc";
7776
8097
  color: string;
8098
+ type: "arc";
7777
8099
  opacity: number;
7778
8100
  center: {
7779
8101
  x: number;
7780
8102
  y: number;
7781
8103
  };
7782
- radius: number;
7783
8104
  startAngle: number;
8105
+ radius: number;
7784
8106
  endAngle: number;
8107
+ dash?: number[] | undefined;
7785
8108
  shadow?: {
7786
8109
  color: string;
7787
8110
  blur: number;
7788
8111
  offsetX: number;
7789
8112
  offsetY: number;
7790
8113
  } | undefined;
7791
- dash?: number[] | undefined;
7792
8114
  } | {
7793
8115
  width: number;
7794
- type: "bezier";
7795
8116
  color: string;
8117
+ type: "bezier";
7796
8118
  opacity: number;
7797
8119
  arrow: "end" | "start" | "both" | "none";
7798
8120
  arrowSize: number;
@@ -7800,13 +8122,17 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7800
8122
  x: number;
7801
8123
  y: number;
7802
8124
  }[];
8125
+ dash?: number[] | undefined;
7803
8126
  shadow?: {
7804
8127
  color: string;
7805
8128
  blur: number;
7806
8129
  offsetX: number;
7807
8130
  offsetY: number;
7808
8131
  } | undefined;
7809
- dash?: number[] | undefined;
8132
+ strokeGradient?: {
8133
+ from: string;
8134
+ to: string;
8135
+ } | undefined;
7810
8136
  } | {
7811
8137
  type: "path";
7812
8138
  opacity: number;
@@ -7821,8 +8147,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7821
8147
  } | undefined;
7822
8148
  stroke?: string | undefined;
7823
8149
  } | {
7824
- type: "badge";
7825
8150
  color: string;
8151
+ type: "badge";
7826
8152
  opacity: number;
7827
8153
  background: string;
7828
8154
  text: string;
@@ -7873,8 +8199,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7873
8199
  } | undefined;
7874
8200
  } | {
7875
8201
  width: number;
7876
- type: "grid";
7877
8202
  color: string;
8203
+ type: "grid";
7878
8204
  opacity: number;
7879
8205
  offsetX: number;
7880
8206
  offsetY: number;
@@ -7952,6 +8278,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7952
8278
  glowOpacity: number;
7953
8279
  width?: number | undefined;
7954
8280
  height?: number | undefined;
8281
+ color?: string | undefined;
7955
8282
  sublabel?: string | undefined;
7956
8283
  sublabelColor?: string | undefined;
7957
8284
  sublabel2?: string | undefined;
@@ -7959,7 +8286,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7959
8286
  sublabel2FontSize?: number | undefined;
7960
8287
  labelColor?: string | undefined;
7961
8288
  labelFontSize?: number | undefined;
7962
- color?: string | undefined;
7963
8289
  borderColor?: string | undefined;
7964
8290
  borderWidth?: number | undefined;
7965
8291
  cornerRadius?: number | undefined;
@@ -7998,8 +8324,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
7998
8324
  curveMode: "normal" | "ellipse";
7999
8325
  tension: number;
8000
8326
  width?: number | undefined;
8001
- label?: string | undefined;
8002
8327
  color?: string | undefined;
8328
+ label?: string | undefined;
8003
8329
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
8004
8330
  fromColor?: string | undefined;
8005
8331
  toColor?: string | undefined;
@@ -8083,8 +8409,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8083
8409
  customY?: number | undefined;
8084
8410
  colors?: string[] | undefined;
8085
8411
  } | {
8086
- type: "vignette";
8087
8412
  color: string;
8413
+ type: "vignette";
8088
8414
  intensity: number;
8089
8415
  } | {
8090
8416
  type: "gradient-overlay";
@@ -8194,9 +8520,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8194
8520
  radius?: number | undefined;
8195
8521
  } | {
8196
8522
  type: "circle";
8197
- radius: number;
8198
8523
  cx: number;
8199
8524
  cy: number;
8525
+ radius: number;
8200
8526
  fill?: string | undefined;
8201
8527
  opacity?: number | undefined;
8202
8528
  shadow?: {
@@ -8235,6 +8561,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8235
8561
  y2: number;
8236
8562
  width?: number | undefined;
8237
8563
  color?: string | undefined;
8564
+ dash?: number[] | undefined;
8238
8565
  opacity?: number | undefined;
8239
8566
  shadow?: {
8240
8567
  color?: string | undefined;
@@ -8244,18 +8571,22 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8244
8571
  } | undefined;
8245
8572
  arrow?: "end" | "start" | "both" | "none" | undefined;
8246
8573
  arrowSize?: number | undefined;
8247
- dash?: number[] | undefined;
8574
+ strokeGradient?: {
8575
+ from: string;
8576
+ to: string;
8577
+ } | undefined;
8248
8578
  } | {
8249
8579
  type: "arc";
8250
8580
  center: {
8251
8581
  x: number;
8252
8582
  y: number;
8253
8583
  };
8254
- radius: number;
8255
8584
  startAngle: number;
8585
+ radius: number;
8256
8586
  endAngle: number;
8257
8587
  width?: number | undefined;
8258
8588
  color?: string | undefined;
8589
+ dash?: number[] | undefined;
8259
8590
  opacity?: number | undefined;
8260
8591
  shadow?: {
8261
8592
  color?: string | undefined;
@@ -8263,7 +8594,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8263
8594
  offsetX?: number | undefined;
8264
8595
  offsetY?: number | undefined;
8265
8596
  } | undefined;
8266
- dash?: number[] | undefined;
8267
8597
  } | {
8268
8598
  type: "bezier";
8269
8599
  points: {
@@ -8272,6 +8602,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8272
8602
  }[];
8273
8603
  width?: number | undefined;
8274
8604
  color?: string | undefined;
8605
+ dash?: number[] | undefined;
8275
8606
  opacity?: number | undefined;
8276
8607
  shadow?: {
8277
8608
  color?: string | undefined;
@@ -8281,7 +8612,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8281
8612
  } | undefined;
8282
8613
  arrow?: "end" | "start" | "both" | "none" | undefined;
8283
8614
  arrowSize?: number | undefined;
8284
- dash?: number[] | undefined;
8615
+ strokeGradient?: {
8616
+ from: string;
8617
+ to: string;
8618
+ } | undefined;
8285
8619
  } | {
8286
8620
  type: "path";
8287
8621
  d: string;
@@ -8420,6 +8754,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8420
8754
  label: string;
8421
8755
  width?: number | undefined;
8422
8756
  height?: number | undefined;
8757
+ color?: string | undefined;
8423
8758
  shape?: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram" | "hexagon" | undefined;
8424
8759
  sublabel?: string | undefined;
8425
8760
  sublabelColor?: string | undefined;
@@ -8428,7 +8763,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8428
8763
  sublabel2FontSize?: number | undefined;
8429
8764
  labelColor?: string | undefined;
8430
8765
  labelFontSize?: number | undefined;
8431
- color?: string | undefined;
8432
8766
  borderColor?: string | undefined;
8433
8767
  borderWidth?: number | undefined;
8434
8768
  cornerRadius?: number | undefined;
@@ -8464,8 +8798,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8464
8798
  from: string;
8465
8799
  to: string;
8466
8800
  width?: number | undefined;
8467
- label?: string | undefined;
8468
8801
  color?: string | undefined;
8802
+ label?: string | undefined;
8469
8803
  opacity?: number | undefined;
8470
8804
  style?: "solid" | "dashed" | "dotted" | undefined;
8471
8805
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
@@ -8612,6 +8946,19 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
8612
8946
  radialRadius?: number | undefined;
8613
8947
  radialCompaction?: "none" | "radial" | "wedge" | undefined;
8614
8948
  radialSortBy?: "id" | "connections" | undefined;
8949
+ } | {
8950
+ mode: "ellipse";
8951
+ rx: number;
8952
+ ry: number;
8953
+ diagramCenter?: {
8954
+ x: number;
8955
+ y: number;
8956
+ } | undefined;
8957
+ ellipseRx?: number | undefined;
8958
+ ellipseRy?: number | undefined;
8959
+ cx?: number | undefined;
8960
+ cy?: number | undefined;
8961
+ startAngle?: number | undefined;
8615
8962
  } | {
8616
8963
  mode: "grid";
8617
8964
  gap?: number | undefined;
@@ -8665,6 +9012,7 @@ type ShapeElement = z.infer<typeof shapeElementSchema>;
8665
9012
  type ImageElement = z.infer<typeof imageElementSchema>;
8666
9013
  type DrawShadow = z.infer<typeof drawShadowSchema>;
8667
9014
  type DrawFontFamily = z.infer<typeof drawFontFamilySchema>;
9015
+ type DrawStrokeGradient = z.infer<typeof strokeGradientSchema>;
8668
9016
  type DrawPoint = z.infer<typeof drawPointSchema>;
8669
9017
  type DrawRect = z.infer<typeof drawRectSchema>;
8670
9018
  type DrawCircle = z.infer<typeof drawCircleSchema>;
@@ -8683,6 +9031,7 @@ type LayoutConfig = z.infer<typeof layoutConfigSchema>;
8683
9031
  type AutoLayoutConfig = z.infer<typeof autoLayoutConfigSchema>;
8684
9032
  type GridLayoutConfig = z.infer<typeof gridLayoutConfigSchema>;
8685
9033
  type StackLayoutConfig = z.infer<typeof stackLayoutConfigSchema>;
9034
+ type EllipseLayoutConfig = z.infer<typeof ellipseLayoutConfigSchema>;
8686
9035
  type ManualLayoutConfig = z.infer<typeof manualLayoutConfigSchema>;
8687
9036
  type ConstraintSpec = z.infer<typeof constraintsSchema>;
8688
9037
  type Theme = z.infer<typeof themeSchema>;
@@ -8735,4 +9084,4 @@ declare function deriveSafeFrame(spec: DesignSpec): DesignSafeFrame;
8735
9084
  declare function parseDiagramSpec(input: unknown): DiagramSpec;
8736
9085
  declare function parseDesignSpec(input: unknown): DesignSpec;
8737
9086
 
8738
- export { type StackLayoutConfig as $, type AnchorHint as A, type BuiltInTheme as B, type ConnectionElement as C, type DesignSpec as D, type DrawRect as E, type DrawShadow as F, type DrawText as G, type DrawTextRow as H, type DrawTextRowSegment as I, type Element as J, type FlowNodeElement as K, type Gradient as L, type GradientOverlayDecorator as M, type GradientSpec as N, type GradientStop$1 as O, type GridLayoutConfig as P, type ImageElement as Q, type RenderMetadata as R, type IterationMeta as S, type ThemeInput$1 as T, type LayoutConfig as U, type LayoutSnapshot as V, type ManualLayoutConfig as W, type RainbowRuleDecorator as X, type RenderDesignOptions as Y, type RenderResult as Z, type ShapeElement as _, type Rect as a, type TerminalElement as a0, type TextElement as a1, type ThemeInput as a2, type VignetteDecorator as a3, type WrittenArtifacts as a4, builtInThemeBackgrounds as a5, builtInThemes as a6, computeSpecHash as a7, connectionElementSchema as a8, defaultAutoLayout as a9, type LinearGradient as aA, type RadialGradient as aB, defaultCanvas as aa, defaultConstraints as ab, defaultGridLayout as ac, defaultLayout as ad, defaultStackLayout as ae, defaultTheme as af, deriveSafeFrame as ag, designSpecSchema as ah, diagramElementSchema as ai, diagramLayoutSchema as aj, diagramSpecSchema as ak, drawGradientRect as al, drawRainbowRule as am, drawVignette as an, flowNodeElementSchema as ao, inferLayout as ap, inferSidecarPath as aq, parseDesignSpec as ar, parseDiagramSpec as as, renderDesign as at, resolveTheme as au, writeRenderArtifacts as av, type CodeBlockStyle as aw, type DrawGrid as ax, type FlowNodeShadow as ay, type GradientStop as az, type DrawCommand as b, type Theme as c, type RenderedElement as d, type AutoLayoutConfig as e, type CardElement as f, type CodeBlockElement as g, type ConstraintSpec as h, DEFAULT_GENERATOR_VERSION as i, DEFAULT_RAINBOW_COLORS as j, type Decorator as k, type DesignCardSpec as l, type DesignSafeFrame as m, type DesignTheme as n, type DiagramElement as o, type DiagramLayout as p, type DiagramSpec as q, type DrawArc as r, type DrawBadge as s, type DrawBezier as t, type DrawCircle as u, type DrawFontFamily as v, type DrawGradientRect as w, type DrawLine as x, type DrawPath as y, type DrawPoint as z };
9087
+ export { type ShapeElement as $, type AnchorHint as A, type BuiltInTheme as B, type ConnectionElement as C, type DesignSpec as D, type DrawRect as E, type DrawShadow as F, type DrawText as G, type DrawTextRow as H, type DrawTextRowSegment as I, type Element as J, type EllipseLayoutConfig as K, type FlowNodeElement as L, type Gradient as M, type GradientOverlayDecorator as N, type GradientSpec as O, type GradientStop$1 as P, type GridLayoutConfig as Q, type RenderMetadata as R, type ImageElement as S, type ThemeInput$1 as T, type IterationMeta as U, type LayoutConfig as V, type LayoutSnapshot as W, type ManualLayoutConfig as X, type RainbowRuleDecorator as Y, type RenderDesignOptions as Z, type RenderResult as _, type Rect as a, type StackLayoutConfig as a0, type TerminalElement as a1, type TextElement as a2, type ThemeInput as a3, type VignetteDecorator as a4, type WrittenArtifacts as a5, builtInThemeBackgrounds as a6, builtInThemes as a7, computeSpecHash as a8, connectionElementSchema as a9, type FlowNodeShadow as aA, type GradientStop as aB, type LinearGradient as aC, type RadialGradient as aD, defaultAutoLayout as aa, defaultCanvas as ab, defaultConstraints as ac, defaultGridLayout as ad, defaultLayout as ae, defaultStackLayout as af, defaultTheme as ag, deriveSafeFrame as ah, designSpecSchema as ai, diagramElementSchema as aj, diagramLayoutSchema as ak, diagramSpecSchema as al, drawGradientRect as am, drawRainbowRule as an, drawVignette as ao, flowNodeElementSchema as ap, inferLayout as aq, inferSidecarPath as ar, parseDesignSpec as as, parseDiagramSpec as at, renderDesign as au, resolveTheme as av, writeRenderArtifacts as aw, type CodeBlockStyle as ax, type DrawGrid as ay, type DrawStrokeGradient as az, type DrawCommand as b, type Theme as c, type RenderedElement as d, type AutoLayoutConfig as e, type CardElement as f, type CodeBlockElement as g, type ConstraintSpec as h, DEFAULT_GENERATOR_VERSION as i, DEFAULT_RAINBOW_COLORS as j, type Decorator as k, type DesignCardSpec as l, type DesignSafeFrame as m, type DesignTheme as n, type DiagramElement as o, type DiagramLayout as p, type DiagramSpec as q, type DrawArc as r, type DrawBadge as s, type DrawBezier as t, type DrawCircle as u, type DrawFontFamily as v, type DrawGradientRect as w, type DrawLine as x, type DrawPath as y, type DrawPoint as z };