@retikz/core 0.2.0-alpha.7 → 0.2.0-alpha.8

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.
Files changed (147) hide show
  1. package/dist/es/arrows/index.d.ts +13 -0
  2. package/dist/es/arrows/index.d.ts.map +1 -0
  3. package/dist/es/arrows/index.js +118 -0
  4. package/dist/es/arrows/types.d.ts +43 -0
  5. package/dist/es/arrows/types.d.ts.map +1 -0
  6. package/dist/es/compile/compile.d.ts +26 -1
  7. package/dist/es/compile/compile.d.ts.map +1 -1
  8. package/dist/es/compile/compile.js +29 -2
  9. package/dist/es/compile/marker-prim.d.ts +22 -0
  10. package/dist/es/compile/marker-prim.d.ts.map +1 -0
  11. package/dist/es/compile/marker-prim.js +63 -0
  12. package/dist/es/compile/paint.d.ts +6 -1
  13. package/dist/es/compile/paint.d.ts.map +1 -1
  14. package/dist/es/compile/paint.js +60 -3
  15. package/dist/es/compile/path/index.d.ts +15 -0
  16. package/dist/es/compile/path/index.d.ts.map +1 -1
  17. package/dist/es/compile/path/index.js +258 -10
  18. package/dist/es/compile/path/relative.d.ts.map +1 -1
  19. package/dist/es/compile/path/relative.js +8 -0
  20. package/dist/es/compile/path/shrink.d.ts +19 -6
  21. package/dist/es/compile/path/shrink.d.ts.map +1 -1
  22. package/dist/es/compile/path/shrink.js +147 -25
  23. package/dist/es/geometry/bend.d.ts +7 -0
  24. package/dist/es/geometry/bend.d.ts.map +1 -1
  25. package/dist/es/geometry/bend.js +26 -1
  26. package/dist/es/index.d.ts +14 -4
  27. package/dist/es/index.d.ts.map +1 -1
  28. package/dist/es/index.js +7 -3
  29. package/dist/es/ir/index.d.ts +1 -0
  30. package/dist/es/ir/index.d.ts.map +1 -1
  31. package/dist/es/ir/json.d.ts +22 -0
  32. package/dist/es/ir/json.d.ts.map +1 -0
  33. package/dist/es/ir/json.js +25 -0
  34. package/dist/es/ir/node.d.ts +5 -5
  35. package/dist/es/ir/paint.d.ts +25 -3
  36. package/dist/es/ir/paint.d.ts.map +1 -1
  37. package/dist/es/ir/paint.js +12 -6
  38. package/dist/es/ir/path/arrow.d.ts +28 -48
  39. package/dist/es/ir/path/arrow.d.ts.map +1 -1
  40. package/dist/es/ir/path/arrow.js +5 -5
  41. package/dist/es/ir/path/path.d.ts +444 -55
  42. package/dist/es/ir/path/path.d.ts.map +1 -1
  43. package/dist/es/ir/path/path.js +21 -1
  44. package/dist/es/ir/path/step.d.ts +363 -8
  45. package/dist/es/ir/path/step.d.ts.map +1 -1
  46. package/dist/es/ir/path/step.js +17 -4
  47. package/dist/es/ir/scope.d.ts +703 -189
  48. package/dist/es/ir/scope.d.ts.map +1 -1
  49. package/dist/es/pathGenerators/define.d.ts +16 -0
  50. package/dist/es/pathGenerators/define.d.ts.map +1 -0
  51. package/dist/es/pathGenerators/define.js +23 -0
  52. package/dist/es/pathGenerators/index.d.ts +9 -0
  53. package/dist/es/pathGenerators/index.d.ts.map +1 -0
  54. package/dist/es/pathGenerators/types.d.ts +45 -0
  55. package/dist/es/pathGenerators/types.d.ts.map +1 -0
  56. package/dist/es/patterns/index.d.ts +10 -0
  57. package/dist/es/patterns/index.d.ts.map +1 -0
  58. package/dist/es/patterns/index.js +83 -0
  59. package/dist/es/patterns/types.d.ts +38 -0
  60. package/dist/es/patterns/types.d.ts.map +1 -0
  61. package/dist/es/primitive/index.d.ts +1 -0
  62. package/dist/es/primitive/index.d.ts.map +1 -1
  63. package/dist/es/primitive/marker.d.ts +160 -0
  64. package/dist/es/primitive/marker.d.ts.map +1 -0
  65. package/dist/es/primitive/paint.d.ts +24 -2
  66. package/dist/es/primitive/paint.d.ts.map +1 -1
  67. package/dist/es/primitive/path.d.ts +22 -18
  68. package/dist/es/primitive/path.d.ts.map +1 -1
  69. package/dist/es/primitive/scene.d.ts +1 -1
  70. package/dist/es/primitive/scene.d.ts.map +1 -1
  71. package/dist/lib/arrows/index.cjs +118 -0
  72. package/dist/lib/arrows/index.d.ts +13 -0
  73. package/dist/lib/arrows/index.d.ts.map +1 -0
  74. package/dist/lib/arrows/types.d.ts +43 -0
  75. package/dist/lib/arrows/types.d.ts.map +1 -0
  76. package/dist/lib/compile/compile.cjs +31 -4
  77. package/dist/lib/compile/compile.d.ts +26 -1
  78. package/dist/lib/compile/compile.d.ts.map +1 -1
  79. package/dist/lib/compile/marker-prim.cjs +63 -0
  80. package/dist/lib/compile/marker-prim.d.ts +22 -0
  81. package/dist/lib/compile/marker-prim.d.ts.map +1 -0
  82. package/dist/lib/compile/paint.cjs +60 -3
  83. package/dist/lib/compile/paint.d.ts +6 -1
  84. package/dist/lib/compile/paint.d.ts.map +1 -1
  85. package/dist/lib/compile/path/index.cjs +256 -8
  86. package/dist/lib/compile/path/index.d.ts +15 -0
  87. package/dist/lib/compile/path/index.d.ts.map +1 -1
  88. package/dist/lib/compile/path/relative.cjs +8 -0
  89. package/dist/lib/compile/path/relative.d.ts.map +1 -1
  90. package/dist/lib/compile/path/shrink.cjs +147 -25
  91. package/dist/lib/compile/path/shrink.d.ts +19 -6
  92. package/dist/lib/compile/path/shrink.d.ts.map +1 -1
  93. package/dist/lib/geometry/bend.cjs +26 -0
  94. package/dist/lib/geometry/bend.d.ts +7 -0
  95. package/dist/lib/geometry/bend.d.ts.map +1 -1
  96. package/dist/lib/index.cjs +11 -0
  97. package/dist/lib/index.d.ts +14 -4
  98. package/dist/lib/index.d.ts.map +1 -1
  99. package/dist/lib/ir/index.d.ts +1 -0
  100. package/dist/lib/ir/index.d.ts.map +1 -1
  101. package/dist/lib/ir/json.cjs +26 -0
  102. package/dist/lib/ir/json.d.ts +22 -0
  103. package/dist/lib/ir/json.d.ts.map +1 -0
  104. package/dist/lib/ir/node.d.ts +5 -5
  105. package/dist/lib/ir/paint.cjs +12 -5
  106. package/dist/lib/ir/paint.d.ts +25 -3
  107. package/dist/lib/ir/paint.d.ts.map +1 -1
  108. package/dist/lib/ir/path/arrow.cjs +5 -5
  109. package/dist/lib/ir/path/arrow.d.ts +28 -48
  110. package/dist/lib/ir/path/arrow.d.ts.map +1 -1
  111. package/dist/lib/ir/path/path.cjs +20 -0
  112. package/dist/lib/ir/path/path.d.ts +444 -55
  113. package/dist/lib/ir/path/path.d.ts.map +1 -1
  114. package/dist/lib/ir/path/step.cjs +17 -3
  115. package/dist/lib/ir/path/step.d.ts +363 -8
  116. package/dist/lib/ir/path/step.d.ts.map +1 -1
  117. package/dist/lib/ir/scope.d.ts +703 -189
  118. package/dist/lib/ir/scope.d.ts.map +1 -1
  119. package/dist/lib/pathGenerators/define.cjs +23 -0
  120. package/dist/lib/pathGenerators/define.d.ts +16 -0
  121. package/dist/lib/pathGenerators/define.d.ts.map +1 -0
  122. package/dist/lib/pathGenerators/index.d.ts +9 -0
  123. package/dist/lib/pathGenerators/index.d.ts.map +1 -0
  124. package/dist/lib/pathGenerators/types.d.ts +45 -0
  125. package/dist/lib/pathGenerators/types.d.ts.map +1 -0
  126. package/dist/lib/patterns/index.cjs +83 -0
  127. package/dist/lib/patterns/index.d.ts +10 -0
  128. package/dist/lib/patterns/index.d.ts.map +1 -0
  129. package/dist/lib/patterns/types.d.ts +38 -0
  130. package/dist/lib/patterns/types.d.ts.map +1 -0
  131. package/dist/lib/primitive/index.d.ts +1 -0
  132. package/dist/lib/primitive/index.d.ts.map +1 -1
  133. package/dist/lib/primitive/marker.d.ts +160 -0
  134. package/dist/lib/primitive/marker.d.ts.map +1 -0
  135. package/dist/lib/primitive/paint.d.ts +24 -2
  136. package/dist/lib/primitive/paint.d.ts.map +1 -1
  137. package/dist/lib/primitive/path.d.ts +22 -18
  138. package/dist/lib/primitive/path.d.ts.map +1 -1
  139. package/dist/lib/primitive/scene.d.ts +1 -1
  140. package/dist/lib/primitive/scene.d.ts.map +1 -1
  141. package/package.json +1 -1
  142. package/dist/es/compile/path/arrow-geometry.d.ts +0 -22
  143. package/dist/es/compile/path/arrow-geometry.d.ts.map +0 -1
  144. package/dist/es/compile/path/arrow-geometry.js +0 -40
  145. package/dist/lib/compile/path/arrow-geometry.cjs +0 -41
  146. package/dist/lib/compile/path/arrow-geometry.d.ts +0 -22
  147. package/dist/lib/compile/path/arrow-geometry.d.ts.map +0 -1
@@ -163,7 +163,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
163
163
  center?: [number, number] | undefined;
164
164
  }>, z.ZodObject<{
165
165
  type: z.ZodLiteral<"pattern">;
166
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
166
+ shape: z.ZodString;
167
167
  color: z.ZodOptional<z.ZodString>;
168
168
  background: z.ZodOptional<z.ZodString>;
169
169
  size: z.ZodOptional<z.ZodNumber>;
@@ -171,7 +171,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
171
171
  rotation: z.ZodOptional<z.ZodNumber>;
172
172
  }, "strip", z.ZodTypeAny, {
173
173
  type: "pattern";
174
- shape: "lines" | "dots" | "grid";
174
+ shape: string;
175
175
  size?: number | undefined;
176
176
  color?: string | undefined;
177
177
  background?: string | undefined;
@@ -179,7 +179,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
179
179
  rotation?: number | undefined;
180
180
  }, {
181
181
  type: "pattern";
182
- shape: "lines" | "dots" | "grid";
182
+ shape: string;
183
183
  size?: number | undefined;
184
184
  color?: string | undefined;
185
185
  background?: string | undefined;
@@ -425,7 +425,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
425
425
  center?: [number, number] | undefined;
426
426
  } | {
427
427
  type: "pattern";
428
- shape: "lines" | "dots" | "grid";
428
+ shape: string;
429
429
  size?: number | undefined;
430
430
  color?: string | undefined;
431
431
  background?: string | undefined;
@@ -489,7 +489,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
489
489
  center?: [number, number] | undefined;
490
490
  } | {
491
491
  type: "pattern";
492
- shape: "lines" | "dots" | "grid";
492
+ shape: string;
493
493
  size?: number | undefined;
494
494
  color?: string | undefined;
495
495
  background?: string | undefined;
@@ -546,15 +546,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
546
546
  dashPattern: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
547
547
  arrow: z.ZodOptional<z.ZodEnum<["none", "->", "<-", "<->"]>>;
548
548
  arrowDetail: z.ZodOptional<z.ZodObject<{
549
- shape: z.ZodOptional<z.ZodNativeEnum<{
550
- readonly normal: "normal";
551
- readonly open: "open";
552
- readonly stealth: "stealth";
553
- readonly diamond: "diamond";
554
- readonly openDiamond: "openDiamond";
555
- readonly circle: "circle";
556
- readonly openCircle: "openCircle";
557
- }>>;
549
+ shape: z.ZodOptional<z.ZodString>;
558
550
  scale: z.ZodOptional<z.ZodNumber>;
559
551
  length: z.ZodOptional<z.ZodNumber>;
560
552
  width: z.ZodOptional<z.ZodNumber>;
@@ -564,15 +556,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
564
556
  lineWidth: z.ZodOptional<z.ZodNumber>;
565
557
  } & {
566
558
  start: z.ZodOptional<z.ZodObject<{
567
- shape: z.ZodOptional<z.ZodNativeEnum<{
568
- readonly normal: "normal";
569
- readonly open: "open";
570
- readonly stealth: "stealth";
571
- readonly diamond: "diamond";
572
- readonly openDiamond: "openDiamond";
573
- readonly circle: "circle";
574
- readonly openCircle: "openCircle";
575
- }>>;
559
+ shape: z.ZodOptional<z.ZodString>;
576
560
  scale: z.ZodOptional<z.ZodNumber>;
577
561
  length: z.ZodOptional<z.ZodNumber>;
578
562
  width: z.ZodOptional<z.ZodNumber>;
@@ -585,7 +569,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
585
569
  fill?: string | undefined;
586
570
  color?: string | undefined;
587
571
  opacity?: number | undefined;
588
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
572
+ shape?: string | undefined;
589
573
  lineWidth?: number | undefined;
590
574
  scale?: number | undefined;
591
575
  width?: number | undefined;
@@ -594,21 +578,13 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
594
578
  fill?: string | undefined;
595
579
  color?: string | undefined;
596
580
  opacity?: number | undefined;
597
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
581
+ shape?: string | undefined;
598
582
  lineWidth?: number | undefined;
599
583
  scale?: number | undefined;
600
584
  width?: number | undefined;
601
585
  }>>;
602
586
  end: z.ZodOptional<z.ZodObject<{
603
- shape: z.ZodOptional<z.ZodNativeEnum<{
604
- readonly normal: "normal";
605
- readonly open: "open";
606
- readonly stealth: "stealth";
607
- readonly diamond: "diamond";
608
- readonly openDiamond: "openDiamond";
609
- readonly circle: "circle";
610
- readonly openCircle: "openCircle";
611
- }>>;
587
+ shape: z.ZodOptional<z.ZodString>;
612
588
  scale: z.ZodOptional<z.ZodNumber>;
613
589
  length: z.ZodOptional<z.ZodNumber>;
614
590
  width: z.ZodOptional<z.ZodNumber>;
@@ -621,7 +597,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
621
597
  fill?: string | undefined;
622
598
  color?: string | undefined;
623
599
  opacity?: number | undefined;
624
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
600
+ shape?: string | undefined;
625
601
  lineWidth?: number | undefined;
626
602
  scale?: number | undefined;
627
603
  width?: number | undefined;
@@ -630,7 +606,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
630
606
  fill?: string | undefined;
631
607
  color?: string | undefined;
632
608
  opacity?: number | undefined;
633
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
609
+ shape?: string | undefined;
634
610
  lineWidth?: number | undefined;
635
611
  scale?: number | undefined;
636
612
  width?: number | undefined;
@@ -640,7 +616,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
640
616
  fill?: string | undefined;
641
617
  color?: string | undefined;
642
618
  opacity?: number | undefined;
643
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
619
+ shape?: string | undefined;
644
620
  lineWidth?: number | undefined;
645
621
  scale?: number | undefined;
646
622
  width?: number | undefined;
@@ -649,7 +625,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
649
625
  fill?: string | undefined;
650
626
  color?: string | undefined;
651
627
  opacity?: number | undefined;
652
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
628
+ shape?: string | undefined;
653
629
  lineWidth?: number | undefined;
654
630
  scale?: number | undefined;
655
631
  width?: number | undefined;
@@ -659,7 +635,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
659
635
  fill?: string | undefined;
660
636
  color?: string | undefined;
661
637
  opacity?: number | undefined;
662
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
638
+ shape?: string | undefined;
663
639
  lineWidth?: number | undefined;
664
640
  scale?: number | undefined;
665
641
  width?: number | undefined;
@@ -669,7 +645,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
669
645
  fill?: string | undefined;
670
646
  color?: string | undefined;
671
647
  opacity?: number | undefined;
672
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
648
+ shape?: string | undefined;
673
649
  lineWidth?: number | undefined;
674
650
  scale?: number | undefined;
675
651
  width?: number | undefined;
@@ -678,7 +654,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
678
654
  fill?: string | undefined;
679
655
  color?: string | undefined;
680
656
  opacity?: number | undefined;
681
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
657
+ shape?: string | undefined;
682
658
  lineWidth?: number | undefined;
683
659
  scale?: number | undefined;
684
660
  width?: number | undefined;
@@ -688,7 +664,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
688
664
  fill?: string | undefined;
689
665
  color?: string | undefined;
690
666
  opacity?: number | undefined;
691
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
667
+ shape?: string | undefined;
692
668
  lineWidth?: number | undefined;
693
669
  scale?: number | undefined;
694
670
  width?: number | undefined;
@@ -763,7 +739,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
763
739
  center?: [number, number] | undefined;
764
740
  }>, z.ZodObject<{
765
741
  type: z.ZodLiteral<"pattern">;
766
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
742
+ shape: z.ZodString;
767
743
  color: z.ZodOptional<z.ZodString>;
768
744
  background: z.ZodOptional<z.ZodString>;
769
745
  size: z.ZodOptional<z.ZodNumber>;
@@ -771,7 +747,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
771
747
  rotation: z.ZodOptional<z.ZodNumber>;
772
748
  }, "strip", z.ZodTypeAny, {
773
749
  type: "pattern";
774
- shape: "lines" | "dots" | "grid";
750
+ shape: string;
775
751
  size?: number | undefined;
776
752
  color?: string | undefined;
777
753
  background?: string | undefined;
@@ -779,7 +755,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
779
755
  rotation?: number | undefined;
780
756
  }, {
781
757
  type: "pattern";
782
- shape: "lines" | "dots" | "grid";
758
+ shape: string;
783
759
  size?: number | undefined;
784
760
  color?: string | undefined;
785
761
  background?: string | undefined;
@@ -806,6 +782,78 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
806
782
  fillOpacity: z.ZodOptional<z.ZodNumber>;
807
783
  drawOpacity: z.ZodOptional<z.ZodNumber>;
808
784
  zIndex: z.ZodOptional<z.ZodNumber>;
785
+ rotate: z.ZodOptional<z.ZodNumber>;
786
+ scale: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
787
+ x: z.ZodNumber;
788
+ y: z.ZodNumber;
789
+ }, "strip", z.ZodTypeAny, {
790
+ x: number;
791
+ y: number;
792
+ }, {
793
+ x: number;
794
+ y: number;
795
+ }>]>>;
796
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
+ pos: z.ZodNumber;
798
+ mark: z.ZodObject<{
799
+ shape: z.ZodOptional<z.ZodString>;
800
+ scale: z.ZodOptional<z.ZodNumber>;
801
+ length: z.ZodOptional<z.ZodNumber>;
802
+ width: z.ZodOptional<z.ZodNumber>;
803
+ color: z.ZodOptional<z.ZodString>;
804
+ fill: z.ZodOptional<z.ZodString>;
805
+ opacity: z.ZodOptional<z.ZodNumber>;
806
+ lineWidth: z.ZodOptional<z.ZodNumber>;
807
+ } & {
808
+ kind: z.ZodLiteral<"arrow">;
809
+ }, "strip", z.ZodTypeAny, {
810
+ kind: "arrow";
811
+ length?: number | undefined;
812
+ fill?: string | undefined;
813
+ color?: string | undefined;
814
+ opacity?: number | undefined;
815
+ shape?: string | undefined;
816
+ lineWidth?: number | undefined;
817
+ scale?: number | undefined;
818
+ width?: number | undefined;
819
+ }, {
820
+ kind: "arrow";
821
+ length?: number | undefined;
822
+ fill?: string | undefined;
823
+ color?: string | undefined;
824
+ opacity?: number | undefined;
825
+ shape?: string | undefined;
826
+ lineWidth?: number | undefined;
827
+ scale?: number | undefined;
828
+ width?: number | undefined;
829
+ }>;
830
+ }, "strip", z.ZodTypeAny, {
831
+ pos: number;
832
+ mark: {
833
+ kind: "arrow";
834
+ length?: number | undefined;
835
+ fill?: string | undefined;
836
+ color?: string | undefined;
837
+ opacity?: number | undefined;
838
+ shape?: string | undefined;
839
+ lineWidth?: number | undefined;
840
+ scale?: number | undefined;
841
+ width?: number | undefined;
842
+ };
843
+ }, {
844
+ pos: number;
845
+ mark: {
846
+ kind: "arrow";
847
+ length?: number | undefined;
848
+ fill?: string | undefined;
849
+ color?: string | undefined;
850
+ opacity?: number | undefined;
851
+ shape?: string | undefined;
852
+ lineWidth?: number | undefined;
853
+ scale?: number | undefined;
854
+ width?: number | undefined;
855
+ };
856
+ }>, "many">>;
809
857
  children: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
810
858
  type: z.ZodLiteral<"step">;
811
859
  kind: z.ZodLiteral<"move">;
@@ -1611,8 +1659,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1611
1659
  of: string | [number, number] | import('./position').PolarPosition;
1612
1660
  offset: [number, number];
1613
1661
  }>]>;
1614
- bendDirection: z.ZodEnum<["left", "right"]>;
1662
+ bendDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
1615
1663
  bendAngle: z.ZodOptional<z.ZodNumber>;
1664
+ outAngle: z.ZodOptional<z.ZodNumber>;
1665
+ inAngle: z.ZodOptional<z.ZodNumber>;
1666
+ looseness: z.ZodOptional<z.ZodNumber>;
1616
1667
  label: z.ZodOptional<z.ZodObject<{
1617
1668
  text: z.ZodString;
1618
1669
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -1678,7 +1729,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1678
1729
  relativeAccumulate: [number, number];
1679
1730
  };
1680
1731
  kind: "bend";
1681
- bendDirection: "left" | "right";
1682
1732
  label?: {
1683
1733
  text: string;
1684
1734
  opacity?: number | undefined;
@@ -1692,7 +1742,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1692
1742
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1693
1743
  textColor?: string | undefined;
1694
1744
  } | undefined;
1745
+ bendDirection?: "left" | "right" | undefined;
1695
1746
  bendAngle?: number | undefined;
1747
+ outAngle?: number | undefined;
1748
+ inAngle?: number | undefined;
1749
+ looseness?: number | undefined;
1696
1750
  }, {
1697
1751
  type: "step";
1698
1752
  to: [number, number] | import('./position').PolarPosition | {
@@ -1711,7 +1765,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1711
1765
  relativeAccumulate: [number, number];
1712
1766
  };
1713
1767
  kind: "bend";
1714
- bendDirection: "left" | "right";
1715
1768
  label?: {
1716
1769
  text: string;
1717
1770
  opacity?: number | undefined;
@@ -1725,7 +1778,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1725
1778
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1726
1779
  textColor?: string | undefined;
1727
1780
  } | undefined;
1781
+ bendDirection?: "left" | "right" | undefined;
1728
1782
  bendAngle?: number | undefined;
1783
+ outAngle?: number | undefined;
1784
+ inAngle?: number | undefined;
1785
+ looseness?: number | undefined;
1729
1786
  }>, z.ZodObject<{
1730
1787
  type: z.ZodLiteral<"step">;
1731
1788
  kind: z.ZodLiteral<"arc">;
@@ -2263,6 +2320,173 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2263
2320
  relativeAccumulate: [number, number];
2264
2321
  };
2265
2322
  roundedCorners?: number | undefined;
2323
+ }>, z.ZodObject<{
2324
+ type: z.ZodLiteral<"step">;
2325
+ kind: z.ZodLiteral<"generator">;
2326
+ name: z.ZodString;
2327
+ to: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2328
+ id: z.ZodString;
2329
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2330
+ side: z.ZodEnum<["north", "south", "east", "west"]>;
2331
+ t: z.ZodNumber;
2332
+ }, "strip", z.ZodTypeAny, {
2333
+ side: "north" | "south" | "east" | "west";
2334
+ t: number;
2335
+ }, {
2336
+ side: "north" | "south" | "east" | "west";
2337
+ t: number;
2338
+ }>]>>;
2339
+ offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2340
+ }, "strip", z.ZodTypeAny, {
2341
+ id: string;
2342
+ offset?: [number, number] | undefined;
2343
+ anchor?: number | import('..').RectAnchor | {
2344
+ side: "north" | "south" | "east" | "west";
2345
+ t: number;
2346
+ } | undefined;
2347
+ }, {
2348
+ id: string;
2349
+ offset?: [number, number] | undefined;
2350
+ anchor?: number | import('..').RectAnchor | {
2351
+ side: "north" | "south" | "east" | "west";
2352
+ t: number;
2353
+ } | undefined;
2354
+ }>, z.ZodObject<{
2355
+ relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2356
+ }, "strip", z.ZodTypeAny, {
2357
+ relative: [number, number];
2358
+ }, {
2359
+ relative: [number, number];
2360
+ }>, z.ZodObject<{
2361
+ relativeAccumulate: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2362
+ }, "strip", z.ZodTypeAny, {
2363
+ relativeAccumulate: [number, number];
2364
+ }, {
2365
+ relativeAccumulate: [number, number];
2366
+ }>, z.ZodObject<{
2367
+ of: z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>]>;
2368
+ offset: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2369
+ }, "strip", z.ZodTypeAny, {
2370
+ of: string | [number, number] | import('./position').PolarPosition;
2371
+ offset: [number, number];
2372
+ }, {
2373
+ of: string | [number, number] | import('./position').PolarPosition;
2374
+ offset: [number, number];
2375
+ }>]>>;
2376
+ params: z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>;
2377
+ label: z.ZodOptional<z.ZodObject<{
2378
+ text: z.ZodString;
2379
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
2380
+ side: z.ZodOptional<z.ZodEnum<["above", "below", "left", "right", "sloped"]>>;
2381
+ textColor: z.ZodOptional<z.ZodString>;
2382
+ opacity: z.ZodOptional<z.ZodNumber>;
2383
+ font: z.ZodOptional<z.ZodObject<{
2384
+ family: z.ZodOptional<z.ZodString>;
2385
+ size: z.ZodOptional<z.ZodNumber>;
2386
+ weight: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["normal", "bold"]>, z.ZodNumber]>>;
2387
+ style: z.ZodOptional<z.ZodEnum<["normal", "italic", "oblique"]>>;
2388
+ }, "strip", z.ZodTypeAny, {
2389
+ family?: string | undefined;
2390
+ size?: number | undefined;
2391
+ weight?: number | "normal" | "bold" | undefined;
2392
+ style?: "normal" | "italic" | "oblique" | undefined;
2393
+ }, {
2394
+ family?: string | undefined;
2395
+ size?: number | undefined;
2396
+ weight?: number | "normal" | "bold" | undefined;
2397
+ style?: "normal" | "italic" | "oblique" | undefined;
2398
+ }>>;
2399
+ }, "strip", z.ZodTypeAny, {
2400
+ text: string;
2401
+ opacity?: number | undefined;
2402
+ font?: {
2403
+ family?: string | undefined;
2404
+ size?: number | undefined;
2405
+ weight?: number | "normal" | "bold" | undefined;
2406
+ style?: "normal" | "italic" | "oblique" | undefined;
2407
+ } | undefined;
2408
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2409
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2410
+ textColor?: string | undefined;
2411
+ }, {
2412
+ text: string;
2413
+ opacity?: number | undefined;
2414
+ font?: {
2415
+ family?: string | undefined;
2416
+ size?: number | undefined;
2417
+ weight?: number | "normal" | "bold" | undefined;
2418
+ style?: "normal" | "italic" | "oblique" | undefined;
2419
+ } | undefined;
2420
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2421
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2422
+ textColor?: string | undefined;
2423
+ }>>;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ params: Record<string, import('./json').JsonValue>;
2426
+ type: "step";
2427
+ kind: "generator";
2428
+ name: string;
2429
+ to?: [number, number] | import('./position').PolarPosition | {
2430
+ of: string | [number, number] | import('./position').PolarPosition;
2431
+ offset: [number, number];
2432
+ } | {
2433
+ id: string;
2434
+ offset?: [number, number] | undefined;
2435
+ anchor?: number | import('..').RectAnchor | {
2436
+ side: "north" | "south" | "east" | "west";
2437
+ t: number;
2438
+ } | undefined;
2439
+ } | {
2440
+ relative: [number, number];
2441
+ } | {
2442
+ relativeAccumulate: [number, number];
2443
+ } | undefined;
2444
+ label?: {
2445
+ text: string;
2446
+ opacity?: number | undefined;
2447
+ font?: {
2448
+ family?: string | undefined;
2449
+ size?: number | undefined;
2450
+ weight?: number | "normal" | "bold" | undefined;
2451
+ style?: "normal" | "italic" | "oblique" | undefined;
2452
+ } | undefined;
2453
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2454
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2455
+ textColor?: string | undefined;
2456
+ } | undefined;
2457
+ }, {
2458
+ params: Record<string, import('./json').JsonValue>;
2459
+ type: "step";
2460
+ kind: "generator";
2461
+ name: string;
2462
+ to?: [number, number] | import('./position').PolarPosition | {
2463
+ of: string | [number, number] | import('./position').PolarPosition;
2464
+ offset: [number, number];
2465
+ } | {
2466
+ id: string;
2467
+ offset?: [number, number] | undefined;
2468
+ anchor?: number | import('..').RectAnchor | {
2469
+ side: "north" | "south" | "east" | "west";
2470
+ t: number;
2471
+ } | undefined;
2472
+ } | {
2473
+ relative: [number, number];
2474
+ } | {
2475
+ relativeAccumulate: [number, number];
2476
+ } | undefined;
2477
+ label?: {
2478
+ text: string;
2479
+ opacity?: number | undefined;
2480
+ font?: {
2481
+ family?: string | undefined;
2482
+ size?: number | undefined;
2483
+ weight?: number | "normal" | "bold" | undefined;
2484
+ style?: "normal" | "italic" | "oblique" | undefined;
2485
+ } | undefined;
2486
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2487
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2488
+ textColor?: string | undefined;
2489
+ } | undefined;
2266
2490
  }>]>, "many">;
2267
2491
  }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
2268
2492
  fill?: string | {
@@ -2284,7 +2508,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2284
2508
  center?: [number, number] | undefined;
2285
2509
  } | {
2286
2510
  type: "pattern";
2287
- shape: "lines" | "dots" | "grid";
2511
+ shape: string;
2288
2512
  size?: number | undefined;
2289
2513
  color?: string | undefined;
2290
2514
  background?: string | undefined;
@@ -2297,6 +2521,10 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2297
2521
  } | undefined;
2298
2522
  color?: string | undefined;
2299
2523
  opacity?: number | undefined;
2524
+ scale?: number | {
2525
+ x: number;
2526
+ y: number;
2527
+ } | undefined;
2300
2528
  stroke?: string | undefined;
2301
2529
  strokeWidth?: number | undefined;
2302
2530
  dashPattern?: number[] | undefined;
@@ -2306,6 +2534,21 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2306
2534
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
2307
2535
  fillOpacity?: number | undefined;
2308
2536
  drawOpacity?: number | undefined;
2537
+ rotate?: number | undefined;
2538
+ marks?: {
2539
+ pos: number;
2540
+ mark: {
2541
+ kind: "arrow";
2542
+ length?: number | undefined;
2543
+ fill?: string | undefined;
2544
+ color?: string | undefined;
2545
+ opacity?: number | undefined;
2546
+ shape?: string | undefined;
2547
+ lineWidth?: number | undefined;
2548
+ scale?: number | undefined;
2549
+ width?: number | undefined;
2550
+ };
2551
+ }[] | undefined;
2309
2552
  }, {
2310
2553
  fill?: string | {
2311
2554
  type: "linearGradient";
@@ -2326,7 +2569,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2326
2569
  center?: [number, number] | undefined;
2327
2570
  } | {
2328
2571
  type: "pattern";
2329
- shape: "lines" | "dots" | "grid";
2572
+ shape: string;
2330
2573
  size?: number | undefined;
2331
2574
  color?: string | undefined;
2332
2575
  background?: string | undefined;
@@ -2339,6 +2582,10 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2339
2582
  } | undefined;
2340
2583
  color?: string | undefined;
2341
2584
  opacity?: number | undefined;
2585
+ scale?: number | {
2586
+ x: number;
2587
+ y: number;
2588
+ } | undefined;
2342
2589
  stroke?: string | undefined;
2343
2590
  strokeWidth?: number | undefined;
2344
2591
  dashPattern?: number[] | undefined;
@@ -2348,6 +2595,21 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2348
2595
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
2349
2596
  fillOpacity?: number | undefined;
2350
2597
  drawOpacity?: number | undefined;
2598
+ rotate?: number | undefined;
2599
+ marks?: {
2600
+ pos: number;
2601
+ mark: {
2602
+ kind: "arrow";
2603
+ length?: number | undefined;
2604
+ fill?: string | undefined;
2605
+ color?: string | undefined;
2606
+ opacity?: number | undefined;
2607
+ shape?: string | undefined;
2608
+ lineWidth?: number | undefined;
2609
+ scale?: number | undefined;
2610
+ width?: number | undefined;
2611
+ };
2612
+ }[] | undefined;
2351
2613
  }>;
2352
2614
  /**
2353
2615
  * every label 默认样式 schema(node label 与 step label 共享)
@@ -2399,15 +2661,7 @@ export declare const LabelDefaultSchema: z.ZodObject<{
2399
2661
  * @description 直接复用 ArrowDetailSchema(shape / scale / length / width / color / fill / opacity / lineWidth + start / end)
2400
2662
  */
2401
2663
  export declare const ArrowDefaultSchema: z.ZodObject<{
2402
- shape: z.ZodOptional<z.ZodNativeEnum<{
2403
- readonly normal: "normal";
2404
- readonly open: "open";
2405
- readonly stealth: "stealth";
2406
- readonly diamond: "diamond";
2407
- readonly openDiamond: "openDiamond";
2408
- readonly circle: "circle";
2409
- readonly openCircle: "openCircle";
2410
- }>>;
2664
+ shape: z.ZodOptional<z.ZodString>;
2411
2665
  scale: z.ZodOptional<z.ZodNumber>;
2412
2666
  length: z.ZodOptional<z.ZodNumber>;
2413
2667
  width: z.ZodOptional<z.ZodNumber>;
@@ -2417,15 +2671,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2417
2671
  lineWidth: z.ZodOptional<z.ZodNumber>;
2418
2672
  } & {
2419
2673
  start: z.ZodOptional<z.ZodObject<{
2420
- shape: z.ZodOptional<z.ZodNativeEnum<{
2421
- readonly normal: "normal";
2422
- readonly open: "open";
2423
- readonly stealth: "stealth";
2424
- readonly diamond: "diamond";
2425
- readonly openDiamond: "openDiamond";
2426
- readonly circle: "circle";
2427
- readonly openCircle: "openCircle";
2428
- }>>;
2674
+ shape: z.ZodOptional<z.ZodString>;
2429
2675
  scale: z.ZodOptional<z.ZodNumber>;
2430
2676
  length: z.ZodOptional<z.ZodNumber>;
2431
2677
  width: z.ZodOptional<z.ZodNumber>;
@@ -2438,7 +2684,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2438
2684
  fill?: string | undefined;
2439
2685
  color?: string | undefined;
2440
2686
  opacity?: number | undefined;
2441
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2687
+ shape?: string | undefined;
2442
2688
  lineWidth?: number | undefined;
2443
2689
  scale?: number | undefined;
2444
2690
  width?: number | undefined;
@@ -2447,21 +2693,13 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2447
2693
  fill?: string | undefined;
2448
2694
  color?: string | undefined;
2449
2695
  opacity?: number | undefined;
2450
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2696
+ shape?: string | undefined;
2451
2697
  lineWidth?: number | undefined;
2452
2698
  scale?: number | undefined;
2453
2699
  width?: number | undefined;
2454
2700
  }>>;
2455
2701
  end: z.ZodOptional<z.ZodObject<{
2456
- shape: z.ZodOptional<z.ZodNativeEnum<{
2457
- readonly normal: "normal";
2458
- readonly open: "open";
2459
- readonly stealth: "stealth";
2460
- readonly diamond: "diamond";
2461
- readonly openDiamond: "openDiamond";
2462
- readonly circle: "circle";
2463
- readonly openCircle: "openCircle";
2464
- }>>;
2702
+ shape: z.ZodOptional<z.ZodString>;
2465
2703
  scale: z.ZodOptional<z.ZodNumber>;
2466
2704
  length: z.ZodOptional<z.ZodNumber>;
2467
2705
  width: z.ZodOptional<z.ZodNumber>;
@@ -2474,7 +2712,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2474
2712
  fill?: string | undefined;
2475
2713
  color?: string | undefined;
2476
2714
  opacity?: number | undefined;
2477
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2715
+ shape?: string | undefined;
2478
2716
  lineWidth?: number | undefined;
2479
2717
  scale?: number | undefined;
2480
2718
  width?: number | undefined;
@@ -2483,7 +2721,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2483
2721
  fill?: string | undefined;
2484
2722
  color?: string | undefined;
2485
2723
  opacity?: number | undefined;
2486
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2724
+ shape?: string | undefined;
2487
2725
  lineWidth?: number | undefined;
2488
2726
  scale?: number | undefined;
2489
2727
  width?: number | undefined;
@@ -2493,7 +2731,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2493
2731
  fill?: string | undefined;
2494
2732
  color?: string | undefined;
2495
2733
  opacity?: number | undefined;
2496
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2734
+ shape?: string | undefined;
2497
2735
  lineWidth?: number | undefined;
2498
2736
  scale?: number | undefined;
2499
2737
  width?: number | undefined;
@@ -2502,7 +2740,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2502
2740
  fill?: string | undefined;
2503
2741
  color?: string | undefined;
2504
2742
  opacity?: number | undefined;
2505
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2743
+ shape?: string | undefined;
2506
2744
  lineWidth?: number | undefined;
2507
2745
  scale?: number | undefined;
2508
2746
  width?: number | undefined;
@@ -2512,7 +2750,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2512
2750
  fill?: string | undefined;
2513
2751
  color?: string | undefined;
2514
2752
  opacity?: number | undefined;
2515
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2753
+ shape?: string | undefined;
2516
2754
  lineWidth?: number | undefined;
2517
2755
  scale?: number | undefined;
2518
2756
  width?: number | undefined;
@@ -2522,7 +2760,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2522
2760
  fill?: string | undefined;
2523
2761
  color?: string | undefined;
2524
2762
  opacity?: number | undefined;
2525
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2763
+ shape?: string | undefined;
2526
2764
  lineWidth?: number | undefined;
2527
2765
  scale?: number | undefined;
2528
2766
  width?: number | undefined;
@@ -2531,7 +2769,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2531
2769
  fill?: string | undefined;
2532
2770
  color?: string | undefined;
2533
2771
  opacity?: number | undefined;
2534
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2772
+ shape?: string | undefined;
2535
2773
  lineWidth?: number | undefined;
2536
2774
  scale?: number | undefined;
2537
2775
  width?: number | undefined;
@@ -2541,7 +2779,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2541
2779
  fill?: string | undefined;
2542
2780
  color?: string | undefined;
2543
2781
  opacity?: number | undefined;
2544
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2782
+ shape?: string | undefined;
2545
2783
  lineWidth?: number | undefined;
2546
2784
  scale?: number | undefined;
2547
2785
  width?: number | undefined;
@@ -2760,7 +2998,7 @@ export declare const ScopeSchema: z.ZodObject<{
2760
2998
  center?: [number, number] | undefined;
2761
2999
  }>, z.ZodObject<{
2762
3000
  type: z.ZodLiteral<"pattern">;
2763
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
3001
+ shape: z.ZodString;
2764
3002
  color: z.ZodOptional<z.ZodString>;
2765
3003
  background: z.ZodOptional<z.ZodString>;
2766
3004
  size: z.ZodOptional<z.ZodNumber>;
@@ -2768,7 +3006,7 @@ export declare const ScopeSchema: z.ZodObject<{
2768
3006
  rotation: z.ZodOptional<z.ZodNumber>;
2769
3007
  }, "strip", z.ZodTypeAny, {
2770
3008
  type: "pattern";
2771
- shape: "lines" | "dots" | "grid";
3009
+ shape: string;
2772
3010
  size?: number | undefined;
2773
3011
  color?: string | undefined;
2774
3012
  background?: string | undefined;
@@ -2776,7 +3014,7 @@ export declare const ScopeSchema: z.ZodObject<{
2776
3014
  rotation?: number | undefined;
2777
3015
  }, {
2778
3016
  type: "pattern";
2779
- shape: "lines" | "dots" | "grid";
3017
+ shape: string;
2780
3018
  size?: number | undefined;
2781
3019
  color?: string | undefined;
2782
3020
  background?: string | undefined;
@@ -2953,7 +3191,7 @@ export declare const ScopeSchema: z.ZodObject<{
2953
3191
  center?: [number, number] | undefined;
2954
3192
  }>, z.ZodObject<{
2955
3193
  type: z.ZodLiteral<"pattern">;
2956
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
3194
+ shape: z.ZodString;
2957
3195
  color: z.ZodOptional<z.ZodString>;
2958
3196
  background: z.ZodOptional<z.ZodString>;
2959
3197
  size: z.ZodOptional<z.ZodNumber>;
@@ -2961,7 +3199,7 @@ export declare const ScopeSchema: z.ZodObject<{
2961
3199
  rotation: z.ZodOptional<z.ZodNumber>;
2962
3200
  }, "strip", z.ZodTypeAny, {
2963
3201
  type: "pattern";
2964
- shape: "lines" | "dots" | "grid";
3202
+ shape: string;
2965
3203
  size?: number | undefined;
2966
3204
  color?: string | undefined;
2967
3205
  background?: string | undefined;
@@ -2969,7 +3207,7 @@ export declare const ScopeSchema: z.ZodObject<{
2969
3207
  rotation?: number | undefined;
2970
3208
  }, {
2971
3209
  type: "pattern";
2972
- shape: "lines" | "dots" | "grid";
3210
+ shape: string;
2973
3211
  size?: number | undefined;
2974
3212
  color?: string | undefined;
2975
3213
  background?: string | undefined;
@@ -3215,7 +3453,7 @@ export declare const ScopeSchema: z.ZodObject<{
3215
3453
  center?: [number, number] | undefined;
3216
3454
  } | {
3217
3455
  type: "pattern";
3218
- shape: "lines" | "dots" | "grid";
3456
+ shape: string;
3219
3457
  size?: number | undefined;
3220
3458
  color?: string | undefined;
3221
3459
  background?: string | undefined;
@@ -3279,7 +3517,7 @@ export declare const ScopeSchema: z.ZodObject<{
3279
3517
  center?: [number, number] | undefined;
3280
3518
  } | {
3281
3519
  type: "pattern";
3282
- shape: "lines" | "dots" | "grid";
3520
+ shape: string;
3283
3521
  size?: number | undefined;
3284
3522
  color?: string | undefined;
3285
3523
  background?: string | undefined;
@@ -3332,15 +3570,7 @@ export declare const ScopeSchema: z.ZodObject<{
3332
3570
  dashPattern: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3333
3571
  arrow: z.ZodOptional<z.ZodEnum<["none", "->", "<-", "<->"]>>;
3334
3572
  arrowDetail: z.ZodOptional<z.ZodObject<{
3335
- shape: z.ZodOptional<z.ZodNativeEnum<{
3336
- readonly normal: "normal";
3337
- readonly open: "open";
3338
- readonly stealth: "stealth";
3339
- readonly diamond: "diamond";
3340
- readonly openDiamond: "openDiamond";
3341
- readonly circle: "circle";
3342
- readonly openCircle: "openCircle";
3343
- }>>;
3573
+ shape: z.ZodOptional<z.ZodString>;
3344
3574
  scale: z.ZodOptional<z.ZodNumber>;
3345
3575
  length: z.ZodOptional<z.ZodNumber>;
3346
3576
  width: z.ZodOptional<z.ZodNumber>;
@@ -3350,15 +3580,7 @@ export declare const ScopeSchema: z.ZodObject<{
3350
3580
  lineWidth: z.ZodOptional<z.ZodNumber>;
3351
3581
  } & {
3352
3582
  start: z.ZodOptional<z.ZodObject<{
3353
- shape: z.ZodOptional<z.ZodNativeEnum<{
3354
- readonly normal: "normal";
3355
- readonly open: "open";
3356
- readonly stealth: "stealth";
3357
- readonly diamond: "diamond";
3358
- readonly openDiamond: "openDiamond";
3359
- readonly circle: "circle";
3360
- readonly openCircle: "openCircle";
3361
- }>>;
3583
+ shape: z.ZodOptional<z.ZodString>;
3362
3584
  scale: z.ZodOptional<z.ZodNumber>;
3363
3585
  length: z.ZodOptional<z.ZodNumber>;
3364
3586
  width: z.ZodOptional<z.ZodNumber>;
@@ -3371,7 +3593,7 @@ export declare const ScopeSchema: z.ZodObject<{
3371
3593
  fill?: string | undefined;
3372
3594
  color?: string | undefined;
3373
3595
  opacity?: number | undefined;
3374
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3596
+ shape?: string | undefined;
3375
3597
  lineWidth?: number | undefined;
3376
3598
  scale?: number | undefined;
3377
3599
  width?: number | undefined;
@@ -3380,21 +3602,13 @@ export declare const ScopeSchema: z.ZodObject<{
3380
3602
  fill?: string | undefined;
3381
3603
  color?: string | undefined;
3382
3604
  opacity?: number | undefined;
3383
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3605
+ shape?: string | undefined;
3384
3606
  lineWidth?: number | undefined;
3385
3607
  scale?: number | undefined;
3386
3608
  width?: number | undefined;
3387
3609
  }>>;
3388
3610
  end: z.ZodOptional<z.ZodObject<{
3389
- shape: z.ZodOptional<z.ZodNativeEnum<{
3390
- readonly normal: "normal";
3391
- readonly open: "open";
3392
- readonly stealth: "stealth";
3393
- readonly diamond: "diamond";
3394
- readonly openDiamond: "openDiamond";
3395
- readonly circle: "circle";
3396
- readonly openCircle: "openCircle";
3397
- }>>;
3611
+ shape: z.ZodOptional<z.ZodString>;
3398
3612
  scale: z.ZodOptional<z.ZodNumber>;
3399
3613
  length: z.ZodOptional<z.ZodNumber>;
3400
3614
  width: z.ZodOptional<z.ZodNumber>;
@@ -3407,7 +3621,7 @@ export declare const ScopeSchema: z.ZodObject<{
3407
3621
  fill?: string | undefined;
3408
3622
  color?: string | undefined;
3409
3623
  opacity?: number | undefined;
3410
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3624
+ shape?: string | undefined;
3411
3625
  lineWidth?: number | undefined;
3412
3626
  scale?: number | undefined;
3413
3627
  width?: number | undefined;
@@ -3416,7 +3630,7 @@ export declare const ScopeSchema: z.ZodObject<{
3416
3630
  fill?: string | undefined;
3417
3631
  color?: string | undefined;
3418
3632
  opacity?: number | undefined;
3419
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3633
+ shape?: string | undefined;
3420
3634
  lineWidth?: number | undefined;
3421
3635
  scale?: number | undefined;
3422
3636
  width?: number | undefined;
@@ -3426,7 +3640,7 @@ export declare const ScopeSchema: z.ZodObject<{
3426
3640
  fill?: string | undefined;
3427
3641
  color?: string | undefined;
3428
3642
  opacity?: number | undefined;
3429
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3643
+ shape?: string | undefined;
3430
3644
  lineWidth?: number | undefined;
3431
3645
  scale?: number | undefined;
3432
3646
  width?: number | undefined;
@@ -3435,7 +3649,7 @@ export declare const ScopeSchema: z.ZodObject<{
3435
3649
  fill?: string | undefined;
3436
3650
  color?: string | undefined;
3437
3651
  opacity?: number | undefined;
3438
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3652
+ shape?: string | undefined;
3439
3653
  lineWidth?: number | undefined;
3440
3654
  scale?: number | undefined;
3441
3655
  width?: number | undefined;
@@ -3445,7 +3659,7 @@ export declare const ScopeSchema: z.ZodObject<{
3445
3659
  fill?: string | undefined;
3446
3660
  color?: string | undefined;
3447
3661
  opacity?: number | undefined;
3448
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3662
+ shape?: string | undefined;
3449
3663
  lineWidth?: number | undefined;
3450
3664
  scale?: number | undefined;
3451
3665
  width?: number | undefined;
@@ -3455,7 +3669,7 @@ export declare const ScopeSchema: z.ZodObject<{
3455
3669
  fill?: string | undefined;
3456
3670
  color?: string | undefined;
3457
3671
  opacity?: number | undefined;
3458
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3672
+ shape?: string | undefined;
3459
3673
  lineWidth?: number | undefined;
3460
3674
  scale?: number | undefined;
3461
3675
  width?: number | undefined;
@@ -3464,7 +3678,7 @@ export declare const ScopeSchema: z.ZodObject<{
3464
3678
  fill?: string | undefined;
3465
3679
  color?: string | undefined;
3466
3680
  opacity?: number | undefined;
3467
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3681
+ shape?: string | undefined;
3468
3682
  lineWidth?: number | undefined;
3469
3683
  scale?: number | undefined;
3470
3684
  width?: number | undefined;
@@ -3474,7 +3688,7 @@ export declare const ScopeSchema: z.ZodObject<{
3474
3688
  fill?: string | undefined;
3475
3689
  color?: string | undefined;
3476
3690
  opacity?: number | undefined;
3477
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3691
+ shape?: string | undefined;
3478
3692
  lineWidth?: number | undefined;
3479
3693
  scale?: number | undefined;
3480
3694
  width?: number | undefined;
@@ -3549,7 +3763,7 @@ export declare const ScopeSchema: z.ZodObject<{
3549
3763
  center?: [number, number] | undefined;
3550
3764
  }>, z.ZodObject<{
3551
3765
  type: z.ZodLiteral<"pattern">;
3552
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
3766
+ shape: z.ZodString;
3553
3767
  color: z.ZodOptional<z.ZodString>;
3554
3768
  background: z.ZodOptional<z.ZodString>;
3555
3769
  size: z.ZodOptional<z.ZodNumber>;
@@ -3557,7 +3771,7 @@ export declare const ScopeSchema: z.ZodObject<{
3557
3771
  rotation: z.ZodOptional<z.ZodNumber>;
3558
3772
  }, "strip", z.ZodTypeAny, {
3559
3773
  type: "pattern";
3560
- shape: "lines" | "dots" | "grid";
3774
+ shape: string;
3561
3775
  size?: number | undefined;
3562
3776
  color?: string | undefined;
3563
3777
  background?: string | undefined;
@@ -3565,7 +3779,7 @@ export declare const ScopeSchema: z.ZodObject<{
3565
3779
  rotation?: number | undefined;
3566
3780
  }, {
3567
3781
  type: "pattern";
3568
- shape: "lines" | "dots" | "grid";
3782
+ shape: string;
3569
3783
  size?: number | undefined;
3570
3784
  color?: string | undefined;
3571
3785
  background?: string | undefined;
@@ -3592,6 +3806,78 @@ export declare const ScopeSchema: z.ZodObject<{
3592
3806
  fillOpacity: z.ZodOptional<z.ZodNumber>;
3593
3807
  drawOpacity: z.ZodOptional<z.ZodNumber>;
3594
3808
  zIndex: z.ZodOptional<z.ZodNumber>;
3809
+ rotate: z.ZodOptional<z.ZodNumber>;
3810
+ scale: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
3811
+ x: z.ZodNumber;
3812
+ y: z.ZodNumber;
3813
+ }, "strip", z.ZodTypeAny, {
3814
+ x: number;
3815
+ y: number;
3816
+ }, {
3817
+ x: number;
3818
+ y: number;
3819
+ }>]>>;
3820
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3821
+ pos: z.ZodNumber;
3822
+ mark: z.ZodObject<{
3823
+ shape: z.ZodOptional<z.ZodString>;
3824
+ scale: z.ZodOptional<z.ZodNumber>;
3825
+ length: z.ZodOptional<z.ZodNumber>;
3826
+ width: z.ZodOptional<z.ZodNumber>;
3827
+ color: z.ZodOptional<z.ZodString>;
3828
+ fill: z.ZodOptional<z.ZodString>;
3829
+ opacity: z.ZodOptional<z.ZodNumber>;
3830
+ lineWidth: z.ZodOptional<z.ZodNumber>;
3831
+ } & {
3832
+ kind: z.ZodLiteral<"arrow">;
3833
+ }, "strip", z.ZodTypeAny, {
3834
+ kind: "arrow";
3835
+ length?: number | undefined;
3836
+ fill?: string | undefined;
3837
+ color?: string | undefined;
3838
+ opacity?: number | undefined;
3839
+ shape?: string | undefined;
3840
+ lineWidth?: number | undefined;
3841
+ scale?: number | undefined;
3842
+ width?: number | undefined;
3843
+ }, {
3844
+ kind: "arrow";
3845
+ length?: number | undefined;
3846
+ fill?: string | undefined;
3847
+ color?: string | undefined;
3848
+ opacity?: number | undefined;
3849
+ shape?: string | undefined;
3850
+ lineWidth?: number | undefined;
3851
+ scale?: number | undefined;
3852
+ width?: number | undefined;
3853
+ }>;
3854
+ }, "strip", z.ZodTypeAny, {
3855
+ pos: number;
3856
+ mark: {
3857
+ kind: "arrow";
3858
+ length?: number | undefined;
3859
+ fill?: string | undefined;
3860
+ color?: string | undefined;
3861
+ opacity?: number | undefined;
3862
+ shape?: string | undefined;
3863
+ lineWidth?: number | undefined;
3864
+ scale?: number | undefined;
3865
+ width?: number | undefined;
3866
+ };
3867
+ }, {
3868
+ pos: number;
3869
+ mark: {
3870
+ kind: "arrow";
3871
+ length?: number | undefined;
3872
+ fill?: string | undefined;
3873
+ color?: string | undefined;
3874
+ opacity?: number | undefined;
3875
+ shape?: string | undefined;
3876
+ lineWidth?: number | undefined;
3877
+ scale?: number | undefined;
3878
+ width?: number | undefined;
3879
+ };
3880
+ }>, "many">>;
3595
3881
  children: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3596
3882
  type: z.ZodLiteral<"step">;
3597
3883
  kind: z.ZodLiteral<"move">;
@@ -4397,8 +4683,11 @@ export declare const ScopeSchema: z.ZodObject<{
4397
4683
  of: string | [number, number] | import('./position').PolarPosition;
4398
4684
  offset: [number, number];
4399
4685
  }>]>;
4400
- bendDirection: z.ZodEnum<["left", "right"]>;
4686
+ bendDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
4401
4687
  bendAngle: z.ZodOptional<z.ZodNumber>;
4688
+ outAngle: z.ZodOptional<z.ZodNumber>;
4689
+ inAngle: z.ZodOptional<z.ZodNumber>;
4690
+ looseness: z.ZodOptional<z.ZodNumber>;
4402
4691
  label: z.ZodOptional<z.ZodObject<{
4403
4692
  text: z.ZodString;
4404
4693
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -4464,7 +4753,6 @@ export declare const ScopeSchema: z.ZodObject<{
4464
4753
  relativeAccumulate: [number, number];
4465
4754
  };
4466
4755
  kind: "bend";
4467
- bendDirection: "left" | "right";
4468
4756
  label?: {
4469
4757
  text: string;
4470
4758
  opacity?: number | undefined;
@@ -4478,7 +4766,11 @@ export declare const ScopeSchema: z.ZodObject<{
4478
4766
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4479
4767
  textColor?: string | undefined;
4480
4768
  } | undefined;
4769
+ bendDirection?: "left" | "right" | undefined;
4481
4770
  bendAngle?: number | undefined;
4771
+ outAngle?: number | undefined;
4772
+ inAngle?: number | undefined;
4773
+ looseness?: number | undefined;
4482
4774
  }, {
4483
4775
  type: "step";
4484
4776
  to: [number, number] | import('./position').PolarPosition | {
@@ -4497,7 +4789,6 @@ export declare const ScopeSchema: z.ZodObject<{
4497
4789
  relativeAccumulate: [number, number];
4498
4790
  };
4499
4791
  kind: "bend";
4500
- bendDirection: "left" | "right";
4501
4792
  label?: {
4502
4793
  text: string;
4503
4794
  opacity?: number | undefined;
@@ -4511,7 +4802,11 @@ export declare const ScopeSchema: z.ZodObject<{
4511
4802
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4512
4803
  textColor?: string | undefined;
4513
4804
  } | undefined;
4805
+ bendDirection?: "left" | "right" | undefined;
4514
4806
  bendAngle?: number | undefined;
4807
+ outAngle?: number | undefined;
4808
+ inAngle?: number | undefined;
4809
+ looseness?: number | undefined;
4515
4810
  }>, z.ZodObject<{
4516
4811
  type: z.ZodLiteral<"step">;
4517
4812
  kind: z.ZodLiteral<"arc">;
@@ -5049,6 +5344,173 @@ export declare const ScopeSchema: z.ZodObject<{
5049
5344
  relativeAccumulate: [number, number];
5050
5345
  };
5051
5346
  roundedCorners?: number | undefined;
5347
+ }>, z.ZodObject<{
5348
+ type: z.ZodLiteral<"step">;
5349
+ kind: z.ZodLiteral<"generator">;
5350
+ name: z.ZodString;
5351
+ to: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5352
+ id: z.ZodString;
5353
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5354
+ side: z.ZodEnum<["north", "south", "east", "west"]>;
5355
+ t: z.ZodNumber;
5356
+ }, "strip", z.ZodTypeAny, {
5357
+ side: "north" | "south" | "east" | "west";
5358
+ t: number;
5359
+ }, {
5360
+ side: "north" | "south" | "east" | "west";
5361
+ t: number;
5362
+ }>]>>;
5363
+ offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5364
+ }, "strip", z.ZodTypeAny, {
5365
+ id: string;
5366
+ offset?: [number, number] | undefined;
5367
+ anchor?: number | import('..').RectAnchor | {
5368
+ side: "north" | "south" | "east" | "west";
5369
+ t: number;
5370
+ } | undefined;
5371
+ }, {
5372
+ id: string;
5373
+ offset?: [number, number] | undefined;
5374
+ anchor?: number | import('..').RectAnchor | {
5375
+ side: "north" | "south" | "east" | "west";
5376
+ t: number;
5377
+ } | undefined;
5378
+ }>, z.ZodObject<{
5379
+ relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5380
+ }, "strip", z.ZodTypeAny, {
5381
+ relative: [number, number];
5382
+ }, {
5383
+ relative: [number, number];
5384
+ }>, z.ZodObject<{
5385
+ relativeAccumulate: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5386
+ }, "strip", z.ZodTypeAny, {
5387
+ relativeAccumulate: [number, number];
5388
+ }, {
5389
+ relativeAccumulate: [number, number];
5390
+ }>, z.ZodObject<{
5391
+ of: z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>]>;
5392
+ offset: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5393
+ }, "strip", z.ZodTypeAny, {
5394
+ of: string | [number, number] | import('./position').PolarPosition;
5395
+ offset: [number, number];
5396
+ }, {
5397
+ of: string | [number, number] | import('./position').PolarPosition;
5398
+ offset: [number, number];
5399
+ }>]>>;
5400
+ params: z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>;
5401
+ label: z.ZodOptional<z.ZodObject<{
5402
+ text: z.ZodString;
5403
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
5404
+ side: z.ZodOptional<z.ZodEnum<["above", "below", "left", "right", "sloped"]>>;
5405
+ textColor: z.ZodOptional<z.ZodString>;
5406
+ opacity: z.ZodOptional<z.ZodNumber>;
5407
+ font: z.ZodOptional<z.ZodObject<{
5408
+ family: z.ZodOptional<z.ZodString>;
5409
+ size: z.ZodOptional<z.ZodNumber>;
5410
+ weight: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["normal", "bold"]>, z.ZodNumber]>>;
5411
+ style: z.ZodOptional<z.ZodEnum<["normal", "italic", "oblique"]>>;
5412
+ }, "strip", z.ZodTypeAny, {
5413
+ family?: string | undefined;
5414
+ size?: number | undefined;
5415
+ weight?: number | "normal" | "bold" | undefined;
5416
+ style?: "normal" | "italic" | "oblique" | undefined;
5417
+ }, {
5418
+ family?: string | undefined;
5419
+ size?: number | undefined;
5420
+ weight?: number | "normal" | "bold" | undefined;
5421
+ style?: "normal" | "italic" | "oblique" | undefined;
5422
+ }>>;
5423
+ }, "strip", z.ZodTypeAny, {
5424
+ text: string;
5425
+ opacity?: number | undefined;
5426
+ font?: {
5427
+ family?: string | undefined;
5428
+ size?: number | undefined;
5429
+ weight?: number | "normal" | "bold" | undefined;
5430
+ style?: "normal" | "italic" | "oblique" | undefined;
5431
+ } | undefined;
5432
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
5433
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5434
+ textColor?: string | undefined;
5435
+ }, {
5436
+ text: string;
5437
+ opacity?: number | undefined;
5438
+ font?: {
5439
+ family?: string | undefined;
5440
+ size?: number | undefined;
5441
+ weight?: number | "normal" | "bold" | undefined;
5442
+ style?: "normal" | "italic" | "oblique" | undefined;
5443
+ } | undefined;
5444
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
5445
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5446
+ textColor?: string | undefined;
5447
+ }>>;
5448
+ }, "strip", z.ZodTypeAny, {
5449
+ params: Record<string, import('./json').JsonValue>;
5450
+ type: "step";
5451
+ kind: "generator";
5452
+ name: string;
5453
+ to?: [number, number] | import('./position').PolarPosition | {
5454
+ of: string | [number, number] | import('./position').PolarPosition;
5455
+ offset: [number, number];
5456
+ } | {
5457
+ id: string;
5458
+ offset?: [number, number] | undefined;
5459
+ anchor?: number | import('..').RectAnchor | {
5460
+ side: "north" | "south" | "east" | "west";
5461
+ t: number;
5462
+ } | undefined;
5463
+ } | {
5464
+ relative: [number, number];
5465
+ } | {
5466
+ relativeAccumulate: [number, number];
5467
+ } | undefined;
5468
+ label?: {
5469
+ text: string;
5470
+ opacity?: number | undefined;
5471
+ font?: {
5472
+ family?: string | undefined;
5473
+ size?: number | undefined;
5474
+ weight?: number | "normal" | "bold" | undefined;
5475
+ style?: "normal" | "italic" | "oblique" | undefined;
5476
+ } | undefined;
5477
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
5478
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5479
+ textColor?: string | undefined;
5480
+ } | undefined;
5481
+ }, {
5482
+ params: Record<string, import('./json').JsonValue>;
5483
+ type: "step";
5484
+ kind: "generator";
5485
+ name: string;
5486
+ to?: [number, number] | import('./position').PolarPosition | {
5487
+ of: string | [number, number] | import('./position').PolarPosition;
5488
+ offset: [number, number];
5489
+ } | {
5490
+ id: string;
5491
+ offset?: [number, number] | undefined;
5492
+ anchor?: number | import('..').RectAnchor | {
5493
+ side: "north" | "south" | "east" | "west";
5494
+ t: number;
5495
+ } | undefined;
5496
+ } | {
5497
+ relative: [number, number];
5498
+ } | {
5499
+ relativeAccumulate: [number, number];
5500
+ } | undefined;
5501
+ label?: {
5502
+ text: string;
5503
+ opacity?: number | undefined;
5504
+ font?: {
5505
+ family?: string | undefined;
5506
+ size?: number | undefined;
5507
+ weight?: number | "normal" | "bold" | undefined;
5508
+ style?: "normal" | "italic" | "oblique" | undefined;
5509
+ } | undefined;
5510
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
5511
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5512
+ textColor?: string | undefined;
5513
+ } | undefined;
5052
5514
  }>]>, "many">;
5053
5515
  }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
5054
5516
  fill?: string | {
@@ -5070,7 +5532,7 @@ export declare const ScopeSchema: z.ZodObject<{
5070
5532
  center?: [number, number] | undefined;
5071
5533
  } | {
5072
5534
  type: "pattern";
5073
- shape: "lines" | "dots" | "grid";
5535
+ shape: string;
5074
5536
  size?: number | undefined;
5075
5537
  color?: string | undefined;
5076
5538
  background?: string | undefined;
@@ -5083,6 +5545,10 @@ export declare const ScopeSchema: z.ZodObject<{
5083
5545
  } | undefined;
5084
5546
  color?: string | undefined;
5085
5547
  opacity?: number | undefined;
5548
+ scale?: number | {
5549
+ x: number;
5550
+ y: number;
5551
+ } | undefined;
5086
5552
  stroke?: string | undefined;
5087
5553
  strokeWidth?: number | undefined;
5088
5554
  dashPattern?: number[] | undefined;
@@ -5092,6 +5558,21 @@ export declare const ScopeSchema: z.ZodObject<{
5092
5558
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5093
5559
  fillOpacity?: number | undefined;
5094
5560
  drawOpacity?: number | undefined;
5561
+ rotate?: number | undefined;
5562
+ marks?: {
5563
+ pos: number;
5564
+ mark: {
5565
+ kind: "arrow";
5566
+ length?: number | undefined;
5567
+ fill?: string | undefined;
5568
+ color?: string | undefined;
5569
+ opacity?: number | undefined;
5570
+ shape?: string | undefined;
5571
+ lineWidth?: number | undefined;
5572
+ scale?: number | undefined;
5573
+ width?: number | undefined;
5574
+ };
5575
+ }[] | undefined;
5095
5576
  }, {
5096
5577
  fill?: string | {
5097
5578
  type: "linearGradient";
@@ -5112,7 +5593,7 @@ export declare const ScopeSchema: z.ZodObject<{
5112
5593
  center?: [number, number] | undefined;
5113
5594
  } | {
5114
5595
  type: "pattern";
5115
- shape: "lines" | "dots" | "grid";
5596
+ shape: string;
5116
5597
  size?: number | undefined;
5117
5598
  color?: string | undefined;
5118
5599
  background?: string | undefined;
@@ -5125,6 +5606,10 @@ export declare const ScopeSchema: z.ZodObject<{
5125
5606
  } | undefined;
5126
5607
  color?: string | undefined;
5127
5608
  opacity?: number | undefined;
5609
+ scale?: number | {
5610
+ x: number;
5611
+ y: number;
5612
+ } | undefined;
5128
5613
  stroke?: string | undefined;
5129
5614
  strokeWidth?: number | undefined;
5130
5615
  dashPattern?: number[] | undefined;
@@ -5134,6 +5619,21 @@ export declare const ScopeSchema: z.ZodObject<{
5134
5619
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5135
5620
  fillOpacity?: number | undefined;
5136
5621
  drawOpacity?: number | undefined;
5622
+ rotate?: number | undefined;
5623
+ marks?: {
5624
+ pos: number;
5625
+ mark: {
5626
+ kind: "arrow";
5627
+ length?: number | undefined;
5628
+ fill?: string | undefined;
5629
+ color?: string | undefined;
5630
+ opacity?: number | undefined;
5631
+ shape?: string | undefined;
5632
+ lineWidth?: number | undefined;
5633
+ scale?: number | undefined;
5634
+ width?: number | undefined;
5635
+ };
5636
+ }[] | undefined;
5137
5637
  }>>;
5138
5638
  labelDefault: z.ZodOptional<z.ZodObject<{
5139
5639
  color: z.ZodOptional<z.ZodString>;
@@ -5177,15 +5677,7 @@ export declare const ScopeSchema: z.ZodObject<{
5177
5677
  textColor?: string | undefined;
5178
5678
  }>>;
5179
5679
  arrowDefault: z.ZodOptional<z.ZodObject<{
5180
- shape: z.ZodOptional<z.ZodNativeEnum<{
5181
- readonly normal: "normal";
5182
- readonly open: "open";
5183
- readonly stealth: "stealth";
5184
- readonly diamond: "diamond";
5185
- readonly openDiamond: "openDiamond";
5186
- readonly circle: "circle";
5187
- readonly openCircle: "openCircle";
5188
- }>>;
5680
+ shape: z.ZodOptional<z.ZodString>;
5189
5681
  scale: z.ZodOptional<z.ZodNumber>;
5190
5682
  length: z.ZodOptional<z.ZodNumber>;
5191
5683
  width: z.ZodOptional<z.ZodNumber>;
@@ -5195,15 +5687,7 @@ export declare const ScopeSchema: z.ZodObject<{
5195
5687
  lineWidth: z.ZodOptional<z.ZodNumber>;
5196
5688
  } & {
5197
5689
  start: z.ZodOptional<z.ZodObject<{
5198
- shape: z.ZodOptional<z.ZodNativeEnum<{
5199
- readonly normal: "normal";
5200
- readonly open: "open";
5201
- readonly stealth: "stealth";
5202
- readonly diamond: "diamond";
5203
- readonly openDiamond: "openDiamond";
5204
- readonly circle: "circle";
5205
- readonly openCircle: "openCircle";
5206
- }>>;
5690
+ shape: z.ZodOptional<z.ZodString>;
5207
5691
  scale: z.ZodOptional<z.ZodNumber>;
5208
5692
  length: z.ZodOptional<z.ZodNumber>;
5209
5693
  width: z.ZodOptional<z.ZodNumber>;
@@ -5216,7 +5700,7 @@ export declare const ScopeSchema: z.ZodObject<{
5216
5700
  fill?: string | undefined;
5217
5701
  color?: string | undefined;
5218
5702
  opacity?: number | undefined;
5219
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5703
+ shape?: string | undefined;
5220
5704
  lineWidth?: number | undefined;
5221
5705
  scale?: number | undefined;
5222
5706
  width?: number | undefined;
@@ -5225,21 +5709,13 @@ export declare const ScopeSchema: z.ZodObject<{
5225
5709
  fill?: string | undefined;
5226
5710
  color?: string | undefined;
5227
5711
  opacity?: number | undefined;
5228
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5712
+ shape?: string | undefined;
5229
5713
  lineWidth?: number | undefined;
5230
5714
  scale?: number | undefined;
5231
5715
  width?: number | undefined;
5232
5716
  }>>;
5233
5717
  end: z.ZodOptional<z.ZodObject<{
5234
- shape: z.ZodOptional<z.ZodNativeEnum<{
5235
- readonly normal: "normal";
5236
- readonly open: "open";
5237
- readonly stealth: "stealth";
5238
- readonly diamond: "diamond";
5239
- readonly openDiamond: "openDiamond";
5240
- readonly circle: "circle";
5241
- readonly openCircle: "openCircle";
5242
- }>>;
5718
+ shape: z.ZodOptional<z.ZodString>;
5243
5719
  scale: z.ZodOptional<z.ZodNumber>;
5244
5720
  length: z.ZodOptional<z.ZodNumber>;
5245
5721
  width: z.ZodOptional<z.ZodNumber>;
@@ -5252,7 +5728,7 @@ export declare const ScopeSchema: z.ZodObject<{
5252
5728
  fill?: string | undefined;
5253
5729
  color?: string | undefined;
5254
5730
  opacity?: number | undefined;
5255
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5731
+ shape?: string | undefined;
5256
5732
  lineWidth?: number | undefined;
5257
5733
  scale?: number | undefined;
5258
5734
  width?: number | undefined;
@@ -5261,7 +5737,7 @@ export declare const ScopeSchema: z.ZodObject<{
5261
5737
  fill?: string | undefined;
5262
5738
  color?: string | undefined;
5263
5739
  opacity?: number | undefined;
5264
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5740
+ shape?: string | undefined;
5265
5741
  lineWidth?: number | undefined;
5266
5742
  scale?: number | undefined;
5267
5743
  width?: number | undefined;
@@ -5271,7 +5747,7 @@ export declare const ScopeSchema: z.ZodObject<{
5271
5747
  fill?: string | undefined;
5272
5748
  color?: string | undefined;
5273
5749
  opacity?: number | undefined;
5274
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5750
+ shape?: string | undefined;
5275
5751
  lineWidth?: number | undefined;
5276
5752
  scale?: number | undefined;
5277
5753
  width?: number | undefined;
@@ -5280,7 +5756,7 @@ export declare const ScopeSchema: z.ZodObject<{
5280
5756
  fill?: string | undefined;
5281
5757
  color?: string | undefined;
5282
5758
  opacity?: number | undefined;
5283
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5759
+ shape?: string | undefined;
5284
5760
  lineWidth?: number | undefined;
5285
5761
  scale?: number | undefined;
5286
5762
  width?: number | undefined;
@@ -5290,7 +5766,7 @@ export declare const ScopeSchema: z.ZodObject<{
5290
5766
  fill?: string | undefined;
5291
5767
  color?: string | undefined;
5292
5768
  opacity?: number | undefined;
5293
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5769
+ shape?: string | undefined;
5294
5770
  lineWidth?: number | undefined;
5295
5771
  scale?: number | undefined;
5296
5772
  width?: number | undefined;
@@ -5300,7 +5776,7 @@ export declare const ScopeSchema: z.ZodObject<{
5300
5776
  fill?: string | undefined;
5301
5777
  color?: string | undefined;
5302
5778
  opacity?: number | undefined;
5303
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5779
+ shape?: string | undefined;
5304
5780
  lineWidth?: number | undefined;
5305
5781
  scale?: number | undefined;
5306
5782
  width?: number | undefined;
@@ -5309,7 +5785,7 @@ export declare const ScopeSchema: z.ZodObject<{
5309
5785
  fill?: string | undefined;
5310
5786
  color?: string | undefined;
5311
5787
  opacity?: number | undefined;
5312
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5788
+ shape?: string | undefined;
5313
5789
  lineWidth?: number | undefined;
5314
5790
  scale?: number | undefined;
5315
5791
  width?: number | undefined;
@@ -5319,7 +5795,7 @@ export declare const ScopeSchema: z.ZodObject<{
5319
5795
  fill?: string | undefined;
5320
5796
  color?: string | undefined;
5321
5797
  opacity?: number | undefined;
5322
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5798
+ shape?: string | undefined;
5323
5799
  lineWidth?: number | undefined;
5324
5800
  scale?: number | undefined;
5325
5801
  width?: number | undefined;
@@ -5350,7 +5826,7 @@ export declare const ScopeSchema: z.ZodObject<{
5350
5826
  center?: [number, number] | undefined;
5351
5827
  } | {
5352
5828
  type: "pattern";
5353
- shape: "lines" | "dots" | "grid";
5829
+ shape: string;
5354
5830
  size?: number | undefined;
5355
5831
  color?: string | undefined;
5356
5832
  background?: string | undefined;
@@ -5418,7 +5894,7 @@ export declare const ScopeSchema: z.ZodObject<{
5418
5894
  center?: [number, number] | undefined;
5419
5895
  } | {
5420
5896
  type: "pattern";
5421
- shape: "lines" | "dots" | "grid";
5897
+ shape: string;
5422
5898
  size?: number | undefined;
5423
5899
  color?: string | undefined;
5424
5900
  background?: string | undefined;
@@ -5483,7 +5959,7 @@ export declare const ScopeSchema: z.ZodObject<{
5483
5959
  center?: [number, number] | undefined;
5484
5960
  } | {
5485
5961
  type: "pattern";
5486
- shape: "lines" | "dots" | "grid";
5962
+ shape: string;
5487
5963
  size?: number | undefined;
5488
5964
  color?: string | undefined;
5489
5965
  background?: string | undefined;
@@ -5496,6 +5972,10 @@ export declare const ScopeSchema: z.ZodObject<{
5496
5972
  } | undefined;
5497
5973
  color?: string | undefined;
5498
5974
  opacity?: number | undefined;
5975
+ scale?: number | {
5976
+ x: number;
5977
+ y: number;
5978
+ } | undefined;
5499
5979
  stroke?: string | undefined;
5500
5980
  strokeWidth?: number | undefined;
5501
5981
  dashPattern?: number[] | undefined;
@@ -5505,6 +5985,21 @@ export declare const ScopeSchema: z.ZodObject<{
5505
5985
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5506
5986
  fillOpacity?: number | undefined;
5507
5987
  drawOpacity?: number | undefined;
5988
+ rotate?: number | undefined;
5989
+ marks?: {
5990
+ pos: number;
5991
+ mark: {
5992
+ kind: "arrow";
5993
+ length?: number | undefined;
5994
+ fill?: string | undefined;
5995
+ color?: string | undefined;
5996
+ opacity?: number | undefined;
5997
+ shape?: string | undefined;
5998
+ lineWidth?: number | undefined;
5999
+ scale?: number | undefined;
6000
+ width?: number | undefined;
6001
+ };
6002
+ }[] | undefined;
5508
6003
  } | undefined;
5509
6004
  labelDefault?: {
5510
6005
  color?: string | undefined;
@@ -5522,7 +6017,7 @@ export declare const ScopeSchema: z.ZodObject<{
5522
6017
  fill?: string | undefined;
5523
6018
  color?: string | undefined;
5524
6019
  opacity?: number | undefined;
5525
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6020
+ shape?: string | undefined;
5526
6021
  lineWidth?: number | undefined;
5527
6022
  scale?: number | undefined;
5528
6023
  width?: number | undefined;
@@ -5531,7 +6026,7 @@ export declare const ScopeSchema: z.ZodObject<{
5531
6026
  fill?: string | undefined;
5532
6027
  color?: string | undefined;
5533
6028
  opacity?: number | undefined;
5534
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6029
+ shape?: string | undefined;
5535
6030
  lineWidth?: number | undefined;
5536
6031
  scale?: number | undefined;
5537
6032
  width?: number | undefined;
@@ -5541,7 +6036,7 @@ export declare const ScopeSchema: z.ZodObject<{
5541
6036
  fill?: string | undefined;
5542
6037
  color?: string | undefined;
5543
6038
  opacity?: number | undefined;
5544
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6039
+ shape?: string | undefined;
5545
6040
  lineWidth?: number | undefined;
5546
6041
  scale?: number | undefined;
5547
6042
  width?: number | undefined;
@@ -5570,7 +6065,7 @@ export declare const ScopeSchema: z.ZodObject<{
5570
6065
  center?: [number, number] | undefined;
5571
6066
  } | {
5572
6067
  type: "pattern";
5573
- shape: "lines" | "dots" | "grid";
6068
+ shape: string;
5574
6069
  size?: number | undefined;
5575
6070
  color?: string | undefined;
5576
6071
  background?: string | undefined;
@@ -5638,7 +6133,7 @@ export declare const ScopeSchema: z.ZodObject<{
5638
6133
  center?: [number, number] | undefined;
5639
6134
  } | {
5640
6135
  type: "pattern";
5641
- shape: "lines" | "dots" | "grid";
6136
+ shape: string;
5642
6137
  size?: number | undefined;
5643
6138
  color?: string | undefined;
5644
6139
  background?: string | undefined;
@@ -5703,7 +6198,7 @@ export declare const ScopeSchema: z.ZodObject<{
5703
6198
  center?: [number, number] | undefined;
5704
6199
  } | {
5705
6200
  type: "pattern";
5706
- shape: "lines" | "dots" | "grid";
6201
+ shape: string;
5707
6202
  size?: number | undefined;
5708
6203
  color?: string | undefined;
5709
6204
  background?: string | undefined;
@@ -5716,6 +6211,10 @@ export declare const ScopeSchema: z.ZodObject<{
5716
6211
  } | undefined;
5717
6212
  color?: string | undefined;
5718
6213
  opacity?: number | undefined;
6214
+ scale?: number | {
6215
+ x: number;
6216
+ y: number;
6217
+ } | undefined;
5719
6218
  stroke?: string | undefined;
5720
6219
  strokeWidth?: number | undefined;
5721
6220
  dashPattern?: number[] | undefined;
@@ -5725,6 +6224,21 @@ export declare const ScopeSchema: z.ZodObject<{
5725
6224
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5726
6225
  fillOpacity?: number | undefined;
5727
6226
  drawOpacity?: number | undefined;
6227
+ rotate?: number | undefined;
6228
+ marks?: {
6229
+ pos: number;
6230
+ mark: {
6231
+ kind: "arrow";
6232
+ length?: number | undefined;
6233
+ fill?: string | undefined;
6234
+ color?: string | undefined;
6235
+ opacity?: number | undefined;
6236
+ shape?: string | undefined;
6237
+ lineWidth?: number | undefined;
6238
+ scale?: number | undefined;
6239
+ width?: number | undefined;
6240
+ };
6241
+ }[] | undefined;
5728
6242
  } | undefined;
5729
6243
  labelDefault?: {
5730
6244
  color?: string | undefined;
@@ -5742,7 +6256,7 @@ export declare const ScopeSchema: z.ZodObject<{
5742
6256
  fill?: string | undefined;
5743
6257
  color?: string | undefined;
5744
6258
  opacity?: number | undefined;
5745
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6259
+ shape?: string | undefined;
5746
6260
  lineWidth?: number | undefined;
5747
6261
  scale?: number | undefined;
5748
6262
  width?: number | undefined;
@@ -5751,7 +6265,7 @@ export declare const ScopeSchema: z.ZodObject<{
5751
6265
  fill?: string | undefined;
5752
6266
  color?: string | undefined;
5753
6267
  opacity?: number | undefined;
5754
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6268
+ shape?: string | undefined;
5755
6269
  lineWidth?: number | undefined;
5756
6270
  scale?: number | undefined;
5757
6271
  width?: number | undefined;
@@ -5761,7 +6275,7 @@ export declare const ScopeSchema: z.ZodObject<{
5761
6275
  fill?: string | undefined;
5762
6276
  color?: string | undefined;
5763
6277
  opacity?: number | undefined;
5764
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6278
+ shape?: string | undefined;
5765
6279
  lineWidth?: number | undefined;
5766
6280
  scale?: number | undefined;
5767
6281
  width?: number | undefined;