@cardenelabs/dragon 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/dist/index.cjs +593 -374
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +207 -16
- package/dist/index.d.ts +207 -16
- package/dist/index.js +594 -376
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/compile.ts +539 -719
- package/src/index.ts +1 -0
- package/src/json-parser.ts +130 -1
- package/src/keywords.ts +28 -0
- package/src/schemas/diagram.json +62 -1
- package/src/tokenize.ts +5 -5
- package/src/types.ts +67 -1
- package/src/v05/parser.ts +217 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NodeKind, Tone, CdlDiagram, EdgeStyle, EdgeHead, EdgeHeadFill, ClassRelationType, SequenceMessageKind, EdgeReveal, LaidDiagram } from '@cardenelabs/cdl';
|
|
2
2
|
export { CdlDiagram } from '@cardenelabs/cdl';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -58,7 +58,7 @@ type V05ParseResult = {
|
|
|
58
58
|
* 書くと、項目を足した時に案内か一覧のどちらかが取り残される (実際に `states` / `values` が
|
|
59
59
|
* 一覧に 1 件も無い状態で放置されていた)。
|
|
60
60
|
*/
|
|
61
|
-
declare const TOP_LEVEL_KEYS: readonly ["title", "type", "actors", "flow", "states", "values", "animation", "viewport", "lanes", "groups", "eyebrow", "axes", "readouts", "inputs", "formulas", "events", "scrolls"];
|
|
61
|
+
declare const TOP_LEVEL_KEYS: readonly ["title", "type", "actors", "flow", "states", "values", "animation", "viewport", "lanes", "groups", "eyebrow", "axes", "readouts", "inputs", "formulas", "events", "scrolls", "bands", "reveal", "direction"];
|
|
62
62
|
/** 受け付ける図種。 記法一覧はここを見る。 */
|
|
63
63
|
declare const PRESET_TYPES: ReadonlySet<PresetType>;
|
|
64
64
|
/**
|
|
@@ -132,6 +132,25 @@ declare const DRAW_TARGETS: ReadonlyMap<string, PresetType>;
|
|
|
132
132
|
/** `draw:` に書ける語。 表から導く (#1314) */
|
|
133
133
|
declare const DRAW_WORDS: ReadonlySet<string>;
|
|
134
134
|
|
|
135
|
+
/**
|
|
136
|
+
* Text DSL i18n キーワード一覧
|
|
137
|
+
* 日本語 / 英語両対応 (大文字小文字無視)
|
|
138
|
+
*/
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* 図の並ぶ向き (`direction:`、 #1494)。
|
|
142
|
+
*
|
|
143
|
+
* 縦列 (`lane`) は横、段 (`stack`) は縦に置かれるので、向きは「1 つの縦列に積む」 か
|
|
144
|
+
* 「1 人ずつ縦列を作る」 かの選択になる。 どちらも組み立て側に既にある経路で、
|
|
145
|
+
* 記法から名指しできる言葉が無かった。
|
|
146
|
+
*/
|
|
147
|
+
declare const DIRECTIONS: readonly ["縦", "横"];
|
|
148
|
+
type DslDirection = (typeof DIRECTIONS)[number];
|
|
149
|
+
/** NodeKind 別名 (日本語 → English) */
|
|
150
|
+
declare const NODE_KIND_ALIAS: Record<string, NodeKind>;
|
|
151
|
+
/** Tone 別名 */
|
|
152
|
+
declare const TONE_ALIAS: Record<string, Tone>;
|
|
153
|
+
|
|
135
154
|
/**
|
|
136
155
|
* 位置を他の要素からの相対で書くための解決。
|
|
137
156
|
*
|
|
@@ -336,6 +355,33 @@ type DslDocument = {
|
|
|
336
355
|
/** v0.5+ 拡張 ... viewport / lanes / groups */
|
|
337
356
|
viewport?: DslViewport;
|
|
338
357
|
lanes?: Record<string, DslLane>;
|
|
358
|
+
/**
|
|
359
|
+
* 動いている間の帯 (#1466)。 順序図だけが読む。
|
|
360
|
+
*
|
|
361
|
+
* 書かなければ面ごとに「最初に関わった段から最後まで」 の 1 本。 途中で手が空く面を
|
|
362
|
+
* 分けたい図だけ書く = どこで手が空くかは言づての並びからは決まらない。
|
|
363
|
+
*/
|
|
364
|
+
bands?: DslBand[];
|
|
365
|
+
/**
|
|
366
|
+
* 矢印をいつ出すか (`reveal:`、 #1470)。
|
|
367
|
+
*
|
|
368
|
+
* 既定 (`phase`) は「段が名指しする矢印は、その段が来るまで描かない」。 `all` と書くと
|
|
369
|
+
* 段に関わらず最初から全部描く。 描き手の `CdlDiagram.edgeReveal` にそのまま渡る。
|
|
370
|
+
*/
|
|
371
|
+
reveal?: EdgeReveal;
|
|
372
|
+
/**
|
|
373
|
+
* 図の並ぶ向き (`direction:`、 #1494)。
|
|
374
|
+
*
|
|
375
|
+
* `縦` は 1 つの縦列に積み、`横` は 1 人ずつ縦列を作る。 効くのは流れ図と泳法図だけで、
|
|
376
|
+
* 他の図種は並び方そのものが読み方を担うため書いても効かない (知らせを出す)。
|
|
377
|
+
*
|
|
378
|
+
* 全ての箱が縦列を書いた形では、書いた縦列が勝つ (同じく知らせを出す)。
|
|
379
|
+
*/
|
|
380
|
+
direction?: DslDirection;
|
|
381
|
+
/** `direction:` を書いた行。 効かない時の知らせで、書いた場所を指すために持つ */
|
|
382
|
+
directionPos?: {
|
|
383
|
+
line: number;
|
|
384
|
+
};
|
|
339
385
|
groups?: Record<string, DslGroup>;
|
|
340
386
|
/**
|
|
341
387
|
* 値を見せる部品 (`readouts:`、 #1374)。 割合の輪や数え上げを図の脇に出す。
|
|
@@ -418,6 +464,14 @@ type DslActor = {
|
|
|
418
464
|
*/
|
|
419
465
|
previous?: string;
|
|
420
466
|
rows?: string[];
|
|
467
|
+
/**
|
|
468
|
+
* 行頭の印 (#1466)。 `rows` と同じ並びで、空文字はその行に印を付けない。
|
|
469
|
+
*
|
|
470
|
+
* **語の意味は図の種類が決める**。 ER は `pk` / `fk` / `opt`、状態遷移は
|
|
471
|
+
* `entry` / `exit` / `do` / `internal`。 印の 2 軸 (形 × 塗り) は共通だが、その軸が
|
|
472
|
+
* 何を指すかは種類ごとに違う。
|
|
473
|
+
*/
|
|
474
|
+
marks?: string[];
|
|
421
475
|
/**
|
|
422
476
|
* 箱の中に描く図形 (`shape:`、 #1374)。 水位や角度を状態で動かせる。
|
|
423
477
|
*
|
|
@@ -603,6 +657,35 @@ type DslStep = {
|
|
|
603
657
|
dashOffsetBind?: string;
|
|
604
658
|
/** 矢印がどの辺から出るか (#1385)。 書かなければ描画側が自動で選ぶ */
|
|
605
659
|
side?: "top" | "right" | "bottom" | "left";
|
|
660
|
+
/**
|
|
661
|
+
* 矢印の先の形 (#1462)。 書かなければ従来どおり塗った三角。
|
|
662
|
+
*
|
|
663
|
+
* 4 図の設計は **端の形で関係の種類を示す** = 三角 (継ぐ) / 菱 (持つ) /
|
|
664
|
+
* 開いた矢 (使う) / 鳥の足 (多)。 書けないと 4 種とも同じ三角になり、
|
|
665
|
+
* 線の種類 (実線 / 点線) だけで 6 種の関係を区別することになる。
|
|
666
|
+
*
|
|
667
|
+
* 受ける語は描画側の `EDGE_HEADS` から導く = 描画側が増やせば書けるようになる。
|
|
668
|
+
*/
|
|
669
|
+
head?: EdgeHead;
|
|
670
|
+
/** 出どころ側の端の形 (#1466)。 ER は端ごとに違う個数を示すので両端に要る */
|
|
671
|
+
tailHead?: EdgeHead;
|
|
672
|
+
/** 端の印の塗り (#1466)。 白抜きの菱が「持つ」、塗った菱が「抱える」 */
|
|
673
|
+
headFill?: EdgeHeadFill;
|
|
674
|
+
/** 出どころ側の印の塗り (#1466) */
|
|
675
|
+
tailHeadFill?: EdgeHeadFill;
|
|
676
|
+
/**
|
|
677
|
+
* クラス図の関係の種類 (#1466)。 書くと線と端の形と塗りと付く側がまとめて決まる。
|
|
678
|
+
*
|
|
679
|
+
* 4 つを個別に書かせないのは、組合せが 6 通りしか無く、1 つでも書き違えると読み手に
|
|
680
|
+
* 別の意味で伝わるため (菱を逆に置くと持ち主が入れ替わる)。
|
|
681
|
+
*/
|
|
682
|
+
relation?: ClassRelationType;
|
|
683
|
+
/**
|
|
684
|
+
* 言づての種類 (#1466)。 順序図で線と矢の形がまとめて決まる。
|
|
685
|
+
*
|
|
686
|
+
* `kind` にしないのは、箱の種類 (`DslActor.kind`) と同じ語が別の意味を持つため。
|
|
687
|
+
*/
|
|
688
|
+
msgKind?: SequenceMessageKind;
|
|
606
689
|
labelOffsetX?: number;
|
|
607
690
|
labelOffsetY?: number;
|
|
608
691
|
/** true で説明文を矢印の線の上に重ねる。 分岐図の条件ラベル用。 */
|
|
@@ -717,6 +800,12 @@ type DslValue = {
|
|
|
717
800
|
durationMs: number;
|
|
718
801
|
});
|
|
719
802
|
/** ステップ (phase) */
|
|
803
|
+
/** 動いている間の帯 (#1466)。 順序図で、面がいつ動いているかを段の番号で持つ */
|
|
804
|
+
type DslBand = {
|
|
805
|
+
actor: string;
|
|
806
|
+
from: number;
|
|
807
|
+
to: number;
|
|
808
|
+
};
|
|
720
809
|
type DslPhase = {
|
|
721
810
|
name: string;
|
|
722
811
|
durationMs: number;
|
|
@@ -836,7 +925,7 @@ interface CompileToCdlOpts {
|
|
|
836
925
|
}
|
|
837
926
|
/** 図は出せるが書いた通りにならなかった、 という知らせ。 */
|
|
838
927
|
type CompileNotice = {
|
|
839
|
-
kind: "relative-position-ignored" | "focus-target-missing" | "state-override-rejected" | "external-paint-dropped" | "part-not-drawn" | "scale-reserved" | "chart-value-unreadable" | "chart-edge-dropped" | "value-shadows-state" | "value-unresolved" | "value-duplicate" | "flow-actor-missing" | "value-trigger-unresolved" | "
|
|
928
|
+
kind: "relative-position-ignored" | "focus-target-missing" | "state-override-rejected" | "external-paint-dropped" | "part-not-drawn" | "direction-not-honored" | "scale-reserved" | "chart-value-unreadable" | "chart-edge-dropped" | "value-shadows-state" | "value-unresolved" | "value-duplicate" | "flow-actor-missing" | "value-trigger-unresolved" | "lane-not-honored" | "lane-declared-empty" | "eyebrow-not-honored" | "flow-endpoint-not-honored" | "draw-not-honored" | "draw-target-mismatch" | "formula-unresolved" | "event-target-missing" | "actor-kind-not-honored" | "sub-node-not-found" | "message-option-not-honored";
|
|
840
929
|
/** 対象の名前。 光らせる相手なら書かれた指定そのまま */
|
|
841
930
|
actor: string;
|
|
842
931
|
/** 書かれていた行 */
|
|
@@ -1007,6 +1096,19 @@ declare function partVisualSize(part: CdlDiagram, targetW?: number, targetH?: nu
|
|
|
1007
1096
|
w: number;
|
|
1008
1097
|
h: number;
|
|
1009
1098
|
};
|
|
1099
|
+
/**
|
|
1100
|
+
* 既存の図が縦に何段ぶんを占めるかの目安 (#1481)。
|
|
1101
|
+
*
|
|
1102
|
+
* **箱の数では数えない**。 数で数えると、図を丸ごと 1 つの箱で描く種別が 1 段に潰れる。
|
|
1103
|
+
* 順序図は `#1466` で 1 枚の板になり、高さ 432 の箱 1 つになった = 1 段 (280) と見積もられ、
|
|
1104
|
+
* その下に置いたパーツが板に 31px 重なっていた (実測)。
|
|
1105
|
+
*
|
|
1106
|
+
* 大きさを自分で持つ箱は、その高さから段数を出す。 持たない箱は今までどおり 1 段と数えるので、
|
|
1107
|
+
* 高さを書かない図の並び方は変わらない。
|
|
1108
|
+
*/
|
|
1109
|
+
declare function partsBaseRows(nodes: ReadonlyArray<{
|
|
1110
|
+
h?: number;
|
|
1111
|
+
}>): number;
|
|
1010
1112
|
/**
|
|
1011
1113
|
* 位置を書かなかったパーツを格子に並べた時の、 矩形の中心。
|
|
1012
1114
|
*
|
|
@@ -1017,9 +1119,9 @@ declare function partVisualSize(part: CdlDiagram, targetW?: number, targetH?: nu
|
|
|
1017
1119
|
* 隣と重なる (実測 = 400 の次に 200 を置くと 280 重なった)。 段の高さも段内の最大高で揃える。
|
|
1018
1120
|
* 縦は自分の高さの半分だけ段の上端から下げて、 段内で上端を揃える。
|
|
1019
1121
|
*
|
|
1020
|
-
* @param
|
|
1122
|
+
* @param baseRows 既存の図が占める段数の目安 (`partsBaseRows`)。 図の下から並べ始めるために使う
|
|
1021
1123
|
*/
|
|
1022
|
-
declare function partsGridCenters(
|
|
1124
|
+
declare function partsGridCenters(baseRows: number, items: ReadonlyArray<{
|
|
1023
1125
|
id: string;
|
|
1024
1126
|
w: number;
|
|
1025
1127
|
h: number;
|
|
@@ -1028,16 +1130,6 @@ declare function partsGridCenters(baseNodeCount: number, items: ReadonlyArray<{
|
|
|
1028
1130
|
cy: number;
|
|
1029
1131
|
}>;
|
|
1030
1132
|
|
|
1031
|
-
/**
|
|
1032
|
-
* Text DSL i18n キーワード一覧
|
|
1033
|
-
* 日本語 / 英語両対応 (大文字小文字無視)
|
|
1034
|
-
*/
|
|
1035
|
-
|
|
1036
|
-
/** NodeKind 別名 (日本語 → English) */
|
|
1037
|
-
declare const NODE_KIND_ALIAS: Record<string, NodeKind>;
|
|
1038
|
-
/** Tone 別名 */
|
|
1039
|
-
declare const TONE_ALIAS: Record<string, Tone>;
|
|
1040
|
-
|
|
1041
1133
|
/**
|
|
1042
1134
|
* Notation lint (author 向け修正システム)。
|
|
1043
1135
|
*
|
|
@@ -1496,6 +1588,16 @@ interface DragonJson {
|
|
|
1496
1588
|
label?: string;
|
|
1497
1589
|
lanes: string[];
|
|
1498
1590
|
}>;
|
|
1591
|
+
/** 順序図で面が動いている間の帯 (#1466)。 記法の最上位 `bands:` と同じ */
|
|
1592
|
+
bands?: {
|
|
1593
|
+
actor: string;
|
|
1594
|
+
from: number;
|
|
1595
|
+
to: number;
|
|
1596
|
+
}[];
|
|
1597
|
+
/** 矢印をいつ出すか (#1470)。 記法の最上位 `reveal:` と同じ */
|
|
1598
|
+
reveal?: EdgeReveal;
|
|
1599
|
+
/** 図の並ぶ向き (#1494)。 記法の最上位 `direction:` と同じ。 JSON は英語の語で書く */
|
|
1600
|
+
direction?: "vertical" | "horizontal";
|
|
1499
1601
|
}
|
|
1500
1602
|
interface JsonActor {
|
|
1501
1603
|
name: string;
|
|
@@ -1617,6 +1719,8 @@ interface JsonActor {
|
|
|
1617
1719
|
* 読めない項目名として知らせる)。
|
|
1618
1720
|
*/
|
|
1619
1721
|
scale?: number;
|
|
1722
|
+
/** 行頭の印 (#1466)。 行と対で読む。 語の意味は図の種類が決める */
|
|
1723
|
+
marks?: string[];
|
|
1620
1724
|
}
|
|
1621
1725
|
/** 2 軸で仕分ける図の軸の名前 (#1294)。 記法の `axes:` と同じ形 */
|
|
1622
1726
|
interface JsonAxes {
|
|
@@ -1643,6 +1747,21 @@ interface JsonStep {
|
|
|
1643
1747
|
sub?: string;
|
|
1644
1748
|
/** 矢印がどの辺から出るか (#1385)。 記法の `side:` と同じ */
|
|
1645
1749
|
side?: "top" | "right" | "bottom" | "left";
|
|
1750
|
+
/**
|
|
1751
|
+
* 矢印の先の形 (#1462)。 記法の `{ head: triangle }` と同じ。
|
|
1752
|
+
*
|
|
1753
|
+
* 三角 (継ぐ) / 菱 (持つ) / 開いた矢 (使う) / 鳥の足 (多)。
|
|
1754
|
+
* 書かなければ従来どおり塗った三角になる。
|
|
1755
|
+
*/
|
|
1756
|
+
head?: EdgeHead;
|
|
1757
|
+
/** 出どころ側の端の形と、両端の塗り (#1466)。 記法の `{ tailHead: diamond }` 等と同じ */
|
|
1758
|
+
tailHead?: EdgeHead;
|
|
1759
|
+
headFill?: EdgeHeadFill;
|
|
1760
|
+
tailHeadFill?: EdgeHeadFill;
|
|
1761
|
+
/** クラス図の関係の語 (#1466)。 書くと端の形 / 塗り / 線種がまとめて決まる */
|
|
1762
|
+
relation?: ClassRelationType;
|
|
1763
|
+
/** 順序図の言づての種類 (#1466)。 `call` / `return` / `fire` */
|
|
1764
|
+
kind?: SequenceMessageKind;
|
|
1646
1765
|
/**
|
|
1647
1766
|
* 矢印の色 (#1304)。 記法の `(成功)` と同じく別名 (`成功` / `neutral` 等) も受ける。
|
|
1648
1767
|
*
|
|
@@ -1874,6 +1993,13 @@ declare const diagramJsonSchema: {
|
|
|
1874
1993
|
};
|
|
1875
1994
|
description: string;
|
|
1876
1995
|
};
|
|
1996
|
+
marks: {
|
|
1997
|
+
type: string;
|
|
1998
|
+
items: {
|
|
1999
|
+
type: string;
|
|
2000
|
+
};
|
|
2001
|
+
description: string;
|
|
2002
|
+
};
|
|
1877
2003
|
lane: {
|
|
1878
2004
|
type: string;
|
|
1879
2005
|
description: string;
|
|
@@ -2158,6 +2284,36 @@ declare const diagramJsonSchema: {
|
|
|
2158
2284
|
enum: string[];
|
|
2159
2285
|
description: string;
|
|
2160
2286
|
};
|
|
2287
|
+
head: {
|
|
2288
|
+
type: string;
|
|
2289
|
+
enum: string[];
|
|
2290
|
+
description: string;
|
|
2291
|
+
};
|
|
2292
|
+
tailHead: {
|
|
2293
|
+
type: string;
|
|
2294
|
+
enum: string[];
|
|
2295
|
+
description: string;
|
|
2296
|
+
};
|
|
2297
|
+
headFill: {
|
|
2298
|
+
type: string;
|
|
2299
|
+
enum: string[];
|
|
2300
|
+
description: string;
|
|
2301
|
+
};
|
|
2302
|
+
tailHeadFill: {
|
|
2303
|
+
type: string;
|
|
2304
|
+
enum: string[];
|
|
2305
|
+
description: string;
|
|
2306
|
+
};
|
|
2307
|
+
relation: {
|
|
2308
|
+
type: string;
|
|
2309
|
+
enum: string[];
|
|
2310
|
+
description: string;
|
|
2311
|
+
};
|
|
2312
|
+
kind: {
|
|
2313
|
+
type: string;
|
|
2314
|
+
enum: string[];
|
|
2315
|
+
description: string;
|
|
2316
|
+
};
|
|
2161
2317
|
labelOffsetX: {
|
|
2162
2318
|
type: string;
|
|
2163
2319
|
description: string;
|
|
@@ -2922,6 +3078,41 @@ declare const diagramJsonSchema: {
|
|
|
2922
3078
|
pattern: string;
|
|
2923
3079
|
};
|
|
2924
3080
|
};
|
|
3081
|
+
direction: {
|
|
3082
|
+
type: string;
|
|
3083
|
+
enum: string[];
|
|
3084
|
+
description: string;
|
|
3085
|
+
};
|
|
3086
|
+
reveal: {
|
|
3087
|
+
type: string;
|
|
3088
|
+
enum: string[];
|
|
3089
|
+
description: string;
|
|
3090
|
+
};
|
|
3091
|
+
bands: {
|
|
3092
|
+
type: string;
|
|
3093
|
+
description: string;
|
|
3094
|
+
items: {
|
|
3095
|
+
type: string;
|
|
3096
|
+
required: string[];
|
|
3097
|
+
additionalProperties: boolean;
|
|
3098
|
+
properties: {
|
|
3099
|
+
actor: {
|
|
3100
|
+
type: string;
|
|
3101
|
+
description: string;
|
|
3102
|
+
};
|
|
3103
|
+
from: {
|
|
3104
|
+
type: string;
|
|
3105
|
+
minimum: number;
|
|
3106
|
+
description: string;
|
|
3107
|
+
};
|
|
3108
|
+
to: {
|
|
3109
|
+
type: string;
|
|
3110
|
+
minimum: number;
|
|
3111
|
+
description: string;
|
|
3112
|
+
};
|
|
3113
|
+
};
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
2925
3116
|
events: {
|
|
2926
3117
|
type: string;
|
|
2927
3118
|
description: string;
|
|
@@ -3046,4 +3237,4 @@ interface CompileOpts {
|
|
|
3046
3237
|
*/
|
|
3047
3238
|
declare function textDslToDiagram(src: string, opts?: CompileOpts): CdlDiagram;
|
|
3048
3239
|
|
|
3049
|
-
export { type AnchorBox, type CompileNotice, type CompileOpts, DIAGRAM_BOUNDARY_PADDING, DRAW_TARGETS, DRAW_WORDS, type DiagramBoundingBox, type DragonJson, type DslActor, type DslAnimate, type DslDocument, type DslError, type DslGroup, type DslLane, type DslPhase, type DslSet, type DslState, type DslStep, type DslTween, type DslValue, type DslViewport, type FocusEntry, type InputSize, JSONを分解する, type JsonActor, type JsonActorNodeOverride, type JsonAxes, type JsonDslError, type JsonPhase, type JsonStep, type LayoutMode, type LayoutPos, type LintIssue, type LintReport, type LintSeverity, MAX_INPUT_BYTES, MAX_INPUT_ELEMENTS, MAX_PART_SCALE, NODE_KIND_ALIAS, NODE_KIND_VALID, PHASE_ITEM_WORDS, PRESET_TYPES, type PresetType, RELATIVE_GAP_DEFAULT, type RelativeDirection, type RelativePos, TONE_ALIAS, TOP_LEVEL_KEYS, autoFix, compileToCdl, computeDiagramBoundingBox, countBytes, countDiagramElements, countDocElements, describeOversize, describeOversizeSource, diagramJsonSchema, isColorValue, jsonToDiagram, lintDiagram, measureActorBoxes, normalizePartScale, orderByDependency, parseFocusEntry, parseRelativePos, parseTextDsl, parseTextDslV05, partBoxInFrame, partDrawsInDiagram, partIsMeasurable, partRenderSize, partScaleFactor, partTargetScale, partTargetSize, partVisualSize, partsGridCenters, pointsOutside, rectsOverlap, resolveRelativePos, stripExternalPaint, stripQuotes, textDslToDiagram, validateDragonJson, writeActorPosition, type トークン, type トークンの種類, 区間に広げる, 記法を分解する };
|
|
3240
|
+
export { type AnchorBox, type CompileNotice, type CompileOpts, DIAGRAM_BOUNDARY_PADDING, DRAW_TARGETS, DRAW_WORDS, type DiagramBoundingBox, type DragonJson, type DslActor, type DslAnimate, type DslDocument, type DslError, type DslGroup, type DslLane, type DslPhase, type DslSet, type DslState, type DslStep, type DslTween, type DslValue, type DslViewport, type FocusEntry, type InputSize, JSONを分解する, type JsonActor, type JsonActorNodeOverride, type JsonAxes, type JsonDslError, type JsonPhase, type JsonStep, type LayoutMode, type LayoutPos, type LintIssue, type LintReport, type LintSeverity, MAX_INPUT_BYTES, MAX_INPUT_ELEMENTS, MAX_PART_SCALE, NODE_KIND_ALIAS, NODE_KIND_VALID, PHASE_ITEM_WORDS, PRESET_TYPES, type PresetType, RELATIVE_GAP_DEFAULT, type RelativeDirection, type RelativePos, TONE_ALIAS, TOP_LEVEL_KEYS, autoFix, compileToCdl, computeDiagramBoundingBox, countBytes, countDiagramElements, countDocElements, describeOversize, describeOversizeSource, diagramJsonSchema, isColorValue, jsonToDiagram, lintDiagram, measureActorBoxes, normalizePartScale, orderByDependency, parseFocusEntry, parseRelativePos, parseTextDsl, parseTextDslV05, partBoxInFrame, partDrawsInDiagram, partIsMeasurable, partRenderSize, partScaleFactor, partTargetScale, partTargetSize, partVisualSize, partsBaseRows, partsGridCenters, pointsOutside, rectsOverlap, resolveRelativePos, stripExternalPaint, stripQuotes, textDslToDiagram, validateDragonJson, writeActorPosition, type トークン, type トークンの種類, 区間に広げる, 記法を分解する };
|