@cardenelabs/dragon 0.30.0 → 0.33.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 +314 -12
- package/dist/index.cjs +6960 -1434
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2151 -115
- package/dist/index.d.ts +2151 -115
- package/dist/index.js +6944 -1436
- package/dist/index.js.map +1 -1
- package/package.json +12 -13
- package/src/compile/actor-ids.ts +6 -15
- package/src/compile/actor-option-notice.ts +379 -0
- package/src/compile/actors.ts +32 -3
- package/src/compile/c4.ts +0 -3
- package/src/compile/chain.ts +43 -4
- package/src/compile/chart-fields.ts +16 -1
- package/src/compile/direction.ts +50 -11
- package/src/compile/edge-option-notice.ts +112 -0
- package/src/compile/flowchart.ts +344 -0
- package/src/compile/funnel.ts +14 -2
- package/src/compile/gantt.ts +141 -36
- package/src/compile/generic.ts +473 -61
- package/src/compile/journey.ts +14 -5
- package/src/compile/kinds.ts +5 -13
- package/src/compile/lanes.ts +95 -13
- package/src/compile/metro.ts +271 -0
- package/src/compile/mind.ts +55 -5
- package/src/compile/notice.ts +51 -4
- package/src/compile/order.ts +62 -0
- package/src/compile/parts.ts +107 -33
- package/src/compile/placement-apply.ts +27 -11
- package/src/compile/quadrant.ts +171 -16
- package/src/compile/record.ts +75 -0
- package/src/compile/row-marks.ts +128 -0
- package/src/compile/sequence.ts +105 -26
- package/src/compile/slug.ts +9 -1
- package/src/compile/stages.ts +247 -0
- package/src/compile/subtitle.ts +15 -2
- package/src/compile/swimlane-marks.ts +87 -0
- package/src/compile/swimlane.ts +13 -14
- package/src/compile/timeline.ts +213 -0
- package/src/compile/topology.ts +3 -9
- package/src/compile/tree.ts +13 -4
- package/src/compile/value-chart.ts +179 -25
- package/src/compile.ts +1547 -370
- package/src/focus.ts +2 -2
- package/src/index.ts +34 -2
- package/src/json-parser.ts +1407 -48
- package/src/keywords.ts +255 -17
- package/src/notation-lint.ts +41 -64
- package/src/schemas/diagram.json +643 -20
- package/src/types.ts +336 -35
- package/src/v05/parser.ts +2451 -271
- package/src/compile/class.ts +0 -100
- package/src/compile/er.ts +0 -44
- package/src/compile/solidity.ts +0 -39
- package/src/compile/state.ts +0 -71
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,128 @@
|
|
|
1
|
-
import { NodeKind, Tone, CdlDiagram, EdgeStyle, EdgeHead, EdgeHeadFill, ClassRelationType, SequenceMessageKind, EdgeReveal, RelationFocus, LaidDiagram } from '@cardenelabs/cdl';
|
|
1
|
+
import { LegendMark, NodeKind, Tone, CdlNode, BarCornerRadii, CdlDiagram, CdlLegendItem, RowWell, EdgeStyle, EdgeHead, EdgeHeadFill, ClassRelationType, SequenceMessageKind, EdgeReveal, RelationFocus, LaidDiagram } from '@cardenelabs/cdl';
|
|
2
2
|
export { CdlDiagram } from '@cardenelabs/cdl';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Text DSL i18n キーワード一覧
|
|
6
|
+
* 日本語 / 英語両対応 (大文字小文字無視)
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* 図の並ぶ向き (`direction:`、 #1494)。
|
|
11
|
+
*
|
|
12
|
+
* 縦列 (`lane`) は横、段 (`stack`) は縦に置かれるので、向きは「1 つの縦列に積む」 か
|
|
13
|
+
* 「1 人ずつ縦列を作る」 かの選択になる。 どちらも組み立て側に既にある経路で、
|
|
14
|
+
* 記法から名指しできる言葉が無かった。
|
|
15
|
+
*/
|
|
16
|
+
declare const DIRECTIONS: readonly ["縦", "横"];
|
|
17
|
+
type DslDirection = (typeof DIRECTIONS)[number];
|
|
18
|
+
/**
|
|
19
|
+
* 向きの別名。 色 (`色` / `color` / `tone`) と同じく日本語と英語の両方で書ける。
|
|
20
|
+
*
|
|
21
|
+
* 正規の語を鍵にも入れておく = 引く側が別名かどうかを気にせず 1 度で解決できる。
|
|
22
|
+
*/
|
|
23
|
+
declare const DIRECTION_ALIAS: Record<string, DslDirection>;
|
|
24
|
+
/**
|
|
25
|
+
* 箱を並べる順 (`order:`、 #2655)。
|
|
26
|
+
*
|
|
27
|
+
* 書かなければ **書いた順** のまま。 `種類` と書くと箱の種類で並べ替えてから置く。
|
|
28
|
+
*
|
|
29
|
+
* これは図の型として持っていた差を語に出したもの。 並べ替えの鍵しか持たない型
|
|
30
|
+
* (`solidity`) が在り、`compile.ts` は「順序図 または その型」 という条件を 6 か所で
|
|
31
|
+
* 書いていた。 **型が 1 つ増えるたびに条件を 2 つ並べる形**になるので、差が並べ替えだけなら
|
|
32
|
+
* 型ではなく語で表す。
|
|
33
|
+
*/
|
|
34
|
+
declare const ORDERS: readonly ["種類"];
|
|
35
|
+
type DslOrder = (typeof ORDERS)[number];
|
|
36
|
+
/**
|
|
37
|
+
* 並び順の別名。 向きと同じく日本語と英語の両方で書ける。
|
|
38
|
+
*
|
|
39
|
+
* 正規の語を鍵にも入れておく = 引く側が別名かどうかを気にせず 1 度で解決できる。
|
|
40
|
+
*/
|
|
41
|
+
declare const ORDER_ALIAS: Record<string, DslOrder>;
|
|
42
|
+
/**
|
|
43
|
+
* 数を描く図の形 (`shape:`、 #2657)。
|
|
44
|
+
*
|
|
45
|
+
* 数の書き方 (`- 名前: "45"` の 1 行 1 値) は 9 つとも同じで、違うのは描かれる形だけ。
|
|
46
|
+
* 差が形だけなので型ではなく語で表す (並べ替えの語 #2655 と同じ判断)。
|
|
47
|
+
*
|
|
48
|
+
* **日本語の別名は持たない**。 いま `type:` に書く語が英語なので、語を移した先で
|
|
49
|
+
* 書き手が覚える綴りが増えない形にする。
|
|
50
|
+
*/
|
|
51
|
+
declare const SHAPES: readonly ["pie", "bar", "line", "gauge", "radial", "stat", "waffle", "stacked", "slope"];
|
|
52
|
+
type DslShape = (typeof SHAPES)[number];
|
|
53
|
+
/** 泳法図の形 (`shape:`、 #2797)。 後続の形も chart と混ぜずここへ足す。 */
|
|
54
|
+
declare const SWIMLANE_SHAPES: readonly ["stages", "metro", "timeline"];
|
|
55
|
+
type DslSwimlaneShape = (typeof SWIMLANE_SHAPES)[number];
|
|
56
|
+
/** 最上位の `shape:` が取り得る語。 図種ごとの集合は `DIAGRAM_SHAPES` が決める。 */
|
|
57
|
+
type DslDiagramShape = DslShape | DslSwimlaneShape;
|
|
58
|
+
/**
|
|
59
|
+
* `shape:` を選べる図種と、その図種で書ける語 (#2797)。
|
|
60
|
+
*
|
|
61
|
+
* 解析・組み立て・schema の照合はこの表から導く。 集合を別々の場所で対応付けると、形を
|
|
62
|
+
* 足した時に一方だけが古くなり、同じ語が入口によって通ったり落ちたりする。
|
|
63
|
+
*/
|
|
64
|
+
declare const DIAGRAM_SHAPES: {
|
|
65
|
+
readonly chart: readonly ["pie", "bar", "line", "gauge", "radial", "stat", "waffle", "stacked", "slope"];
|
|
66
|
+
readonly swimlane: readonly ["stages", "metro", "timeline"];
|
|
67
|
+
};
|
|
68
|
+
/** 全図種の `shape:` の語。 図種を決める前の読み取りと schema の照合に使う。 */
|
|
69
|
+
declare const ALL_DIAGRAM_SHAPES: readonly DslDiagramShape[];
|
|
70
|
+
/**
|
|
71
|
+
* 図の意匠 (`theme:`、 #1553 / #2790 / #2791 / #2792 / #2793 / #2794 / #2795 / #2796)。
|
|
72
|
+
*
|
|
73
|
+
* cdl は色を持たない (形だけを描く)。 名前を `data-cdl-palette` として markup に出すので、
|
|
74
|
+
* dragon の `cdl-theme.css` がその名前を見て 9 つの口
|
|
75
|
+
* (台 / 行の面 / 縞 / 枠 / 字 / 型名 / 線 / 所有 / 向きだけ) に色を当てる。
|
|
76
|
+
*
|
|
77
|
+
* **名前を自由文字列にしない**。 書き間違えると既定の色みのまま出るので、書き手には
|
|
78
|
+
* 「効かない」 としか見えない。 語を絞れば読めない語をその場で知らせられる。
|
|
79
|
+
*/
|
|
80
|
+
declare const THEMES: readonly ["kinari", "celadon", "blueprint", "letterpress", "catalog", "terminal", "sketch", "neon", "relief"];
|
|
81
|
+
type DslTheme = (typeof THEMES)[number];
|
|
82
|
+
/**
|
|
83
|
+
* 意匠の別名 (#2790 / #2791 / #2792 / #2793 / #2794 / #2795 / #2796)。 向きと同じく日本語と英語の両方で書ける。
|
|
84
|
+
*
|
|
85
|
+
* `kinari` = 生成りに茶、 `celadon` = 青磁に墨、 `blueprint` = 図面、 `letterpress` = 活版、
|
|
86
|
+
* `catalog` = 図録、 `terminal` = 端末、 `sketch` = 手描き、 `neon` = 電飾、 `relief` = 浮彫。
|
|
87
|
+
*
|
|
88
|
+
* record は用途を一つに決められないため既定の意匠を持たない。UML クラス図に生成り色が要る時も
|
|
89
|
+
* 書き手が `theme:` を明記する。
|
|
90
|
+
*/
|
|
91
|
+
declare const THEME_ALIAS: Record<string, DslTheme>;
|
|
92
|
+
/** 書いた意匠を正規の語に直す。 読めない語は `null`。 */
|
|
93
|
+
declare function resolveTheme(s: string): DslTheme | null;
|
|
94
|
+
/** 凡例の印の日本語名を描画側の名前へ直す表。 */
|
|
95
|
+
declare const LEGEND_MARK_ALIAS: Readonly<Record<string, LegendMark>>;
|
|
96
|
+
/** 凡例の印を描画側の名前へ直す。 読めない語は `null`。 */
|
|
97
|
+
declare function resolveLegendMark(s: string): LegendMark | null;
|
|
98
|
+
/**
|
|
99
|
+
* 意匠から字の測り方を引く (#2818 / #2918)。
|
|
100
|
+
*
|
|
101
|
+
* 意匠を替えても骨組みを変えず、端末の等幅字も箱へ収めるため、比例・等幅の広い方で測る。
|
|
102
|
+
* 公開済みの関数なので窓口を残し、どの意匠でも組み立てと同じ値を返す。
|
|
103
|
+
*/
|
|
104
|
+
declare function 意匠の字の測り方(_theme: DslTheme): "widest";
|
|
105
|
+
/**
|
|
106
|
+
* 意匠と節から円の区画間の弧の長さを引く (#2871 / #2926)。
|
|
107
|
+
*
|
|
108
|
+
* 区画の形を意匠で変えないため値は返さない。公開済みの関数なので互換の窓口だけを残す。
|
|
109
|
+
*/
|
|
110
|
+
declare function 意匠の円の区画の間(_theme: DslTheme, _node: Pick<CdlNode, "kind">): undefined;
|
|
111
|
+
/** `barCornerRadii` が効く棒を描く節か。 */
|
|
112
|
+
declare function 棒を描く節か(node: Pick<CdlNode, "kind" | "funnelForm">): boolean;
|
|
113
|
+
/**
|
|
114
|
+
* 意匠と節から、見本に合わせた棒の 4 隅の丸みを引く (#2863)。
|
|
115
|
+
*
|
|
116
|
+
* 手描きの見本は楕円の角 (`10px 14px 6px 12px / 14px 8px 12px 6px`) だが、cdl は
|
|
117
|
+
* 円の角だけを持つため、各隅の横と縦の平均を丸めて 12 / 11 / 9 / 9 とする。
|
|
118
|
+
* 生成りと青磁には見本が無いため値を返さず、記法で組み立てた形を保つ。
|
|
119
|
+
*/
|
|
120
|
+
declare function 意匠の棒の角(theme: DslTheme, node: Pick<CdlNode, "kind" | "funnelForm">): BarCornerRadii | undefined;
|
|
121
|
+
/** NodeKind 別名 (日本語 → English) */
|
|
122
|
+
declare const NODE_KIND_ALIAS: Record<string, NodeKind>;
|
|
123
|
+
/** Tone 別名 */
|
|
124
|
+
declare const TONE_ALIAS: Record<string, Tone>;
|
|
125
|
+
|
|
4
126
|
/**
|
|
5
127
|
* Text DSL v0.5 parser
|
|
6
128
|
*
|
|
@@ -58,9 +180,34 @@ type V05ParseResult = {
|
|
|
58
180
|
* 書くと、項目を足した時に案内か一覧のどちらかが取り残される (実際に `states` / `values` が
|
|
59
181
|
* 一覧に 1 件も無い状態で放置されていた)。
|
|
60
182
|
*/
|
|
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", "relations", "direction", "
|
|
183
|
+
declare const TOP_LEVEL_KEYS: readonly ["title", "type", "actors", "flow", "states", "values", "animation", "viewport", "lanes", "groups", "eyebrow", "axes", "regions", "readouts", "inputs", "formulas", "events", "scrolls", "bands", "reveal", "relations", "direction", "order", "shape", "form", "ticks", "ganttToday", "ganttTickLabels", "ganttBarEnd", "ganttBarThickness", "chartSeriesSkipMuted", "chartLineSeries", "chartPieCenterLabel", "chartPieTableColumns", "chartPieRingWidth", "chartSlopePeriods", "chartSlopeEmphasisIds", "chartSlopeUnit", "chartStackedPeriods", "chartStackedRateId", "chartStackedLegendPosition", "chartGaugeValue", "chartWaffleLegendPosition", "funnelForm", "funnelRate", "quadrantPointLabelSide", "treeNodeForm", "treeSize", "treeEdgeTone", "treeEdgeHead", "mindForm", "mindSize", "journeyForm", "journeyLineForm", "journeyLabels", "journeySize", "sequenceActorForm", "sequenceLabelForm", "sequenceReturnHead", "sequenceKindLabels", "sequenceRowGap", "sequenceGutter", "sequenceBandWidth", "sequenceSelfLoop", "figureCard", "figureSize", "terminalDecoration", "cornerForm", "figureKindLabel", "figureInset", "chartBarSize", "chartBarShape", "chartLineSize", "chartPieSize", "chartWaffleSize", "chartSlopeLabelTemplate", "chartSlopeSize", "chartStackedLayout", "chartGaugeSize", "ganttSize", "quadrantLabelPosition", "quadrantSize", "stageLayout", "theme", "legend", "legendOffset", "legendFontSize", "edgeEndGap", "stageHeader"];
|
|
62
184
|
/** 受け付ける図種。 記法一覧はここを見る。 */
|
|
63
185
|
declare const PRESET_TYPES: ReadonlySet<PresetType>;
|
|
186
|
+
/**
|
|
187
|
+
* 図種の別名 (#2655 / #2657)。
|
|
188
|
+
*
|
|
189
|
+
* **差が語 1 つしかない図種を、畳んだ先の型とその語に読み替える**。
|
|
190
|
+
*
|
|
191
|
+
* | 古い綴り | 読み替え先 | 差 |
|
|
192
|
+
* |---|---|---|
|
|
193
|
+
* | `solidity` | `sequence` + `order: 種類` | 箱を種類で並べ替えるだけで、独自の組み立てを持たない |
|
|
194
|
+
* | 数を描く 9 つ | `chart` + `shape: <綴り>` | 同じ組み立て関数に渡す文字列 2 つしか違わない |
|
|
195
|
+
*
|
|
196
|
+
* 型として持つと、同じ扱いをする条件と表が型の数だけ増える。 `solidity` は
|
|
197
|
+
* 「順序図 または その型」 という条件を 12 か所に増やし、数を描く 9 つは 4 つの表に
|
|
198
|
+
* 同じ値の行を 9 行ずつ並べていた (足す人が 1 か所書き忘れると黙って外れる)。
|
|
199
|
+
*
|
|
200
|
+
* **読み替えは読み取りの入口 1 か所に閉じる**。 ここを通った後は古い綴りが
|
|
201
|
+
* どこにも残らないので、組み立て側は畳んだ先の型として 1 通りに扱える。
|
|
202
|
+
*
|
|
203
|
+
* 古い名前で書いた記法はそのまま動く = 別名を消すのは別の回にする。
|
|
204
|
+
*/
|
|
205
|
+
type 読み替え先 = {
|
|
206
|
+
type: PresetType;
|
|
207
|
+
order?: DslOrder;
|
|
208
|
+
shape?: DslShape;
|
|
209
|
+
};
|
|
210
|
+
declare const TYPE_ALIASES: ReadonlyMap<string, 読み替え先>;
|
|
64
211
|
/**
|
|
65
212
|
* 記法だけが持つ種類。 描画側には無いが、 図種ごとの組み立てで意味を持つ。
|
|
66
213
|
*
|
|
@@ -71,7 +218,7 @@ declare const PRESET_TYPES: ReadonlySet<PresetType>;
|
|
|
71
218
|
* 図の組み立てが落ちる = 描画側は知らない種類の大きさを引けない (#1420 で実測、
|
|
72
219
|
* `Cannot read properties of undefined (reading 'h')`)。
|
|
73
220
|
*/
|
|
74
|
-
declare const DSL_ONLY_KINDS: readonly ["entity", "state", "contract", "eoa", "multisig", "proxy", "library", "interface"];
|
|
221
|
+
declare const DSL_ONLY_KINDS: readonly ["entity", "state", "contract", "eoa", "multisig", "proxy", "library", "interface", "loop"];
|
|
75
222
|
/** 記法だけが持つ種類。 描画側の `NodeKind` には含まれない */
|
|
76
223
|
type DslOnlyKind = (typeof DSL_ONLY_KINDS)[number];
|
|
77
224
|
/**
|
|
@@ -134,48 +281,18 @@ declare const PHASE_ITEM_WORDS: readonly ["focus", "badge", "body", "description
|
|
|
134
281
|
*
|
|
135
282
|
* いまは語と図種が同じ綴りだが、**同じものとして扱わない**。 語は書き手が書く名前で、
|
|
136
283
|
* 図種は `type:` が取る値。 片方だけ別名を足したくなった時に、対応が表に残っている形にする。
|
|
284
|
+
*
|
|
285
|
+
* **数を描く図は形まで指す** (#2657)。 9 つの型を `chart` 1 つに畳んだので、型だけを
|
|
286
|
+
* 指すと `draw: pie` を棒の図に書いても咎められなくなる = 語ごとの相手を型から形へ
|
|
287
|
+
* 下ろして、畳む前と同じ細かさで判定する。
|
|
137
288
|
*/
|
|
138
|
-
declare const DRAW_TARGETS: ReadonlyMap<string,
|
|
289
|
+
declare const DRAW_TARGETS: ReadonlyMap<string, {
|
|
290
|
+
type: PresetType;
|
|
291
|
+
shape?: DslShape;
|
|
292
|
+
}>;
|
|
139
293
|
/** `draw:` に書ける語。 表から導く (#1314) */
|
|
140
294
|
declare const DRAW_WORDS: ReadonlySet<string>;
|
|
141
295
|
|
|
142
|
-
/**
|
|
143
|
-
* Text DSL i18n キーワード一覧
|
|
144
|
-
* 日本語 / 英語両対応 (大文字小文字無視)
|
|
145
|
-
*/
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* 図の並ぶ向き (`direction:`、 #1494)。
|
|
149
|
-
*
|
|
150
|
-
* 縦列 (`lane`) は横、段 (`stack`) は縦に置かれるので、向きは「1 つの縦列に積む」 か
|
|
151
|
-
* 「1 人ずつ縦列を作る」 かの選択になる。 どちらも組み立て側に既にある経路で、
|
|
152
|
-
* 記法から名指しできる言葉が無かった。
|
|
153
|
-
*/
|
|
154
|
-
declare const DIRECTIONS: readonly ["縦", "横"];
|
|
155
|
-
type DslDirection = (typeof DIRECTIONS)[number];
|
|
156
|
-
/**
|
|
157
|
-
* 向きの別名。 色 (`色` / `color` / `tone`) と同じく日本語と英語の両方で書ける。
|
|
158
|
-
*
|
|
159
|
-
* 正規の語を鍵にも入れておく = 引く側が別名かどうかを気にせず 1 度で解決できる。
|
|
160
|
-
*/
|
|
161
|
-
declare const DIRECTION_ALIAS: Record<string, DslDirection>;
|
|
162
|
-
/**
|
|
163
|
-
* 図の配色 (`palette:`、 #1553)。
|
|
164
|
-
*
|
|
165
|
-
* cdl は色を持たない (形だけを描く)。 名前を `data-cdl-palette` として markup に出すので、
|
|
166
|
-
* dragon の `cdl-theme.css` がその名前を見て 7 つの口 (台 / 行の面 / 縞 / 枠 / 字 / 型名 / 線)
|
|
167
|
-
* に色を当てる。
|
|
168
|
-
*
|
|
169
|
-
* **名前を自由文字列にしない**。 書き間違えると既定の色みのまま出るので、書き手には
|
|
170
|
-
* 「効かない」 としか見えない。 語を絞れば読めない語をその場で知らせられる。
|
|
171
|
-
*/
|
|
172
|
-
declare const PALETTES: readonly ["kinari", "celadon"];
|
|
173
|
-
type DslPalette = (typeof PALETTES)[number];
|
|
174
|
-
/** NodeKind 別名 (日本語 → English) */
|
|
175
|
-
declare const NODE_KIND_ALIAS: Record<string, NodeKind>;
|
|
176
|
-
/** Tone 別名 */
|
|
177
|
-
declare const TONE_ALIAS: Record<string, Tone>;
|
|
178
|
-
|
|
179
296
|
/**
|
|
180
297
|
* 位置を他の要素からの相対で書くための解決。
|
|
181
298
|
*
|
|
@@ -286,8 +403,16 @@ type DslNodeKind = NodeKind | DslOnlyKind;
|
|
|
286
403
|
* 写して持つと欄が増えた時にずれる。 指した先が変われば型検査が教える。
|
|
287
404
|
*/
|
|
288
405
|
type DslDynShape = NonNullable<CdlDiagram["nodes"][number]["shape"]>;
|
|
289
|
-
/**
|
|
290
|
-
|
|
406
|
+
/**
|
|
407
|
+
* 値を見せる部品 (#1374)。 図形と同じ理由で描画側の型をそのまま使う。
|
|
408
|
+
*
|
|
409
|
+
* `pos` は書いた行 (#2405)。 読む元の名前を突き合わせた知らせが、直す行を指すのに使う。
|
|
410
|
+
* **図へ載せる時に外す** (`compile.ts` の読み取り値を載せる所) = 残すと、行を足しただけで
|
|
411
|
+
* 組み上がる図が変わる。 JSON から読んだ文書は行を持たないため `undefined` になる。
|
|
412
|
+
*/
|
|
413
|
+
type DslReadout = NonNullable<CdlDiagram["readouts"]>[number] & {
|
|
414
|
+
pos?: Position;
|
|
415
|
+
};
|
|
291
416
|
/** 読む人が動かすつまみ (#1389)。 部品と同じ理由で描画側の型をそのまま使う */
|
|
292
417
|
type DslInput = NonNullable<CdlDiagram["inputs"]>[number];
|
|
293
418
|
/** つまみの値から決まる値 (#1391)。 描画側の型に、知らせ用の記述位置だけを足す。 */
|
|
@@ -324,7 +449,27 @@ type DslEventBinding = {
|
|
|
324
449
|
handlerId: string;
|
|
325
450
|
pos: Position;
|
|
326
451
|
};
|
|
327
|
-
type PresetType = "sequence" | "flow" | "
|
|
452
|
+
type PresetType = "sequence" | "flow" | "flowchart" | "swimlane"
|
|
453
|
+
/**
|
|
454
|
+
* 箱が行を持ち、箱どうしが関係を持つ図 (#2782)。
|
|
455
|
+
*
|
|
456
|
+
* 畳む前は `er` / `state` / `class` の 3 つに分かれていたが、描画側へ渡す形は同じだった。
|
|
457
|
+
* 箱はいずれも `storage`、行頭の印はいずれも 形 (四角 / 山形) × 塗り (塗る / 中空) の
|
|
458
|
+
* 2 軸で、違うのはその軸を何と呼ぶかだけだった (`pk` / `fk` / `opt` と
|
|
459
|
+
* `entry` / `exit` / `do` / `internal`)。
|
|
460
|
+
*
|
|
461
|
+
* dragon の語は 3 つ (`鍵` / `外` / `条件`) で、印の 3 軸と 1 対 1 に対応する。
|
|
462
|
+
* 古い語は読み取りの入口でこの 3 語へ読み替える (`compile/row-marks.ts` の `行頭の語の別名`)。
|
|
463
|
+
*/
|
|
464
|
+
| "record" | "topology" | "gantt"
|
|
465
|
+
/**
|
|
466
|
+
* 数を描く図 (#2657)。 形は `shape:` が決める。
|
|
467
|
+
*
|
|
468
|
+
* 畳む前は形ごとに 9 つの型 (`pie` / `bar` / …) を持っていたが、書き方も組み立ても
|
|
469
|
+
* 同じで、渡す文字列 2 つしか違わなかった。 古い綴りは読み替えの入口で この型と
|
|
470
|
+
* 形の語の組に読み替える。
|
|
471
|
+
*/
|
|
472
|
+
| "chart" | "funnel" | "tree" | "journey" | "quadrant" | "c4" | "mind";
|
|
328
473
|
type Position = {
|
|
329
474
|
line: number;
|
|
330
475
|
column?: number;
|
|
@@ -352,6 +497,159 @@ type LayoutMode = "auto" | "manual";
|
|
|
352
497
|
type DslDocument = {
|
|
353
498
|
title: string;
|
|
354
499
|
type: PresetType;
|
|
500
|
+
/** 円グラフの見せ方。 読めない語も組み立ての知らせにするため、入口では文字列で保持する。 */
|
|
501
|
+
form?: string;
|
|
502
|
+
/** `form` を書いた行。 */
|
|
503
|
+
formPos?: Position;
|
|
504
|
+
/** ガントチャートの目盛り。 書かなければ工程の始まりから作る従来の規則を使う。 */
|
|
505
|
+
ticks?: string[];
|
|
506
|
+
/** `ticks` を書いた行。 */
|
|
507
|
+
ticksPos?: Position;
|
|
508
|
+
/** ガントチャートの今日の線の位置と札。 */
|
|
509
|
+
ganttToday?: {
|
|
510
|
+
index: number;
|
|
511
|
+
label: string;
|
|
512
|
+
};
|
|
513
|
+
/** 工程の端とは独立して描く目盛り名。 */
|
|
514
|
+
ganttTickLabels?: string[];
|
|
515
|
+
/** 帯の終わりを位置として扱う。 */
|
|
516
|
+
ganttBarEnd?: "position";
|
|
517
|
+
/** 行の字に対して見本の比で細くする。 */
|
|
518
|
+
ganttBarThickness?: "thin";
|
|
519
|
+
/** 図表の系列色で `muted` の項目を数えない。 */
|
|
520
|
+
chartSeriesSkipMuted?: NonNullable<CdlDiagram["nodes"][number]["chartSeriesSkipMuted"]>;
|
|
521
|
+
/** 折れ線の複数系列。 */
|
|
522
|
+
chartLineSeries?: NonNullable<CdlDiagram["nodes"][number]["chartLineSeries"]>;
|
|
523
|
+
/** 円の中心で合計の下に置く字。 */
|
|
524
|
+
chartPieCenterLabel?: NonNullable<CdlDiagram["nodes"][number]["chartPieCenterLabel"]>;
|
|
525
|
+
/** 円の表に置く列。 */
|
|
526
|
+
chartPieTableColumns?: NonNullable<CdlDiagram["nodes"][number]["chartPieTableColumns"]>;
|
|
527
|
+
/** 円の輪の太さ。 */
|
|
528
|
+
chartPieRingWidth?: NonNullable<CdlDiagram["nodes"][number]["chartPieRingWidth"]>;
|
|
529
|
+
/** 傾き図の左右の時点名。 */
|
|
530
|
+
chartSlopePeriods?: NonNullable<CdlDiagram["nodes"][number]["chartSlopePeriods"]>;
|
|
531
|
+
/** 傾き図で主役にする項目の id。 */
|
|
532
|
+
chartSlopeEmphasisIds?: NonNullable<CdlDiagram["nodes"][number]["chartSlopeEmphasisIds"]>;
|
|
533
|
+
/** 傾き図の値に付ける単位。 */
|
|
534
|
+
chartSlopeUnit?: NonNullable<CdlDiagram["nodes"][number]["chartSlopeUnit"]>;
|
|
535
|
+
/** 内訳の帯の期間。 */
|
|
536
|
+
chartStackedPeriods?: NonNullable<CdlDiagram["nodes"][number]["chartStackedPeriods"]>;
|
|
537
|
+
/** 内訳の帯の右に率を描く項目の id。 */
|
|
538
|
+
chartStackedRateId?: NonNullable<CdlDiagram["nodes"][number]["chartStackedRateId"]>;
|
|
539
|
+
/** 内訳の帯の凡例の位置。 */
|
|
540
|
+
chartStackedLegendPosition?: NonNullable<CdlDiagram["nodes"][number]["chartStackedLegendPosition"]>;
|
|
541
|
+
/** 半円を固定の尺で読む値。 */
|
|
542
|
+
chartGaugeValue?: NonNullable<CdlDiagram["nodes"][number]["chartGaugeValue"]>;
|
|
543
|
+
/** 升目の一覧を置く側。 */
|
|
544
|
+
chartWaffleLegendPosition?: NonNullable<CdlDiagram["nodes"][number]["chartWaffleLegendPosition"]>;
|
|
545
|
+
/** 漏斗の形。 */
|
|
546
|
+
funnelForm?: NonNullable<CdlDiagram["nodes"][number]["funnelForm"]>;
|
|
547
|
+
/** 漏斗に描く率。 */
|
|
548
|
+
funnelRate?: NonNullable<CdlDiagram["nodes"][number]["funnelRate"]>;
|
|
549
|
+
/** 座標で置いた四象限の点の名前を置く側。 */
|
|
550
|
+
quadrantPointLabelSide?: NonNullable<CdlDiagram["nodes"][number]["quadrantPointLabelSide"]>;
|
|
551
|
+
/** 木の箱を根まで同じ枠で描くか。 */
|
|
552
|
+
treeNodeForm?: NonNullable<CdlDiagram["nodes"][number]["treeNodeForm"]>;
|
|
553
|
+
/** 木の札・字・枝間の寸法。 */
|
|
554
|
+
treeSize?: NonNullable<CdlDiagram["nodes"][number]["treeSize"]>;
|
|
555
|
+
/** 木の枝色を 1 色にするか、段ごとに分けるか。 */
|
|
556
|
+
treeEdgeTone?: NonNullable<CdlDiagram["nodes"][number]["treeEdgeTone"]>;
|
|
557
|
+
/** 木の枝先の印。 */
|
|
558
|
+
treeEdgeHead?: NonNullable<CdlDiagram["nodes"][number]["treeEdgeHead"]>;
|
|
559
|
+
/** 放射の中心・枝・葉を、面か輪郭のどちらで描くか。 */
|
|
560
|
+
mindForm?: NonNullable<CdlDiagram["nodes"][number]["mindForm"]>;
|
|
561
|
+
/** 放射の札・字・枝間の寸法。 */
|
|
562
|
+
mindSize?: NonNullable<CdlDiagram["nodes"][number]["mindSize"]>;
|
|
563
|
+
/** ジャーニーの段を帯か罫で描くか。 */
|
|
564
|
+
journeyForm?: NonNullable<CdlDiagram["nodes"][number]["journeyForm"]>;
|
|
565
|
+
/** ジャーニーの点を曲線か直線で結ぶか。 */
|
|
566
|
+
journeyLineForm?: NonNullable<CdlDiagram["nodes"][number]["journeyLineForm"]>;
|
|
567
|
+
/** ジャーニーの 5 段に描く名前。 */
|
|
568
|
+
journeyLabels?: NonNullable<CdlDiagram["nodes"][number]["journeyLabels"]>;
|
|
569
|
+
/** ジャーニーの描画面と点列の左右余白。 */
|
|
570
|
+
journeySize?: NonNullable<CdlDiagram["nodes"][number]["journeySize"]>;
|
|
571
|
+
/** 図表の見出し帯と足。 */
|
|
572
|
+
figureCard?: NonNullable<CdlDiagram["nodes"][number]["figureCard"]>;
|
|
573
|
+
/** 端末意匠用の窓操作・字送り・行番号。 */
|
|
574
|
+
terminalDecoration?: NonNullable<CdlDiagram["nodes"][number]["terminalDecoration"]>;
|
|
575
|
+
/** 矩形札の一様角と手描き角を意匠で選ぶ。 */
|
|
576
|
+
cornerForm?: NonNullable<CdlDiagram["nodes"][number]["cornerForm"]>;
|
|
577
|
+
/** 階層図とマインドマップの種類札。 */
|
|
578
|
+
figureKindLabel?: NonNullable<CdlDiagram["nodes"][number]["figureKindLabel"]>;
|
|
579
|
+
/** 図表札の見出しと足の間に置く飾りの凹み面。 */
|
|
580
|
+
figureInset?: {
|
|
581
|
+
top?: number;
|
|
582
|
+
right?: number;
|
|
583
|
+
bottom?: number;
|
|
584
|
+
left?: number;
|
|
585
|
+
radius?: number;
|
|
586
|
+
};
|
|
587
|
+
/** 棒グラフの見本寸法。 */
|
|
588
|
+
chartBarSize?: NonNullable<CdlDiagram["nodes"][number]["chartBarSize"]>;
|
|
589
|
+
/** 棒グラフの棒を分割するか、上だけ丸めて一体にするか。 */
|
|
590
|
+
chartBarShape?: NonNullable<CdlDiagram["nodes"][number]["chartBarShape"]>;
|
|
591
|
+
/** 折れ線グラフの見本寸法。 */
|
|
592
|
+
chartLineSize?: NonNullable<CdlDiagram["nodes"][number]["chartLineSize"]>;
|
|
593
|
+
/** 円グラフの見本寸法。 */
|
|
594
|
+
chartPieSize?: NonNullable<CdlDiagram["nodes"][number]["chartPieSize"]>;
|
|
595
|
+
/** 升目図の左端と升目の送り。 */
|
|
596
|
+
chartWaffleSize?: NonNullable<CdlDiagram["nodes"][number]["chartWaffleSize"]>;
|
|
597
|
+
/** 傾き図の左右の札の書式。 */
|
|
598
|
+
chartSlopeLabelTemplate?: NonNullable<CdlDiagram["nodes"][number]["chartSlopeLabelTemplate"]>;
|
|
599
|
+
/** 傾き図の見本寸法。 */
|
|
600
|
+
chartSlopeSize?: NonNullable<CdlDiagram["nodes"][number]["chartSlopeSize"]>;
|
|
601
|
+
/** 内訳の帯の見本配置。 */
|
|
602
|
+
chartStackedLayout?: NonNullable<CdlDiagram["nodes"][number]["chartStackedLayout"]>;
|
|
603
|
+
/** 半円図の見本寸法。 */
|
|
604
|
+
chartGaugeSize?: NonNullable<CdlDiagram["nodes"][number]["chartGaugeSize"]>;
|
|
605
|
+
/** ガント図の見本寸法。 */
|
|
606
|
+
ganttSize?: NonNullable<CdlDiagram["nodes"][number]["ganttSize"]>;
|
|
607
|
+
/** 四象限の区画名を置く位置。 */
|
|
608
|
+
quadrantLabelPosition?: NonNullable<CdlDiagram["nodes"][number]["quadrantLabelPosition"]>;
|
|
609
|
+
/** 四象限の見本寸法。 */
|
|
610
|
+
quadrantSize?: NonNullable<CdlDiagram["nodes"][number]["quadrantSize"]>;
|
|
611
|
+
/**
|
|
612
|
+
* 図全体を 1 箱にする図種の札の大きさ。
|
|
613
|
+
*
|
|
614
|
+
* `viewport` は図全体の画布なので分ける。`width` / `height` は既存の viewport と lane の
|
|
615
|
+
* 綴りに揃え、描画側だけが使う短い `w` / `h` を記法へ漏らさない。
|
|
616
|
+
*/
|
|
617
|
+
figureSize?: {
|
|
618
|
+
width: number;
|
|
619
|
+
height: number;
|
|
620
|
+
};
|
|
621
|
+
/** 図の下へ指定順に置く凡例。 */
|
|
622
|
+
legend?: CdlLegendItem[];
|
|
623
|
+
/** 図全体の凡例の位置を既定位置からずらす。 */
|
|
624
|
+
legendOffset?: NonNullable<CdlDiagram["legendOffset"]>;
|
|
625
|
+
/** 線の両端と発着する箱の縁との隙間。 */
|
|
626
|
+
edgeEndGap?: NonNullable<CdlDiagram["edgeEndGap"]>;
|
|
627
|
+
/** 順序図の参加者を枠で囲む。 */
|
|
628
|
+
sequenceActorForm?: "box";
|
|
629
|
+
/** 順序図の段へ種類印と種類名を添える。 */
|
|
630
|
+
sequenceLabelForm?: "kind";
|
|
631
|
+
/** 順序図の返す言づてにも塗った三角の矢じりを使う。 */
|
|
632
|
+
sequenceReturnHead?: "solid";
|
|
633
|
+
/** 順序図の言づての段の間。 */
|
|
634
|
+
sequenceRowGap?: number;
|
|
635
|
+
/** 順序図の左の札の列幅。 */
|
|
636
|
+
sequenceGutter?: number;
|
|
637
|
+
/** 順序図の動いている間の帯幅。 */
|
|
638
|
+
sequenceBandWidth?: number;
|
|
639
|
+
/** 順序図の自分へ戻る線の形と寸法。 */
|
|
640
|
+
sequenceSelfLoop?: {
|
|
641
|
+
form?: "orthogonal";
|
|
642
|
+
width?: number;
|
|
643
|
+
drop?: number;
|
|
644
|
+
};
|
|
645
|
+
/** 順序図の種類名の表示語。 */
|
|
646
|
+
sequenceKindLabels?: Partial<Record<"call" | "return" | "fire", string>>;
|
|
647
|
+
/** 図の凡例の字の大きさ。 */
|
|
648
|
+
legendFontSize?: number;
|
|
649
|
+
/** 段の箱で全意匠に共通して使う見出しの寸法。 */
|
|
650
|
+
stageHeader?: DslStageHeader;
|
|
651
|
+
/** 段の列幅・列間と戻る線の迂回寸法。 */
|
|
652
|
+
stageLayout?: NonNullable<CdlDiagram["stageLayout"]>;
|
|
355
653
|
/**
|
|
356
654
|
* 図全体を 1 箱にする図種 (`pie` / `bar` / `line` / `funnel` / `tree` / `journey` /
|
|
357
655
|
* `quadrant` / `mind` / `gantt`) で、 その箱の上に出す小見出し (#1247)。
|
|
@@ -378,6 +676,14 @@ type DslDocument = {
|
|
|
378
676
|
axes?: DslAxes;
|
|
379
677
|
/** `axes` を書いた行 (#1251)。 知らせの行番号に使う */
|
|
380
678
|
axesPos?: Position;
|
|
679
|
+
/**
|
|
680
|
+
* 2 軸で仕分ける図の区画の名前 (#2667)。
|
|
681
|
+
*
|
|
682
|
+
* `axes` が軸の両端の名前を持つのに対し、こちらは区画の中に出す名前を持つ。
|
|
683
|
+
* 軸の掛け合わせ (`効果が大きい × 手間が小さい`) から一段離れた言い方
|
|
684
|
+
* (`すぐやる`) を書くための欄。
|
|
685
|
+
*/
|
|
686
|
+
regions?: DslRegions;
|
|
381
687
|
actors: DslActor[];
|
|
382
688
|
flow: DslStep[];
|
|
383
689
|
animate?: DslAnimate;
|
|
@@ -411,14 +717,14 @@ type DslDocument = {
|
|
|
411
717
|
* 既定 (`off`) は何もしない。 `hover` と書くと、箱に触れた時に その箱 ・ 繋がる線 ・
|
|
412
718
|
* 相手の箱だけが光り、他が沈む。 描き手の `CdlDiagram.relationFocus` にそのまま渡る。
|
|
413
719
|
*
|
|
414
|
-
*
|
|
720
|
+
* UML の関係や表の関係を描く record は **順番を持たない** 図で、段を追う見せ方は「どの順で読ませるか」 しか
|
|
415
721
|
* 運ばない。 触れた箱の関係を光らせれば、読み手の問いにその場で答えられる。
|
|
416
722
|
*/
|
|
417
723
|
relations?: RelationFocus;
|
|
418
724
|
/**
|
|
419
725
|
* 図の並ぶ向き (`direction:`、 #1494)。
|
|
420
726
|
*
|
|
421
|
-
* `縦` は 1 つの縦列に積み、`横` は 1 人ずつ縦列を作る。
|
|
727
|
+
* `縦` は 1 つの縦列に積み、`横` は 1 人ずつ縦列を作る。 効くのはフローと泳法図だけで、
|
|
422
728
|
* 他の図種は並び方そのものが読み方を担うため書いても効かない (知らせを出す)。
|
|
423
729
|
*
|
|
424
730
|
* 全ての箱が縦列を書いた形では、書いた縦列が勝つ (同じく知らせを出す)。
|
|
@@ -429,15 +735,39 @@ type DslDocument = {
|
|
|
429
735
|
line: number;
|
|
430
736
|
};
|
|
431
737
|
/**
|
|
432
|
-
*
|
|
738
|
+
* 箱を並べる順 (`order:`、 #2655)。
|
|
739
|
+
*
|
|
740
|
+
* 書かなければ書いた順のまま。 `種類` と書くと箱の種類で並べ替えてから置く。
|
|
741
|
+
* 効くのは順序図だけで、他の図種は並び方そのものが読み方を担うため書いても効かない
|
|
742
|
+
* (知らせを出す)。
|
|
743
|
+
*
|
|
744
|
+
* 並べ替えの鍵しか持たない図種 (`solidity`) を畳んだ先。 読み取りの入口で
|
|
745
|
+
* 順序図 + この語 に読み替えるので、古い名前で書いた記法はそのまま動く。
|
|
746
|
+
*/
|
|
747
|
+
order?: DslOrder;
|
|
748
|
+
/** `order:` を書いた行。 効かない時の知らせで、書いた場所を指すために持つ */
|
|
749
|
+
orderPos?: {
|
|
750
|
+
line: number;
|
|
751
|
+
};
|
|
752
|
+
/** 図種ごとに選ぶ形 (#2657 / #2797)。 書ける語は `DIAGRAM_SHAPES` が決める */
|
|
753
|
+
shape?: DslDiagramShape;
|
|
754
|
+
/** `shape:` を書いた行。 効かない時の知らせで、書いた場所を指すために持つ */
|
|
755
|
+
shapePos?: {
|
|
756
|
+
line: number;
|
|
757
|
+
};
|
|
758
|
+
/**
|
|
759
|
+
* 図の意匠 (`theme:`、 #1553 / #2790)。
|
|
433
760
|
*
|
|
434
761
|
* 名前だけを持つ。 実際の色は消費側 (`cdl-theme.css`) が決めるので、ここには値を書かない。
|
|
435
|
-
*
|
|
436
|
-
*
|
|
437
|
-
* (行の縞) が要る。 縞の色は配色からしか来ないので、既定が無いと縞が箱の面と同じ色に
|
|
438
|
-
* 落ちて 1 本も出ない。 書き手が `palette:` を書いた時はそちらが勝つ。
|
|
762
|
+
* `palette:` も同じ意匠を書く別名として読む。record の用途は一つに決められないため、
|
|
763
|
+
* UML クラス図の生成り色が要る時も本文で明記する。
|
|
439
764
|
*/
|
|
440
|
-
|
|
765
|
+
theme?: DslTheme;
|
|
766
|
+
/** `theme:` と別名の `palette:` を両方書いた時の行 (#2790)。 */
|
|
767
|
+
themeAlsoPalettePos?: {
|
|
768
|
+
themeLine: number;
|
|
769
|
+
paletteLine: number;
|
|
770
|
+
};
|
|
441
771
|
groups?: Record<string, DslGroup>;
|
|
442
772
|
/**
|
|
443
773
|
* 値を見せる部品 (`readouts:`、 #1374)。 割合の輪や数え上げを図の脇に出す。
|
|
@@ -486,11 +816,32 @@ type DslAxes = {
|
|
|
486
816
|
x?: {
|
|
487
817
|
left?: string;
|
|
488
818
|
right?: string;
|
|
489
|
-
|
|
819
|
+
label?: never;
|
|
820
|
+
direction?: never;
|
|
821
|
+
} | DslAxisDirection;
|
|
490
822
|
y?: {
|
|
491
823
|
bottom?: string;
|
|
492
824
|
top?: string;
|
|
493
|
-
|
|
825
|
+
label?: never;
|
|
826
|
+
direction?: never;
|
|
827
|
+
} | DslAxisDirection;
|
|
828
|
+
};
|
|
829
|
+
/** 端の名前ではなく、向き付きの軸名を 1 つだけ描く形。 */
|
|
830
|
+
type DslAxisDirection = {
|
|
831
|
+
label: string;
|
|
832
|
+
direction: true;
|
|
833
|
+
};
|
|
834
|
+
/**
|
|
835
|
+
* 2 軸で仕分ける図の区画の名前 (#2667)。
|
|
836
|
+
*
|
|
837
|
+
* 欄の名前は描画側の区画の綴りに揃える。 記法では `左上` のような語で書き、
|
|
838
|
+
* 解析の時にここへ直す = 区画を指す語を 2 通り持たないため。
|
|
839
|
+
*/
|
|
840
|
+
type DslRegions = {
|
|
841
|
+
topLeft?: string;
|
|
842
|
+
topRight?: string;
|
|
843
|
+
bottomLeft?: string;
|
|
844
|
+
bottomRight?: string;
|
|
494
845
|
};
|
|
495
846
|
/** 登場人物 (v0.5+ ... inline option 拡張) */
|
|
496
847
|
type DslActor = {
|
|
@@ -507,6 +858,38 @@ type DslActor = {
|
|
|
507
858
|
kindWritten?: boolean;
|
|
508
859
|
/** v0.5+ inline option */
|
|
509
860
|
subtitle?: string;
|
|
861
|
+
/** kind の意味を保ったまま共通の部品箱で描く。 */
|
|
862
|
+
kindForm?: "icon";
|
|
863
|
+
/** 共通の部品箱へ描く線画。 */
|
|
864
|
+
icon?: "person" | "box" | "database" | "lightning" | "cloud" | "terminal";
|
|
865
|
+
/** 行を持たない表の箱で行の代わりに描く注記。 */
|
|
866
|
+
emptyRowsNote?: string;
|
|
867
|
+
/** 表の箱の名前と小見出しを中央へ揃える。 */
|
|
868
|
+
titleAlign?: "center";
|
|
869
|
+
/** 表の箱の行の間に罫線を引く。 */
|
|
870
|
+
rowRules?: boolean;
|
|
871
|
+
/** 表の箱の行へ交互の縞を敷く。 */
|
|
872
|
+
rowStripe?: boolean;
|
|
873
|
+
/** 表の箱の題と行の baseline。 */
|
|
874
|
+
rowLayout?: NonNullable<CdlDiagram["nodes"][number]["rowLayout"]>;
|
|
875
|
+
/** 表の箱の見出し下の線を左右端まで引く。 */
|
|
876
|
+
rowDividerForm?: "full";
|
|
877
|
+
/** 表の箱の行のまとまりを収める透明な面。 */
|
|
878
|
+
rowWell?: RowWell;
|
|
879
|
+
/** 表の箱の行頭の印を色の段で分ける。 */
|
|
880
|
+
rowMarkForm?: "tone";
|
|
881
|
+
/** 表の箱を内側へ抱える親の表の箱の名前。 */
|
|
882
|
+
nestIn?: string;
|
|
883
|
+
/** 表または共通の部品箱の足。 */
|
|
884
|
+
figureCard?: NonNullable<CdlDiagram["nodes"][number]["figureCard"]>;
|
|
885
|
+
/** 路線図の駅名を駅の上下どちらへ置くか。 */
|
|
886
|
+
stationNamePosition?: "bottom";
|
|
887
|
+
/** 時間軸の担当を札のどちらへ置くか。 */
|
|
888
|
+
subtitlePlacement?: "right";
|
|
889
|
+
/** 流れ図の function の札の題の大きさ。 */
|
|
890
|
+
titleFontSize?: number;
|
|
891
|
+
/** 流れ図の始まり・終わりの印と次の箱との間。 */
|
|
892
|
+
markGap?: number;
|
|
510
893
|
eyebrow?: string;
|
|
511
894
|
value?: string;
|
|
512
895
|
/**
|
|
@@ -527,7 +910,10 @@ type DslActor = {
|
|
|
527
910
|
* `entry` / `exit` / `do` / `internal`。 印の 2 軸 (形 × 塗り) は共通だが、その軸が
|
|
528
911
|
* 何を指すかは種類ごとに違う。
|
|
529
912
|
*/
|
|
530
|
-
marks?: string
|
|
913
|
+
marks?: Array<string | {
|
|
914
|
+
mark: string;
|
|
915
|
+
tone?: "primary" | "muted";
|
|
916
|
+
}>;
|
|
531
917
|
/**
|
|
532
918
|
* 箱の中に描く図形 (`shape:`、 #1374)。 水位や角度を状態で動かせる。
|
|
533
919
|
*
|
|
@@ -586,20 +972,45 @@ type DslActor = {
|
|
|
586
972
|
* 他の図種では相手が無いため、書かれていたら組み立て側が知らせる。
|
|
587
973
|
*/
|
|
588
974
|
end?: string;
|
|
975
|
+
/** 工程の始まりに出す札。節目の位置名とは独立して書ける。 */
|
|
976
|
+
startLabel?: string;
|
|
977
|
+
/** 帯を菱形の節目として描く。 */
|
|
978
|
+
milestone?: boolean;
|
|
979
|
+
/** 工程の帯を主役として描く。 */
|
|
980
|
+
emphasis?: "primary";
|
|
981
|
+
/**
|
|
982
|
+
* 四象限の点を置く座標。 左下が (0, 0)、右上が (1, 1)。
|
|
983
|
+
* 数のほか `{名前}` を受け、描画側の BoundNumber へそのまま渡す。
|
|
984
|
+
*/
|
|
985
|
+
at?: {
|
|
986
|
+
x?: number | string;
|
|
987
|
+
y?: number | string;
|
|
988
|
+
raw: string;
|
|
989
|
+
};
|
|
990
|
+
/** `at` を書いた行。 */
|
|
991
|
+
atPos?: Position;
|
|
589
992
|
/**
|
|
590
|
-
*
|
|
993
|
+
* ユーザージャーニー (`type: journey`) で、その段階が起きる場所 (#1251)。
|
|
591
994
|
*
|
|
592
995
|
* 「どこで起きたか」 を段の下に出す。 他の図種では相手が無いため、書かれていたら
|
|
593
996
|
* 組み立て側が知らせる。
|
|
594
997
|
*/
|
|
595
998
|
touchpoint?: string;
|
|
596
999
|
/**
|
|
597
|
-
*
|
|
1000
|
+
* ユーザージャーニー (`type: journey`) で、その段階の改善の余地 (#1251)。
|
|
598
1001
|
*
|
|
599
1002
|
* 気持ちが落ちる段に「何を直せるか」 を添える。 他の図種では相手が無いため、
|
|
600
1003
|
* 書かれていたら組み立て側が知らせる。
|
|
601
1004
|
*/
|
|
602
1005
|
opportunity?: string;
|
|
1006
|
+
/** ジャーニーの改善注記を置く場所。 */
|
|
1007
|
+
opportunityPosition?: NonNullable<NonNullable<CdlDiagram["nodes"][number]["journeyData"]>[number]["opportunityPosition"]>;
|
|
1008
|
+
/**
|
|
1009
|
+
* 段階ごとの箱 (`type: swimlane` + `shape: stages`) で、この箱を入れる段階 (#2797)。
|
|
1010
|
+
*
|
|
1011
|
+
* 書かなければ担当 (`lane`)、担当も無ければ箱の名前を段階として使う。
|
|
1012
|
+
*/
|
|
1013
|
+
stage?: string;
|
|
603
1014
|
lane?: string;
|
|
604
1015
|
stack?: number;
|
|
605
1016
|
initial?: boolean;
|
|
@@ -701,6 +1112,9 @@ type DslStep = {
|
|
|
701
1112
|
dashOffsetBind?: string;
|
|
702
1113
|
/** 矢印がどの辺から出るか (#1385)。 書かなければ描画側が自動で選ぶ */
|
|
703
1114
|
side?: "top" | "right" | "bottom" | "left";
|
|
1115
|
+
/** 矢印の出どころと行き先で、個別に使う辺。 */
|
|
1116
|
+
fromSide?: "top" | "right" | "bottom" | "left";
|
|
1117
|
+
toSide?: "top" | "right" | "bottom" | "left";
|
|
704
1118
|
/**
|
|
705
1119
|
* 矢印の先の形 (#1462)。 書かなければ従来どおり塗った三角。
|
|
706
1120
|
*
|
|
@@ -718,13 +1132,14 @@ type DslStep = {
|
|
|
718
1132
|
/** 出どころ側の印の塗り (#1466) */
|
|
719
1133
|
tailHeadFill?: EdgeHeadFill;
|
|
720
1134
|
/**
|
|
721
|
-
*
|
|
1135
|
+
* UML の関係を持つ record の出どころ側の多重度 (#1771 / #2783)。
|
|
1136
|
+
* `sub` (行き先の端の多重度) と対。
|
|
722
1137
|
*
|
|
723
|
-
*
|
|
1138
|
+
* `relation` を書いた edge で効き、engine が出どころの端の近くに添える。
|
|
724
1139
|
*/
|
|
725
1140
|
tailSub?: string;
|
|
726
1141
|
/**
|
|
727
|
-
*
|
|
1142
|
+
* UML の関係の種類 (#1466 / #2783)。record に書くと線と端の形と塗りと付く側がまとめて決まる。
|
|
728
1143
|
*
|
|
729
1144
|
* 4 つを個別に書かせないのは、組合せが 6 通りしか無く、1 つでも書き違えると読み手に
|
|
730
1145
|
* 別の意味で伝わるため (菱を逆に置くと持ち主が入れ替わる)。
|
|
@@ -742,6 +1157,17 @@ type DslStep = {
|
|
|
742
1157
|
labelPlate?: boolean;
|
|
743
1158
|
labelOffsetX?: number;
|
|
744
1159
|
labelOffsetY?: number;
|
|
1160
|
+
/** cdl の固定直線経路。4 欄が全て揃った時だけ描画側が採用する。 */
|
|
1161
|
+
posX1?: number;
|
|
1162
|
+
posY1?: number;
|
|
1163
|
+
posX2?: number;
|
|
1164
|
+
posY2?: number;
|
|
1165
|
+
/** 固定した両端の間を通る直角の折れ線の点。 */
|
|
1166
|
+
waypoints?: NonNullable<CdlDiagram["edges"][number]["waypoints"]>;
|
|
1167
|
+
/** 線の名札を自動回避するか、作者の位置に固定するか。 */
|
|
1168
|
+
labelCollision?: NonNullable<CdlDiagram["edges"][number]["labelCollision"]>;
|
|
1169
|
+
/** 線の名札の幅・高さ・字の大きさ。 */
|
|
1170
|
+
labelSize?: NonNullable<CdlDiagram["edges"][number]["labelSize"]>;
|
|
745
1171
|
/** true で説明文を矢印の線の上に重ねる。 分岐図の条件ラベル用。 */
|
|
746
1172
|
overlay?: boolean;
|
|
747
1173
|
/**
|
|
@@ -766,6 +1192,8 @@ type DslLane = {
|
|
|
766
1192
|
x?: number;
|
|
767
1193
|
width?: number;
|
|
768
1194
|
label?: string;
|
|
1195
|
+
/** 路線図の担当の名札で、名前の下へ出す補足。 */
|
|
1196
|
+
subtitle?: string;
|
|
769
1197
|
contain?: boolean;
|
|
770
1198
|
lifeline?: boolean;
|
|
771
1199
|
/**
|
|
@@ -776,6 +1204,15 @@ type DslLane = {
|
|
|
776
1204
|
layoutPos?: LayoutPos;
|
|
777
1205
|
pos: Position;
|
|
778
1206
|
};
|
|
1207
|
+
/** 段の箱の列見出しの寸法。 */
|
|
1208
|
+
type DslStageHeader = {
|
|
1209
|
+
leftPad?: number;
|
|
1210
|
+
topPad: number;
|
|
1211
|
+
numberSize: number;
|
|
1212
|
+
gap: number;
|
|
1213
|
+
nameSize: number;
|
|
1214
|
+
bottomPad: number;
|
|
1215
|
+
};
|
|
779
1216
|
/**
|
|
780
1217
|
* 組の宣言 (v0.5+ top-level groups section)。
|
|
781
1218
|
*
|
|
@@ -793,6 +1230,8 @@ type DslGroup = {
|
|
|
793
1230
|
type DslViewport = {
|
|
794
1231
|
width?: number;
|
|
795
1232
|
height?: number;
|
|
1233
|
+
/** 描画内容だけを画布の中で横へずらす。 */
|
|
1234
|
+
contentOffsetX?: number;
|
|
796
1235
|
/**
|
|
797
1236
|
* 図全体の倍率 (default 1)。 箱 / 文字 / 線 / 間隔のすべてが等比で拡大縮小される。
|
|
798
1237
|
*
|
|
@@ -869,11 +1308,20 @@ type DslValue = {
|
|
|
869
1308
|
/** 動く長さ (ms) */
|
|
870
1309
|
durationMs: number;
|
|
871
1310
|
});
|
|
872
|
-
/**
|
|
1311
|
+
/**
|
|
1312
|
+
* 動いている間の帯 (#1466)。 順序図で、面がいつ動いているかを言づての番号で持つ。
|
|
1313
|
+
*
|
|
1314
|
+
* `from` / `to` が指すのは **板に載る言づての行** で、0 から数える (#2404 で実測)。
|
|
1315
|
+
* 段 (`animation` の `step`) ではない = 数も起点も違う。
|
|
1316
|
+
*
|
|
1317
|
+
* `pos` は書いた行 (#2404)。 名前と番号を突き合わせた知らせが、直す行を指すのに使う。
|
|
1318
|
+
* JSON から読んだ文書は行を持たないため `undefined` になる (矢印の飾りの知らせと同じ扱い)。
|
|
1319
|
+
*/
|
|
873
1320
|
type DslBand = {
|
|
874
1321
|
actor: string;
|
|
875
1322
|
from: number;
|
|
876
1323
|
to: number;
|
|
1324
|
+
pos?: Position;
|
|
877
1325
|
};
|
|
878
1326
|
/** ステップ (phase) */
|
|
879
1327
|
type DslPhase = {
|
|
@@ -967,7 +1415,7 @@ declare function parseTextDsl(src: string): ParseResult;
|
|
|
967
1415
|
*/
|
|
968
1416
|
/** 図は出せるが書いた通りにならなかった、 という知らせ。 */
|
|
969
1417
|
type CompileNotice = {
|
|
970
|
-
kind: "relative-position-ignored" | "focus-target-missing" | "state-override-rejected" | "external-paint-dropped" | "part-not-drawn" | "direction-not-honored" | "scale-reserved" | "part-color-ignored" | "part-state-missing" | "part-edge-dropped" | "part-not-found" | "part-node-ignored" | "part-lane-ignored" | "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" | "message-option-not-honored" | "position-offset-ignored" | "group-lane-missing" | "group-lanes-apart" | "cardinality-not-honored" | "edge-option-not-honored" | "gantt-end-before-start";
|
|
1418
|
+
kind: "relative-position-ignored" | "focus-target-missing" | "state-override-rejected" | "external-paint-dropped" | "part-not-drawn" | "direction-not-honored" | "direction-same-as-default" | "order-not-honored" | "shape-not-honored" | "stage-from-lane" | "track-from-name" | "theme-palette-both" | "scale-reserved" | "part-color-ignored" | "part-state-missing" | "part-edge-dropped" | "part-not-found" | "part-node-ignored" | "part-lane-ignored" | "chart-value-unreadable" | "chart-edge-dropped" | "value-shadows-state" | "state-shadowed-by-input" | "value-unresolved" | "value-duplicate" | "flow-actor-missing" | "band-not-honored" | "band-actor-missing" | "band-row-out-of-range" | "value-trigger-unresolved" | "lane-not-honored" | "lane-option-not-honored" | "lane-declared-empty" | "eyebrow-not-honored" | "flow-endpoint-not-honored" | "draw-not-honored" | "draw-target-mismatch" | "formula-unresolved" | "readout-source-missing" | "event-target-missing" | "event-target-not-honored" | "focus-target-not-honored" | "actor-kind-not-honored" | "actor-option-not-honored" | "message-option-not-honored" | "position-offset-ignored" | "position-axis-missing" | "group-lane-missing" | "group-lanes-apart" | "cardinality-not-honored" | "edge-option-not-honored" | "gantt-end-before-start";
|
|
971
1419
|
/** 対象の名前。 光らせる相手なら書かれた指定そのまま */
|
|
972
1420
|
actor: string;
|
|
973
1421
|
/** 書かれていた行 */
|
|
@@ -1081,9 +1529,10 @@ declare function partRenderSize(part: CdlDiagram): {
|
|
|
1081
1529
|
* `readouts` を図の中では扱わないため、図として重ねても何も出ない。 位置決めのための
|
|
1082
1530
|
* 1x1 の箱が 1 つあるだけになる。
|
|
1083
1531
|
*
|
|
1084
|
-
* catalog
|
|
1085
|
-
* `readouts` を持つ 17 件は箱と図枠の面積比が全件 0.
|
|
1086
|
-
*
|
|
1532
|
+
* catalog を測ると、この 2 群は `readouts` の有無で完全に分かれる。
|
|
1533
|
+
* `readouts` を持つ 17 件は箱と図枠の面積比が全件 0.00007 (箱は 1x1 で図枠は 120x120)、
|
|
1534
|
+
* 持たない群は最小でも 0.37662。 境目に入る件は無い
|
|
1535
|
+
* (#2681 で図枠が中身に寄るようになり、どちらの群も値が上がったが隔たりは残った)。
|
|
1087
1536
|
*
|
|
1088
1537
|
* 判定は面積の閾値ではなく **`readouts` を持ち、かつ箱が図枠に対して極小** の 2 条件で行う。
|
|
1089
1538
|
* 閾値だけで見ると、小さい箱を意図して置いた見本を巻き込む。 `readouts` だけで見ると、
|
|
@@ -1111,6 +1560,13 @@ declare function partBoxInFrame(part: CdlDiagram): {
|
|
|
1111
1560
|
left: number;
|
|
1112
1561
|
top: number;
|
|
1113
1562
|
};
|
|
1563
|
+
/**
|
|
1564
|
+
* 測るためだけの配置が受け取った知らせの数 (#2312)。
|
|
1565
|
+
*
|
|
1566
|
+
* 読み込み時の知らせを 0 行で固定する検査が、母数として読む。 0 件なら「知らせが無い」 では
|
|
1567
|
+
* なく「測るための配置を 1 度も通っていない」 = 検査が空振りしている。
|
|
1568
|
+
*/
|
|
1569
|
+
declare function 測るために受け取った知らせの数(): number;
|
|
1114
1570
|
/**
|
|
1115
1571
|
* パーツ 1 個の箱の外接矩形。
|
|
1116
1572
|
*
|
|
@@ -1229,6 +1685,33 @@ interface CompileToCdlOpts {
|
|
|
1229
1685
|
}
|
|
1230
1686
|
declare function compileToCdl(doc: DslDocument, opts?: CompileToCdlOpts): CdlDiagram;
|
|
1231
1687
|
|
|
1688
|
+
/**
|
|
1689
|
+
* 行頭の印を dragon の語で決める (#2782)。
|
|
1690
|
+
*
|
|
1691
|
+
* 描画側が持つ印は 3 軸しかない。 形 (四角 / 山形) と 塗り (塗る / 中空) と
|
|
1692
|
+
* 名前の下線で、この 3 軸に 1 対 1 で当たる語を dragon 自身が持つ。
|
|
1693
|
+
*
|
|
1694
|
+
* | 語 | 軸 | 意味 |
|
|
1695
|
+
* |---|---|---|
|
|
1696
|
+
* | `鍵` | 名前に下線を引く | その行で箱を見分ける |
|
|
1697
|
+
* | `外` | 行頭を山形にする | その行は箱の外とつながる |
|
|
1698
|
+
* | `条件` | 行頭を中空にする | その行は条件が揃った時だけ効く |
|
|
1699
|
+
*
|
|
1700
|
+
* 畳む前は 図種ごとに語を持っていた (表の図は `pk` / `fk` / `opt`、移り変わりの図は
|
|
1701
|
+
* `entry` / `exit` / `do` / `internal`)。 2 つの語彙は同じ 2 軸の格子を別の名前で
|
|
1702
|
+
* 呼んでいただけで、格子の 4 隅は 1 対 1 に重なる。
|
|
1703
|
+
*
|
|
1704
|
+
* | | 塗る | 中空 |
|
|
1705
|
+
* |---|---|---|
|
|
1706
|
+
* | 四角 | 語なし / `do` | `条件` / `opt` / `internal` |
|
|
1707
|
+
* | 山形 | `外` / `fk` / `entry` | `外 条件` / `fk opt` / `exit` |
|
|
1708
|
+
*
|
|
1709
|
+
* 古い語から dragon の語への読み替えは本 file の `行頭の語へ読み替える` が持ち、
|
|
1710
|
+
* 読み取りの入口 (記法 / JSON の 2 経路) が通す。 印にする時点で古い語は 1 つも残っていない。
|
|
1711
|
+
*/
|
|
1712
|
+
declare const 行頭の語: readonly ["鍵", "外", "条件"];
|
|
1713
|
+
type 行頭の語 = (typeof 行頭の語)[number];
|
|
1714
|
+
|
|
1232
1715
|
/**
|
|
1233
1716
|
* 記法の検査 (図を書く人向けの修正システム)。
|
|
1234
1717
|
*
|
|
@@ -1322,12 +1805,12 @@ declare function rectsOverlap(a: DiagramBoundingBox, b: DiagramBoundingBox): boo
|
|
|
1322
1805
|
* 書き方は 2 通り。 箱の名前 1 つか、 矢印 (`A -> B`) で 2 者を指す形。
|
|
1323
1806
|
*
|
|
1324
1807
|
* 読み方をここに 1 つだけ置く。 id の形は図種で違う (順序図は縦列の上端 / 下端 / 手順箱、
|
|
1325
|
-
*
|
|
1808
|
+
* フローは箱 1 個) ため id への解決は図種ごとに残すが、 「どちらの書き方か」 の判断を
|
|
1326
1809
|
* 図種ごとに持つと、 同じ記述が図種によって別の意味になる。
|
|
1327
1810
|
*
|
|
1328
1811
|
* 以前は図種ごとに判定していて、 順序図と汎用の 2 経路が `-` 1 文字を矢印と見なしていた。
|
|
1329
1812
|
* その結果 `api-gateway` のような名前が「api から gateway への矢印」 と読まれ、 順序図では
|
|
1330
|
-
* 光らず、
|
|
1813
|
+
* 光らず、 フローでは名前に部分一致した別の矢印が光っていた (実測)。
|
|
1331
1814
|
*/
|
|
1332
1815
|
/** 光らせる相手の指定。 */
|
|
1333
1816
|
type FocusEntry = {
|
|
@@ -1603,18 +2086,95 @@ declare function 書いた場所の鍵(...道: readonly (string | number)[]): st
|
|
|
1603
2086
|
* YAML `animation: [step: "..."]` ⇔ JSON `{animation: [{step: "...", duration: 1.4, focus: [...]}]}`
|
|
1604
2087
|
*/
|
|
1605
2088
|
|
|
2089
|
+
/** 古い綴りで書いた図種 (#2655 / #2657)。 受ける値は `TYPE_ALIASES` が SSOT */
|
|
2090
|
+
type 図種の別名 = "solidity" | DslShape;
|
|
1606
2091
|
/**
|
|
1607
2092
|
* LLM 向け JSON DSL の入力 shape。 YAML DSL と 1:1 対応、 top-level は flat な object。
|
|
1608
2093
|
*/
|
|
1609
2094
|
interface DragonJson {
|
|
1610
2095
|
/** 図の title (必須) */
|
|
1611
2096
|
title: string;
|
|
1612
|
-
/**
|
|
1613
|
-
|
|
2097
|
+
/**
|
|
2098
|
+
* preset type (必須)。 受け付ける値は `PRESET_TYPES` と `TYPE_ALIASES` が SSOT。
|
|
2099
|
+
*
|
|
2100
|
+
* 別名 (#2655 / #2657) は読み取りで図種と語の 2 つに開く = `solidity` と書いた JSON は
|
|
2101
|
+
* 順序図 + 種類で並べ替え、`pie` と書いた JSON は 数を描く図 + 円の形 として読まれる。
|
|
2102
|
+
*/
|
|
2103
|
+
type: PresetType | 図種の別名;
|
|
2104
|
+
/** 円グラフの見せ方。 */
|
|
2105
|
+
form?: string;
|
|
2106
|
+
/** `form` の和名。両方あれば `form` を採る。 */
|
|
2107
|
+
見せ方?: string;
|
|
2108
|
+
/** ガントチャートの目盛り。 */
|
|
2109
|
+
ticks?: string[];
|
|
2110
|
+
/** `ticks` の和名。両方あれば `ticks` を採る。 */
|
|
2111
|
+
目盛り?: string[];
|
|
2112
|
+
/** ガントチャートの今日の線の位置と札。 */
|
|
2113
|
+
ganttToday?: {
|
|
2114
|
+
index: number;
|
|
2115
|
+
label: string;
|
|
2116
|
+
};
|
|
2117
|
+
/** 工程の端とは独立した目盛り名。 */
|
|
2118
|
+
ganttTickLabels?: string[];
|
|
2119
|
+
ganttBarEnd?: "position";
|
|
2120
|
+
ganttBarThickness?: "thin";
|
|
2121
|
+
chartSeriesSkipMuted?: DslDocument["chartSeriesSkipMuted"];
|
|
2122
|
+
chartLineSeries?: DslDocument["chartLineSeries"];
|
|
2123
|
+
chartPieCenterLabel?: DslDocument["chartPieCenterLabel"];
|
|
2124
|
+
chartPieTableColumns?: DslDocument["chartPieTableColumns"];
|
|
2125
|
+
chartPieRingWidth?: DslDocument["chartPieRingWidth"];
|
|
2126
|
+
chartSlopePeriods?: DslDocument["chartSlopePeriods"];
|
|
2127
|
+
chartSlopeEmphasisIds?: DslDocument["chartSlopeEmphasisIds"];
|
|
2128
|
+
chartSlopeUnit?: DslDocument["chartSlopeUnit"];
|
|
2129
|
+
chartStackedPeriods?: DslDocument["chartStackedPeriods"];
|
|
2130
|
+
chartStackedRateId?: DslDocument["chartStackedRateId"];
|
|
2131
|
+
chartStackedLegendPosition?: DslDocument["chartStackedLegendPosition"];
|
|
2132
|
+
chartGaugeValue?: DslDocument["chartGaugeValue"];
|
|
2133
|
+
chartWaffleLegendPosition?: DslDocument["chartWaffleLegendPosition"];
|
|
2134
|
+
funnelForm?: DslDocument["funnelForm"];
|
|
2135
|
+
funnelRate?: DslDocument["funnelRate"];
|
|
2136
|
+
quadrantPointLabelSide?: DslDocument["quadrantPointLabelSide"];
|
|
2137
|
+
treeNodeForm?: DslDocument["treeNodeForm"];
|
|
2138
|
+
treeSize?: DslDocument["treeSize"];
|
|
2139
|
+
treeEdgeTone?: DslDocument["treeEdgeTone"];
|
|
2140
|
+
treeEdgeHead?: DslDocument["treeEdgeHead"];
|
|
2141
|
+
mindForm?: DslDocument["mindForm"];
|
|
2142
|
+
mindSize?: DslDocument["mindSize"];
|
|
2143
|
+
edgeEndGap?: DslDocument["edgeEndGap"];
|
|
2144
|
+
journeyForm?: DslDocument["journeyForm"];
|
|
2145
|
+
journeyLineForm?: DslDocument["journeyLineForm"];
|
|
2146
|
+
journeyLabels?: DslDocument["journeyLabels"];
|
|
2147
|
+
journeySize?: DslDocument["journeySize"];
|
|
2148
|
+
sequenceActorForm?: DslDocument["sequenceActorForm"];
|
|
2149
|
+
sequenceLabelForm?: DslDocument["sequenceLabelForm"];
|
|
2150
|
+
sequenceReturnHead?: DslDocument["sequenceReturnHead"];
|
|
2151
|
+
sequenceKindLabels?: DslDocument["sequenceKindLabels"];
|
|
2152
|
+
sequenceRowGap?: DslDocument["sequenceRowGap"];
|
|
2153
|
+
sequenceGutter?: DslDocument["sequenceGutter"];
|
|
2154
|
+
sequenceBandWidth?: DslDocument["sequenceBandWidth"];
|
|
2155
|
+
sequenceSelfLoop?: DslDocument["sequenceSelfLoop"];
|
|
2156
|
+
figureCard?: DslDocument["figureCard"];
|
|
2157
|
+
figureSize?: DslDocument["figureSize"];
|
|
2158
|
+
terminalDecoration?: DslDocument["terminalDecoration"];
|
|
2159
|
+
cornerForm?: DslDocument["cornerForm"];
|
|
2160
|
+
figureKindLabel?: DslDocument["figureKindLabel"];
|
|
2161
|
+
figureInset?: DslDocument["figureInset"];
|
|
2162
|
+
chartBarSize?: DslDocument["chartBarSize"];
|
|
2163
|
+
chartBarShape?: DslDocument["chartBarShape"];
|
|
2164
|
+
chartLineSize?: DslDocument["chartLineSize"];
|
|
2165
|
+
chartPieSize?: DslDocument["chartPieSize"];
|
|
2166
|
+
chartWaffleSize?: DslDocument["chartWaffleSize"];
|
|
2167
|
+
chartSlopeLabelTemplate?: DslDocument["chartSlopeLabelTemplate"];
|
|
2168
|
+
chartSlopeSize?: DslDocument["chartSlopeSize"];
|
|
2169
|
+
chartStackedLayout?: DslDocument["chartStackedLayout"];
|
|
2170
|
+
chartGaugeSize?: DslDocument["chartGaugeSize"];
|
|
2171
|
+
ganttSize?: DslDocument["ganttSize"];
|
|
2172
|
+
quadrantLabelPosition?: DslDocument["quadrantLabelPosition"];
|
|
2173
|
+
quadrantSize?: DslDocument["quadrantSize"];
|
|
1614
2174
|
/**
|
|
1615
2175
|
* 図表の箱の上に出す小見出し (optional)。 記法の最上位 `eyebrow:` と同じ (#1247)。
|
|
1616
2176
|
*
|
|
1617
|
-
* 効くのは図全体を 1 箱にする図種 (`
|
|
2177
|
+
* 効くのは図全体を 1 箱にする図種 (`chart` / `funnel` / `tree` / `journey` /
|
|
1618
2178
|
* `quadrant` / `mind` / `gantt`) だけ。 箱ごとに分かれる図種では相手が決まらないため、
|
|
1619
2179
|
* 組み立て側が知らせを出す。 そちらは `actors[].eyebrow` に書く。
|
|
1620
2180
|
*/
|
|
@@ -1628,6 +2188,19 @@ interface DragonJson {
|
|
|
1628
2188
|
* 他の図種には軸が無いため、書かれていたら組み立て側が知らせる。
|
|
1629
2189
|
*/
|
|
1630
2190
|
axes?: JsonAxes;
|
|
2191
|
+
/**
|
|
2192
|
+
* 2 軸で仕分ける図の区画の名前 (#2667)。 記法の `regions:` と同じ。
|
|
2193
|
+
*
|
|
2194
|
+
* 鍵は項目の欄と同じ 4 語 (`左上` / `右上` / `左下` / `右下`)。 別の言い方を足すと
|
|
2195
|
+
* 同じ区画を 2 通りで呼ぶことになる。
|
|
2196
|
+
*/
|
|
2197
|
+
regions?: JsonRegions;
|
|
2198
|
+
/** 図の凡例の字の大きさ。 */
|
|
2199
|
+
legendFontSize?: number;
|
|
2200
|
+
legendOffset?: DslDocument["legendOffset"];
|
|
2201
|
+
/** 段の箱で全意匠に共通して使う見出しの寸法。 */
|
|
2202
|
+
stageHeader?: DslStageHeader;
|
|
2203
|
+
stageLayout?: DslDocument["stageLayout"];
|
|
1631
2204
|
/** 登場人物 (必須): 文字列 or { name, kind, ... } object */
|
|
1632
2205
|
actors: (string | JsonActor)[];
|
|
1633
2206
|
/** flow step 配列 (必須): { from, to, label, ... } */
|
|
@@ -1710,6 +2283,8 @@ interface DragonJson {
|
|
|
1710
2283
|
x?: number;
|
|
1711
2284
|
width?: number;
|
|
1712
2285
|
label?: string;
|
|
2286
|
+
/** 路線図の担当の名札で、名前の下へ出す補足。 */
|
|
2287
|
+
subtitle?: string;
|
|
1713
2288
|
contain?: boolean;
|
|
1714
2289
|
lifeline?: boolean;
|
|
1715
2290
|
/**
|
|
@@ -1735,16 +2310,16 @@ interface DragonJson {
|
|
|
1735
2310
|
relations?: RelationFocus;
|
|
1736
2311
|
/** 図の並ぶ向き (#1494)。 記法の最上位 `direction:` と同じ。 JSON は英語の語で書く */
|
|
1737
2312
|
direction?: "vertical" | "horizontal";
|
|
1738
|
-
/**
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
2313
|
+
/** 箱を並べ替える軸 (#2655)。 記法の最上位 `order:` と同じ。 JSON は英語の語で書く */
|
|
2314
|
+
order?: "kind";
|
|
2315
|
+
/** 図種ごとに選ぶ形 (#2657 / #2797)。 記法の最上位 `shape:` と同じ */
|
|
2316
|
+
shape?: DslDiagramShape;
|
|
2317
|
+
/** 図の意匠 (#1553 / #2790)。 記法の最上位 `theme:` と同じ。 */
|
|
2318
|
+
theme?: string;
|
|
2319
|
+
/** `theme` の別名。 両方書いた時は `theme` を使う。 */
|
|
2320
|
+
palette?: string;
|
|
2321
|
+
/** 図の下へ置く凡例。 印は記法と同じ英語名または和名で書く。 */
|
|
2322
|
+
legend?: CdlLegendItem[];
|
|
1748
2323
|
}
|
|
1749
2324
|
/**
|
|
1750
2325
|
* 位置を他の要素からの相対で書く指定の、JSON 側の形 (#2039)。
|
|
@@ -1800,6 +2375,22 @@ interface JsonActor {
|
|
|
1800
2375
|
*/
|
|
1801
2376
|
kind?: NodeKind | (string & {});
|
|
1802
2377
|
subtitle?: string;
|
|
2378
|
+
kindForm?: "icon";
|
|
2379
|
+
icon?: DslActor["icon"];
|
|
2380
|
+
emptyRowsNote?: string;
|
|
2381
|
+
titleAlign?: "center";
|
|
2382
|
+
rowRules?: boolean;
|
|
2383
|
+
rowStripe?: boolean;
|
|
2384
|
+
rowLayout?: DslActor["rowLayout"];
|
|
2385
|
+
rowDividerForm?: DslActor["rowDividerForm"];
|
|
2386
|
+
rowWell?: DslActor["rowWell"];
|
|
2387
|
+
rowMarkForm?: "tone";
|
|
2388
|
+
nestIn?: string;
|
|
2389
|
+
figureCard?: DslActor["figureCard"];
|
|
2390
|
+
stationNamePosition?: "bottom";
|
|
2391
|
+
subtitlePlacement?: "right";
|
|
2392
|
+
titleFontSize?: number;
|
|
2393
|
+
markGap?: number;
|
|
1803
2394
|
eyebrow?: string;
|
|
1804
2395
|
value?: string;
|
|
1805
2396
|
/**
|
|
@@ -1810,6 +2401,8 @@ interface JsonActor {
|
|
|
1810
2401
|
*/
|
|
1811
2402
|
previous?: string;
|
|
1812
2403
|
rows?: string[];
|
|
2404
|
+
/** 段階ごとの箱で、この箱を入れる段階。 記法の `stage` / `段階` と同じ (#2797)。 */
|
|
2405
|
+
stage?: string;
|
|
1813
2406
|
lane?: string;
|
|
1814
2407
|
stack?: number;
|
|
1815
2408
|
initial?: boolean;
|
|
@@ -1865,14 +2458,22 @@ interface JsonActor {
|
|
|
1865
2458
|
* (記法側と同じ扱い)。
|
|
1866
2459
|
*/
|
|
1867
2460
|
end?: string;
|
|
2461
|
+
startLabel?: string;
|
|
2462
|
+
milestone?: boolean;
|
|
2463
|
+
emphasis?: "primary";
|
|
2464
|
+
/** 四象限の座標 `[x, y]`。 */
|
|
2465
|
+
at?: [number | string, number | string];
|
|
2466
|
+
/** `at` の和名。両方あれば `at` を採る。 */
|
|
2467
|
+
点の位置?: [number | string, number | string];
|
|
1868
2468
|
/**
|
|
1869
|
-
*
|
|
2469
|
+
* ユーザージャーニー (`type: journey`) で、その段階が起きる場所 (#1294)。 記法の `touchpoint:` と同じ。
|
|
1870
2470
|
*/
|
|
1871
2471
|
touchpoint?: string;
|
|
1872
2472
|
/**
|
|
1873
|
-
*
|
|
2473
|
+
* ユーザージャーニー (`type: journey`) で、その段階の改善の余地 (#1294)。 記法の `opportunity:` と同じ。
|
|
1874
2474
|
*/
|
|
1875
2475
|
opportunity?: string;
|
|
2476
|
+
opportunityPosition?: DslActor["opportunityPosition"];
|
|
1876
2477
|
/**
|
|
1877
2478
|
* 箱を置く絶対座標と大きさ (#1294)。 記法の `posX:` / `posY:` / `posW:` / `posH:` と同じ。
|
|
1878
2479
|
*
|
|
@@ -1901,19 +2502,39 @@ interface JsonActor {
|
|
|
1901
2502
|
*/
|
|
1902
2503
|
phase?: boolean;
|
|
1903
2504
|
/** 行頭の印 (#1466)。 行と対で読む。 語の意味は図の種類が決める */
|
|
1904
|
-
marks?: string
|
|
2505
|
+
marks?: Array<string | {
|
|
2506
|
+
mark: string;
|
|
2507
|
+
tone?: "primary" | "muted";
|
|
2508
|
+
}>;
|
|
1905
2509
|
}
|
|
1906
2510
|
/** 2 軸で仕分ける図の軸の名前 (#1294)。 記法の `axes:` と同じ形 */
|
|
1907
2511
|
interface JsonAxes {
|
|
1908
2512
|
x?: {
|
|
1909
2513
|
left?: string;
|
|
1910
2514
|
right?: string;
|
|
2515
|
+
label?: never;
|
|
2516
|
+
direction?: never;
|
|
2517
|
+
} | {
|
|
2518
|
+
label: string;
|
|
2519
|
+
direction: true;
|
|
1911
2520
|
};
|
|
1912
2521
|
y?: {
|
|
1913
2522
|
bottom?: string;
|
|
1914
2523
|
top?: string;
|
|
2524
|
+
label?: never;
|
|
2525
|
+
direction?: never;
|
|
2526
|
+
} | {
|
|
2527
|
+
label: string;
|
|
2528
|
+
direction: true;
|
|
1915
2529
|
};
|
|
1916
2530
|
}
|
|
2531
|
+
/** 2 軸で仕分ける図の区画の名前 (#2667)。 記法の `regions:` と同じ形 */
|
|
2532
|
+
interface JsonRegions {
|
|
2533
|
+
左上?: string;
|
|
2534
|
+
右上?: string;
|
|
2535
|
+
左下?: string;
|
|
2536
|
+
右下?: string;
|
|
2537
|
+
}
|
|
1917
2538
|
interface JsonStep {
|
|
1918
2539
|
from: string;
|
|
1919
2540
|
to: string;
|
|
@@ -1921,6 +2542,8 @@ interface JsonStep {
|
|
|
1921
2542
|
sub?: string;
|
|
1922
2543
|
/** 矢印がどの辺から出るか (#1385)。 記法の `side:` と同じ */
|
|
1923
2544
|
side?: "top" | "right" | "bottom" | "left";
|
|
2545
|
+
fromSide?: "top" | "right" | "bottom" | "left";
|
|
2546
|
+
toSide?: "top" | "right" | "bottom" | "left";
|
|
1924
2547
|
/**
|
|
1925
2548
|
* 矢印の先の形 (#1462)。 記法の `{ head: triangle }` と同じ。
|
|
1926
2549
|
*
|
|
@@ -1932,7 +2555,7 @@ interface JsonStep {
|
|
|
1932
2555
|
tailHead?: EdgeHead;
|
|
1933
2556
|
headFill?: EdgeHeadFill;
|
|
1934
2557
|
tailHeadFill?: EdgeHeadFill;
|
|
1935
|
-
/**
|
|
2558
|
+
/** UML 関係の出どころ側の多重度 (#1771 / #2783)。記法の `{ tailSub: "1" }` と同じ */
|
|
1936
2559
|
tailSub?: string;
|
|
1937
2560
|
/**
|
|
1938
2561
|
* 辺の役目 (cdl#618)。 記法の `{ role: main }` と同じ。
|
|
@@ -1942,7 +2565,7 @@ interface JsonStep {
|
|
|
1942
2565
|
role?: "main";
|
|
1943
2566
|
/** 名前の下地を敷くか (cdl#618)。 記法の `{ labelPlate: false }` と同じ。 既定は敷く */
|
|
1944
2567
|
labelPlate?: boolean;
|
|
1945
|
-
/**
|
|
2568
|
+
/** record の UML 関係の語 (#1466 / #2783)。書くと端の形 / 塗り / 線種がまとめて決まる */
|
|
1946
2569
|
relation?: ClassRelationType;
|
|
1947
2570
|
/** 順序図の言づての種類 (#1466)。 `call` / `return` / `fire` */
|
|
1948
2571
|
kind?: SequenceMessageKind;
|
|
@@ -1964,6 +2587,13 @@ interface JsonStep {
|
|
|
1964
2587
|
dashOffsetBind?: string;
|
|
1965
2588
|
labelOffsetX?: number;
|
|
1966
2589
|
labelOffsetY?: number;
|
|
2590
|
+
posX1?: number;
|
|
2591
|
+
posY1?: number;
|
|
2592
|
+
posX2?: number;
|
|
2593
|
+
posY2?: number;
|
|
2594
|
+
waypoints?: DslStep["waypoints"];
|
|
2595
|
+
labelCollision?: DslStep["labelCollision"];
|
|
2596
|
+
labelSize?: DslStep["labelSize"];
|
|
1967
2597
|
/** true で説明文を矢印の線の上に重ねる。 分岐図の条件ラベル用。 */
|
|
1968
2598
|
overlay?: boolean;
|
|
1969
2599
|
/**
|
|
@@ -1986,6 +2616,13 @@ interface JsonPhase {
|
|
|
1986
2616
|
focus?: string[];
|
|
1987
2617
|
/** body 説明文 */
|
|
1988
2618
|
body?: string;
|
|
2619
|
+
/**
|
|
2620
|
+
* 説明文の別名 (#2621)。 記法が `description:` を受けるので JSON でも受ける。
|
|
2621
|
+
*
|
|
2622
|
+
* **正の語は `body`**。 両方書いた段は `body` を採る = 正の語を優先すると決めておくと、
|
|
2623
|
+
* 読み手が「どちらが効くのか」 を実装を読まずに判断できる。
|
|
2624
|
+
*/
|
|
2625
|
+
description?: string;
|
|
1989
2626
|
/** badge label */
|
|
1990
2627
|
badge?: string;
|
|
1991
2628
|
/**
|
|
@@ -2093,6 +2730,12 @@ declare const diagramJsonSchema: {
|
|
|
2093
2730
|
title: string;
|
|
2094
2731
|
description: string;
|
|
2095
2732
|
type: string;
|
|
2733
|
+
$defs: {
|
|
2734
|
+
positiveNumber: {
|
|
2735
|
+
type: string;
|
|
2736
|
+
exclusiveMinimum: number;
|
|
2737
|
+
};
|
|
2738
|
+
};
|
|
2096
2739
|
required: string[];
|
|
2097
2740
|
additionalProperties: boolean;
|
|
2098
2741
|
properties: {
|
|
@@ -2106,48 +2749,1048 @@ declare const diagramJsonSchema: {
|
|
|
2106
2749
|
enum: string[];
|
|
2107
2750
|
description: string;
|
|
2108
2751
|
};
|
|
2109
|
-
|
|
2752
|
+
form: {
|
|
2110
2753
|
type: string;
|
|
2754
|
+
enum: string[];
|
|
2111
2755
|
description: string;
|
|
2112
2756
|
};
|
|
2113
|
-
|
|
2757
|
+
見せ方: {
|
|
2114
2758
|
type: string;
|
|
2115
|
-
|
|
2759
|
+
enum: string[];
|
|
2760
|
+
description: string;
|
|
2761
|
+
};
|
|
2762
|
+
ticks: {
|
|
2763
|
+
type: string;
|
|
2764
|
+
minItems: number;
|
|
2765
|
+
items: {
|
|
2766
|
+
type: string;
|
|
2767
|
+
minLength: number;
|
|
2768
|
+
};
|
|
2769
|
+
description: string;
|
|
2770
|
+
};
|
|
2771
|
+
目盛り: {
|
|
2772
|
+
type: string;
|
|
2773
|
+
minItems: number;
|
|
2774
|
+
items: {
|
|
2775
|
+
type: string;
|
|
2776
|
+
minLength: number;
|
|
2777
|
+
};
|
|
2116
2778
|
description: string;
|
|
2779
|
+
};
|
|
2780
|
+
ganttToday: {
|
|
2781
|
+
type: string;
|
|
2782
|
+
additionalProperties: boolean;
|
|
2783
|
+
required: string[];
|
|
2117
2784
|
properties: {
|
|
2118
|
-
|
|
2785
|
+
index: {
|
|
2119
2786
|
type: string;
|
|
2120
|
-
additionalProperties: boolean;
|
|
2121
|
-
properties: {
|
|
2122
|
-
left: {
|
|
2123
|
-
type: string;
|
|
2124
|
-
};
|
|
2125
|
-
right: {
|
|
2126
|
-
type: string;
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
2787
|
};
|
|
2130
|
-
|
|
2788
|
+
label: {
|
|
2131
2789
|
type: string;
|
|
2132
|
-
additionalProperties: boolean;
|
|
2133
|
-
properties: {
|
|
2134
|
-
bottom: {
|
|
2135
|
-
type: string;
|
|
2136
|
-
};
|
|
2137
|
-
top: {
|
|
2138
|
-
type: string;
|
|
2139
|
-
};
|
|
2140
|
-
};
|
|
2141
2790
|
};
|
|
2142
2791
|
};
|
|
2792
|
+
description: string;
|
|
2143
2793
|
};
|
|
2144
|
-
|
|
2794
|
+
ganttTickLabels: {
|
|
2145
2795
|
type: string;
|
|
2146
2796
|
minItems: number;
|
|
2797
|
+
items: {
|
|
2798
|
+
type: string;
|
|
2799
|
+
};
|
|
2800
|
+
description: string;
|
|
2801
|
+
};
|
|
2802
|
+
ganttBarEnd: {
|
|
2803
|
+
type: string;
|
|
2804
|
+
enum: string[];
|
|
2805
|
+
description: string;
|
|
2806
|
+
};
|
|
2807
|
+
ganttBarThickness: {
|
|
2808
|
+
type: string;
|
|
2809
|
+
enum: string[];
|
|
2147
2810
|
description: string;
|
|
2811
|
+
};
|
|
2812
|
+
chartSeriesSkipMuted: {
|
|
2813
|
+
type: string;
|
|
2814
|
+
};
|
|
2815
|
+
chartLineSeries: {
|
|
2816
|
+
type: string;
|
|
2817
|
+
minItems: number;
|
|
2148
2818
|
items: {
|
|
2149
|
-
|
|
2150
|
-
|
|
2819
|
+
type: string;
|
|
2820
|
+
additionalProperties: boolean;
|
|
2821
|
+
required: string[];
|
|
2822
|
+
properties: {
|
|
2823
|
+
label: {
|
|
2824
|
+
type: string;
|
|
2825
|
+
};
|
|
2826
|
+
tone: {
|
|
2827
|
+
type: string;
|
|
2828
|
+
};
|
|
2829
|
+
dash: {
|
|
2830
|
+
type: string;
|
|
2831
|
+
enum: string[];
|
|
2832
|
+
};
|
|
2833
|
+
marker: {
|
|
2834
|
+
type: string;
|
|
2835
|
+
enum: string[];
|
|
2836
|
+
};
|
|
2837
|
+
valueIndexes: {
|
|
2838
|
+
type: string;
|
|
2839
|
+
items: {
|
|
2840
|
+
type: string;
|
|
2841
|
+
minimum: number;
|
|
2842
|
+
};
|
|
2843
|
+
};
|
|
2844
|
+
points: {
|
|
2845
|
+
type: string;
|
|
2846
|
+
minItems: number;
|
|
2847
|
+
items: {
|
|
2848
|
+
type: string;
|
|
2849
|
+
additionalProperties: boolean;
|
|
2850
|
+
required: string[];
|
|
2851
|
+
properties: {
|
|
2852
|
+
label: {
|
|
2853
|
+
type: string;
|
|
2854
|
+
};
|
|
2855
|
+
value: {
|
|
2856
|
+
type: string[];
|
|
2857
|
+
};
|
|
2858
|
+
};
|
|
2859
|
+
};
|
|
2860
|
+
};
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
};
|
|
2864
|
+
chartPieCenterLabel: {
|
|
2865
|
+
type: string;
|
|
2866
|
+
};
|
|
2867
|
+
chartPieTableColumns: {
|
|
2868
|
+
type: string;
|
|
2869
|
+
enum: string[];
|
|
2870
|
+
};
|
|
2871
|
+
chartPieRingWidth: {
|
|
2872
|
+
type: string;
|
|
2873
|
+
enum: string[];
|
|
2874
|
+
};
|
|
2875
|
+
chartSlopePeriods: {
|
|
2876
|
+
type: string;
|
|
2877
|
+
minItems: number;
|
|
2878
|
+
maxItems: number;
|
|
2879
|
+
items: {
|
|
2880
|
+
type: string;
|
|
2881
|
+
minLength: number;
|
|
2882
|
+
};
|
|
2883
|
+
};
|
|
2884
|
+
chartSlopeEmphasisIds: {
|
|
2885
|
+
type: string;
|
|
2886
|
+
minItems: number;
|
|
2887
|
+
items: {
|
|
2888
|
+
type: string;
|
|
2889
|
+
minLength: number;
|
|
2890
|
+
};
|
|
2891
|
+
};
|
|
2892
|
+
chartSlopeUnit: {
|
|
2893
|
+
type: string;
|
|
2894
|
+
};
|
|
2895
|
+
chartStackedPeriods: {
|
|
2896
|
+
type: string;
|
|
2897
|
+
minItems: number;
|
|
2898
|
+
items: {
|
|
2899
|
+
type: string;
|
|
2900
|
+
additionalProperties: boolean;
|
|
2901
|
+
required: string[];
|
|
2902
|
+
properties: {
|
|
2903
|
+
label: {
|
|
2904
|
+
type: string;
|
|
2905
|
+
};
|
|
2906
|
+
values: {
|
|
2907
|
+
type: string;
|
|
2908
|
+
items: {
|
|
2909
|
+
type: string[];
|
|
2910
|
+
};
|
|
2911
|
+
};
|
|
2912
|
+
};
|
|
2913
|
+
};
|
|
2914
|
+
};
|
|
2915
|
+
chartStackedRateId: {
|
|
2916
|
+
type: string;
|
|
2917
|
+
};
|
|
2918
|
+
chartStackedLegendPosition: {
|
|
2919
|
+
type: string;
|
|
2920
|
+
enum: string[];
|
|
2921
|
+
};
|
|
2922
|
+
chartGaugeValue: {
|
|
2923
|
+
type: string;
|
|
2924
|
+
additionalProperties: boolean;
|
|
2925
|
+
required: string[];
|
|
2926
|
+
properties: {
|
|
2927
|
+
max: {
|
|
2928
|
+
type: string;
|
|
2929
|
+
exclusiveMinimum: number;
|
|
2930
|
+
};
|
|
2931
|
+
current: {
|
|
2932
|
+
anyOf: ({
|
|
2933
|
+
type: string;
|
|
2934
|
+
pattern?: undefined;
|
|
2935
|
+
} | {
|
|
2936
|
+
type: string;
|
|
2937
|
+
pattern: string;
|
|
2938
|
+
})[];
|
|
2939
|
+
};
|
|
2940
|
+
target: {
|
|
2941
|
+
anyOf: ({
|
|
2942
|
+
type: string;
|
|
2943
|
+
pattern?: undefined;
|
|
2944
|
+
} | {
|
|
2945
|
+
type: string;
|
|
2946
|
+
pattern: string;
|
|
2947
|
+
})[];
|
|
2948
|
+
};
|
|
2949
|
+
previous: {
|
|
2950
|
+
anyOf: ({
|
|
2951
|
+
type: string;
|
|
2952
|
+
pattern?: undefined;
|
|
2953
|
+
} | {
|
|
2954
|
+
type: string;
|
|
2955
|
+
pattern: string;
|
|
2956
|
+
})[];
|
|
2957
|
+
};
|
|
2958
|
+
previousLabel: {
|
|
2959
|
+
type: string;
|
|
2960
|
+
};
|
|
2961
|
+
};
|
|
2962
|
+
};
|
|
2963
|
+
chartWaffleLegendPosition: {
|
|
2964
|
+
type: string;
|
|
2965
|
+
enum: string[];
|
|
2966
|
+
};
|
|
2967
|
+
funnelForm: {
|
|
2968
|
+
type: string;
|
|
2969
|
+
enum: string[];
|
|
2970
|
+
};
|
|
2971
|
+
funnelRate: {
|
|
2972
|
+
type: string;
|
|
2973
|
+
enum: string[];
|
|
2974
|
+
};
|
|
2975
|
+
quadrantPointLabelSide: {
|
|
2976
|
+
type: string;
|
|
2977
|
+
enum: string[];
|
|
2978
|
+
};
|
|
2979
|
+
treeNodeForm: {
|
|
2980
|
+
type: string;
|
|
2981
|
+
enum: string[];
|
|
2982
|
+
};
|
|
2983
|
+
treeSize: {
|
|
2984
|
+
type: string;
|
|
2985
|
+
additionalProperties: boolean;
|
|
2986
|
+
properties: {
|
|
2987
|
+
nodeWidths: {
|
|
2988
|
+
type: string;
|
|
2989
|
+
minItems: number;
|
|
2990
|
+
items: {
|
|
2991
|
+
type: string;
|
|
2992
|
+
exclusiveMinimum: number;
|
|
2993
|
+
};
|
|
2994
|
+
};
|
|
2995
|
+
nodeHeight: {
|
|
2996
|
+
type: string;
|
|
2997
|
+
exclusiveMinimum: number;
|
|
2998
|
+
};
|
|
2999
|
+
titleFontSize: {
|
|
3000
|
+
type: string;
|
|
3001
|
+
exclusiveMinimum: number;
|
|
3002
|
+
};
|
|
3003
|
+
subtitleFontSize: {
|
|
3004
|
+
type: string;
|
|
3005
|
+
exclusiveMinimum: number;
|
|
3006
|
+
};
|
|
3007
|
+
siblingGap: {
|
|
3008
|
+
type: string;
|
|
3009
|
+
minimum: number;
|
|
3010
|
+
};
|
|
3011
|
+
levelGap: {
|
|
3012
|
+
type: string;
|
|
3013
|
+
minimum: number;
|
|
3014
|
+
};
|
|
3015
|
+
};
|
|
3016
|
+
};
|
|
3017
|
+
treeEdgeTone: {
|
|
3018
|
+
type: string;
|
|
3019
|
+
enum: string[];
|
|
3020
|
+
};
|
|
3021
|
+
treeEdgeHead: {
|
|
3022
|
+
type: string;
|
|
3023
|
+
enum: string[];
|
|
3024
|
+
};
|
|
3025
|
+
mindForm: {
|
|
3026
|
+
type: string;
|
|
3027
|
+
enum: string[];
|
|
3028
|
+
};
|
|
3029
|
+
mindSize: {
|
|
3030
|
+
type: string;
|
|
3031
|
+
additionalProperties: boolean;
|
|
3032
|
+
properties: {
|
|
3033
|
+
contentOffset: {
|
|
3034
|
+
type: string;
|
|
3035
|
+
additionalProperties: boolean;
|
|
3036
|
+
required: string[];
|
|
3037
|
+
properties: {
|
|
3038
|
+
x: {
|
|
3039
|
+
type: string;
|
|
3040
|
+
};
|
|
3041
|
+
y: {
|
|
3042
|
+
type: string;
|
|
3043
|
+
};
|
|
3044
|
+
};
|
|
3045
|
+
};
|
|
3046
|
+
root: {
|
|
3047
|
+
type: string;
|
|
3048
|
+
additionalProperties: boolean;
|
|
3049
|
+
properties: {
|
|
3050
|
+
width: {
|
|
3051
|
+
type: string;
|
|
3052
|
+
exclusiveMinimum: number;
|
|
3053
|
+
};
|
|
3054
|
+
height: {
|
|
3055
|
+
type: string;
|
|
3056
|
+
exclusiveMinimum: number;
|
|
3057
|
+
};
|
|
3058
|
+
fontSize: {
|
|
3059
|
+
type: string;
|
|
3060
|
+
exclusiveMinimum: number;
|
|
3061
|
+
};
|
|
3062
|
+
};
|
|
3063
|
+
};
|
|
3064
|
+
branch: {
|
|
3065
|
+
type: string;
|
|
3066
|
+
additionalProperties: boolean;
|
|
3067
|
+
properties: {
|
|
3068
|
+
width: {
|
|
3069
|
+
type: string;
|
|
3070
|
+
exclusiveMinimum: number;
|
|
3071
|
+
};
|
|
3072
|
+
height: {
|
|
3073
|
+
type: string;
|
|
3074
|
+
exclusiveMinimum: number;
|
|
3075
|
+
};
|
|
3076
|
+
fontSize: {
|
|
3077
|
+
type: string;
|
|
3078
|
+
exclusiveMinimum: number;
|
|
3079
|
+
};
|
|
3080
|
+
};
|
|
3081
|
+
};
|
|
3082
|
+
leaf: {
|
|
3083
|
+
type: string;
|
|
3084
|
+
additionalProperties: boolean;
|
|
3085
|
+
properties: {
|
|
3086
|
+
fontSize: {
|
|
3087
|
+
type: string;
|
|
3088
|
+
exclusiveMinimum: number;
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
3091
|
+
};
|
|
3092
|
+
rootBranchGap: {
|
|
3093
|
+
type: string;
|
|
3094
|
+
minimum: number;
|
|
3095
|
+
};
|
|
3096
|
+
branchLeafGap: {
|
|
3097
|
+
type: string;
|
|
3098
|
+
minimum: number;
|
|
3099
|
+
};
|
|
3100
|
+
branchRowGap: {
|
|
3101
|
+
type: string;
|
|
3102
|
+
minimum: number;
|
|
3103
|
+
};
|
|
3104
|
+
branchRowOffset: {
|
|
3105
|
+
type: string;
|
|
3106
|
+
};
|
|
3107
|
+
leafRowGap: {
|
|
3108
|
+
type: string;
|
|
3109
|
+
minimum: number;
|
|
3110
|
+
};
|
|
3111
|
+
leafRowOffset: {
|
|
3112
|
+
type: string;
|
|
3113
|
+
};
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
3116
|
+
journeyForm: {
|
|
3117
|
+
type: string;
|
|
3118
|
+
enum: string[];
|
|
3119
|
+
};
|
|
3120
|
+
journeyLineForm: {
|
|
3121
|
+
type: string;
|
|
3122
|
+
enum: string[];
|
|
3123
|
+
};
|
|
3124
|
+
journeyLabels: {
|
|
3125
|
+
type: string;
|
|
3126
|
+
additionalProperties: boolean;
|
|
3127
|
+
required: string[];
|
|
3128
|
+
properties: {
|
|
3129
|
+
delighted: {
|
|
3130
|
+
type: string;
|
|
3131
|
+
minLength: number;
|
|
3132
|
+
};
|
|
3133
|
+
happy: {
|
|
3134
|
+
type: string;
|
|
3135
|
+
minLength: number;
|
|
3136
|
+
};
|
|
3137
|
+
neutral: {
|
|
3138
|
+
type: string;
|
|
3139
|
+
minLength: number;
|
|
3140
|
+
};
|
|
3141
|
+
frustrated: {
|
|
3142
|
+
type: string;
|
|
3143
|
+
minLength: number;
|
|
3144
|
+
};
|
|
3145
|
+
angry: {
|
|
3146
|
+
type: string;
|
|
3147
|
+
minLength: number;
|
|
3148
|
+
};
|
|
3149
|
+
};
|
|
3150
|
+
};
|
|
3151
|
+
sequenceActorForm: {
|
|
3152
|
+
type: string;
|
|
3153
|
+
enum: string[];
|
|
3154
|
+
};
|
|
3155
|
+
sequenceLabelForm: {
|
|
3156
|
+
type: string;
|
|
3157
|
+
enum: string[];
|
|
3158
|
+
};
|
|
3159
|
+
sequenceReturnHead: {
|
|
3160
|
+
type: string;
|
|
3161
|
+
enum: string[];
|
|
3162
|
+
};
|
|
3163
|
+
sequenceRowGap: {
|
|
3164
|
+
type: string;
|
|
3165
|
+
exclusiveMinimum: number;
|
|
3166
|
+
};
|
|
3167
|
+
sequenceGutter: {
|
|
3168
|
+
type: string;
|
|
3169
|
+
exclusiveMinimum: number;
|
|
3170
|
+
};
|
|
3171
|
+
sequenceBandWidth: {
|
|
3172
|
+
type: string;
|
|
3173
|
+
exclusiveMinimum: number;
|
|
3174
|
+
};
|
|
3175
|
+
sequenceSelfLoop: {
|
|
3176
|
+
type: string;
|
|
3177
|
+
additionalProperties: boolean;
|
|
3178
|
+
properties: {
|
|
3179
|
+
form: {
|
|
3180
|
+
type: string;
|
|
3181
|
+
enum: string[];
|
|
3182
|
+
};
|
|
3183
|
+
width: {
|
|
3184
|
+
type: string;
|
|
3185
|
+
exclusiveMinimum: number;
|
|
3186
|
+
};
|
|
3187
|
+
drop: {
|
|
3188
|
+
type: string;
|
|
3189
|
+
exclusiveMinimum: number;
|
|
3190
|
+
};
|
|
3191
|
+
};
|
|
3192
|
+
};
|
|
3193
|
+
sequenceKindLabels: {
|
|
3194
|
+
type: string;
|
|
3195
|
+
additionalProperties: boolean;
|
|
3196
|
+
properties: {
|
|
3197
|
+
call: {
|
|
3198
|
+
type: string;
|
|
3199
|
+
};
|
|
3200
|
+
return: {
|
|
3201
|
+
type: string;
|
|
3202
|
+
};
|
|
3203
|
+
fire: {
|
|
3204
|
+
type: string;
|
|
3205
|
+
};
|
|
3206
|
+
};
|
|
3207
|
+
};
|
|
3208
|
+
figureCard: {
|
|
3209
|
+
type: string;
|
|
3210
|
+
additionalProperties: boolean;
|
|
3211
|
+
required: string[];
|
|
3212
|
+
properties: {
|
|
3213
|
+
label: {
|
|
3214
|
+
type: string;
|
|
3215
|
+
};
|
|
3216
|
+
note: {
|
|
3217
|
+
type: string;
|
|
3218
|
+
};
|
|
3219
|
+
};
|
|
3220
|
+
};
|
|
3221
|
+
figureSize: {
|
|
3222
|
+
type: string;
|
|
3223
|
+
additionalProperties: boolean;
|
|
3224
|
+
required: string[];
|
|
3225
|
+
properties: {
|
|
3226
|
+
width: {
|
|
3227
|
+
type: string;
|
|
3228
|
+
exclusiveMinimum: number;
|
|
3229
|
+
};
|
|
3230
|
+
height: {
|
|
3231
|
+
type: string;
|
|
3232
|
+
exclusiveMinimum: number;
|
|
3233
|
+
};
|
|
3234
|
+
};
|
|
3235
|
+
};
|
|
3236
|
+
terminalDecoration: {
|
|
3237
|
+
type: string;
|
|
3238
|
+
additionalProperties: boolean;
|
|
3239
|
+
properties: {
|
|
3240
|
+
windowControls: {
|
|
3241
|
+
type: string;
|
|
3242
|
+
};
|
|
3243
|
+
cursor: {
|
|
3244
|
+
type: string;
|
|
3245
|
+
};
|
|
3246
|
+
rowOrdinal: {
|
|
3247
|
+
type: string;
|
|
3248
|
+
};
|
|
3249
|
+
};
|
|
3250
|
+
};
|
|
3251
|
+
cornerForm: {
|
|
3252
|
+
type: string;
|
|
3253
|
+
enum: string[];
|
|
3254
|
+
};
|
|
3255
|
+
chartBarShape: {
|
|
3256
|
+
type: string;
|
|
3257
|
+
enum: string[];
|
|
3258
|
+
};
|
|
3259
|
+
figureKindLabel: {
|
|
3260
|
+
type: string;
|
|
3261
|
+
additionalProperties: boolean;
|
|
3262
|
+
required: string[];
|
|
3263
|
+
properties: {
|
|
3264
|
+
text: {
|
|
3265
|
+
type: string;
|
|
3266
|
+
minLength: number;
|
|
3267
|
+
};
|
|
3268
|
+
x: {
|
|
3269
|
+
type: string;
|
|
3270
|
+
};
|
|
3271
|
+
y: {
|
|
3272
|
+
type: string;
|
|
3273
|
+
};
|
|
3274
|
+
fontSize: {
|
|
3275
|
+
type: string;
|
|
3276
|
+
exclusiveMinimum: number;
|
|
3277
|
+
};
|
|
3278
|
+
fontWeight: {
|
|
3279
|
+
type: string;
|
|
3280
|
+
exclusiveMinimum: number;
|
|
3281
|
+
};
|
|
3282
|
+
letterSpacing: {
|
|
3283
|
+
type: string;
|
|
3284
|
+
minimum: number;
|
|
3285
|
+
};
|
|
3286
|
+
};
|
|
3287
|
+
};
|
|
3288
|
+
figureInset: {
|
|
3289
|
+
type: string;
|
|
3290
|
+
additionalProperties: boolean;
|
|
3291
|
+
properties: {
|
|
3292
|
+
top: {
|
|
3293
|
+
type: string;
|
|
3294
|
+
minimum: number;
|
|
3295
|
+
};
|
|
3296
|
+
right: {
|
|
3297
|
+
type: string;
|
|
3298
|
+
minimum: number;
|
|
3299
|
+
};
|
|
3300
|
+
bottom: {
|
|
3301
|
+
type: string;
|
|
3302
|
+
minimum: number;
|
|
3303
|
+
};
|
|
3304
|
+
left: {
|
|
3305
|
+
type: string;
|
|
3306
|
+
minimum: number;
|
|
3307
|
+
};
|
|
3308
|
+
radius: {
|
|
3309
|
+
type: string;
|
|
3310
|
+
minimum: number;
|
|
3311
|
+
};
|
|
3312
|
+
};
|
|
3313
|
+
};
|
|
3314
|
+
journeySize: {
|
|
3315
|
+
type: string;
|
|
3316
|
+
additionalProperties: boolean;
|
|
3317
|
+
properties: {
|
|
3318
|
+
plotPadding: {
|
|
3319
|
+
type: string;
|
|
3320
|
+
additionalProperties: boolean;
|
|
3321
|
+
properties: {
|
|
3322
|
+
left: {
|
|
3323
|
+
type: string;
|
|
3324
|
+
minimum: number;
|
|
3325
|
+
};
|
|
3326
|
+
right: {
|
|
3327
|
+
type: string;
|
|
3328
|
+
minimum: number;
|
|
3329
|
+
};
|
|
3330
|
+
};
|
|
3331
|
+
};
|
|
3332
|
+
pointPadding: {
|
|
3333
|
+
type: string;
|
|
3334
|
+
additionalProperties: boolean;
|
|
3335
|
+
properties: {
|
|
3336
|
+
left: {
|
|
3337
|
+
type: string;
|
|
3338
|
+
minimum: number;
|
|
3339
|
+
};
|
|
3340
|
+
right: {
|
|
3341
|
+
type: string;
|
|
3342
|
+
minimum: number;
|
|
3343
|
+
};
|
|
3344
|
+
};
|
|
3345
|
+
};
|
|
3346
|
+
};
|
|
3347
|
+
};
|
|
3348
|
+
chartBarSize: {
|
|
3349
|
+
type: string;
|
|
3350
|
+
additionalProperties: boolean;
|
|
3351
|
+
properties: {
|
|
3352
|
+
tickFontSize: {
|
|
3353
|
+
$ref: string;
|
|
3354
|
+
};
|
|
3355
|
+
valueFontSize: {
|
|
3356
|
+
$ref: string;
|
|
3357
|
+
};
|
|
3358
|
+
labelFontSize: {
|
|
3359
|
+
$ref: string;
|
|
3360
|
+
};
|
|
3361
|
+
plotPadding: {
|
|
3362
|
+
type: string;
|
|
3363
|
+
additionalProperties: boolean;
|
|
3364
|
+
properties: {
|
|
3365
|
+
top: {
|
|
3366
|
+
type: string;
|
|
3367
|
+
minimum: number;
|
|
3368
|
+
};
|
|
3369
|
+
right: {
|
|
3370
|
+
type: string;
|
|
3371
|
+
minimum: number;
|
|
3372
|
+
};
|
|
3373
|
+
bottom: {
|
|
3374
|
+
type: string;
|
|
3375
|
+
minimum: number;
|
|
3376
|
+
};
|
|
3377
|
+
left: {
|
|
3378
|
+
type: string;
|
|
3379
|
+
minimum: number;
|
|
3380
|
+
};
|
|
3381
|
+
};
|
|
3382
|
+
};
|
|
3383
|
+
barWidth: {
|
|
3384
|
+
$ref: string;
|
|
3385
|
+
};
|
|
3386
|
+
cornerRadius: {
|
|
3387
|
+
type: string;
|
|
3388
|
+
minimum: number;
|
|
3389
|
+
};
|
|
3390
|
+
};
|
|
3391
|
+
};
|
|
3392
|
+
chartLineSize: {
|
|
3393
|
+
type: string;
|
|
3394
|
+
additionalProperties: boolean;
|
|
3395
|
+
properties: {
|
|
3396
|
+
valueLabelOffset: {
|
|
3397
|
+
type: string;
|
|
3398
|
+
additionalProperties: boolean;
|
|
3399
|
+
properties: {
|
|
3400
|
+
above: {
|
|
3401
|
+
type: string;
|
|
3402
|
+
minimum: number;
|
|
3403
|
+
};
|
|
3404
|
+
below: {
|
|
3405
|
+
type: string;
|
|
3406
|
+
minimum: number;
|
|
3407
|
+
};
|
|
3408
|
+
};
|
|
3409
|
+
};
|
|
3410
|
+
tickFontSize: {
|
|
3411
|
+
$ref: string;
|
|
3412
|
+
};
|
|
3413
|
+
periodFontSize: {
|
|
3414
|
+
$ref: string;
|
|
3415
|
+
};
|
|
3416
|
+
pointRadius: {
|
|
3417
|
+
$ref: string;
|
|
3418
|
+
};
|
|
3419
|
+
plotPadding: {
|
|
3420
|
+
type: string;
|
|
3421
|
+
additionalProperties: boolean;
|
|
3422
|
+
properties: {
|
|
3423
|
+
top: {
|
|
3424
|
+
type: string;
|
|
3425
|
+
minimum: number;
|
|
3426
|
+
};
|
|
3427
|
+
right: {
|
|
3428
|
+
type: string;
|
|
3429
|
+
minimum: number;
|
|
3430
|
+
};
|
|
3431
|
+
bottom: {
|
|
3432
|
+
type: string;
|
|
3433
|
+
minimum: number;
|
|
3434
|
+
};
|
|
3435
|
+
left: {
|
|
3436
|
+
type: string;
|
|
3437
|
+
minimum: number;
|
|
3438
|
+
};
|
|
3439
|
+
};
|
|
3440
|
+
};
|
|
3441
|
+
tickGap: {
|
|
3442
|
+
type: string;
|
|
3443
|
+
minimum: number;
|
|
3444
|
+
};
|
|
3445
|
+
pointPadding: {
|
|
3446
|
+
type: string;
|
|
3447
|
+
additionalProperties: boolean;
|
|
3448
|
+
properties: {
|
|
3449
|
+
left: {
|
|
3450
|
+
type: string;
|
|
3451
|
+
minimum: number;
|
|
3452
|
+
};
|
|
3453
|
+
right: {
|
|
3454
|
+
type: string;
|
|
3455
|
+
minimum: number;
|
|
3456
|
+
};
|
|
3457
|
+
};
|
|
3458
|
+
};
|
|
3459
|
+
periodY: {
|
|
3460
|
+
type: string;
|
|
3461
|
+
minimum: number;
|
|
3462
|
+
};
|
|
3463
|
+
};
|
|
3464
|
+
};
|
|
3465
|
+
chartPieSize: {
|
|
3466
|
+
type: string;
|
|
3467
|
+
additionalProperties: boolean;
|
|
3468
|
+
properties: {
|
|
3469
|
+
tableWidth: {
|
|
3470
|
+
$ref: string;
|
|
3471
|
+
};
|
|
3472
|
+
tableLabelFontSize: {
|
|
3473
|
+
$ref: string;
|
|
3474
|
+
};
|
|
3475
|
+
tableValueFontSize: {
|
|
3476
|
+
$ref: string;
|
|
3477
|
+
};
|
|
3478
|
+
tableRowGap: {
|
|
3479
|
+
type: string;
|
|
3480
|
+
minimum: number;
|
|
3481
|
+
};
|
|
3482
|
+
tablePaddingInline: {
|
|
3483
|
+
type: string;
|
|
3484
|
+
minimum: number;
|
|
3485
|
+
};
|
|
3486
|
+
outerRadius: {
|
|
3487
|
+
$ref: string;
|
|
3488
|
+
};
|
|
3489
|
+
centerX: {
|
|
3490
|
+
type: string;
|
|
3491
|
+
minimum: number;
|
|
3492
|
+
};
|
|
3493
|
+
};
|
|
3494
|
+
};
|
|
3495
|
+
chartWaffleSize: {
|
|
3496
|
+
type: string;
|
|
3497
|
+
additionalProperties: boolean;
|
|
3498
|
+
properties: {
|
|
3499
|
+
gridLeft: {
|
|
3500
|
+
type: string;
|
|
3501
|
+
minimum: number;
|
|
3502
|
+
};
|
|
3503
|
+
cellPitch: {
|
|
3504
|
+
$ref: string;
|
|
3505
|
+
};
|
|
3506
|
+
};
|
|
3507
|
+
};
|
|
3508
|
+
chartSlopeLabelTemplate: {
|
|
3509
|
+
type: string;
|
|
3510
|
+
additionalProperties: boolean;
|
|
3511
|
+
properties: {
|
|
3512
|
+
left: {
|
|
3513
|
+
type: string;
|
|
3514
|
+
};
|
|
3515
|
+
right: {
|
|
3516
|
+
type: string;
|
|
3517
|
+
};
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3520
|
+
chartSlopeSize: {
|
|
3521
|
+
type: string;
|
|
3522
|
+
additionalProperties: boolean;
|
|
3523
|
+
properties: {
|
|
3524
|
+
pointRadius: {
|
|
3525
|
+
$ref: string;
|
|
3526
|
+
};
|
|
3527
|
+
periodFontSize: {
|
|
3528
|
+
$ref: string;
|
|
3529
|
+
};
|
|
3530
|
+
labelFontSize: {
|
|
3531
|
+
$ref: string;
|
|
3532
|
+
};
|
|
3533
|
+
leftAxisX: {
|
|
3534
|
+
type: string;
|
|
3535
|
+
minimum: number;
|
|
3536
|
+
};
|
|
3537
|
+
axisGap: {
|
|
3538
|
+
$ref: string;
|
|
3539
|
+
};
|
|
3540
|
+
labelAxisGap: {
|
|
3541
|
+
type: string;
|
|
3542
|
+
minimum: number;
|
|
3543
|
+
};
|
|
3544
|
+
plotPadding: {
|
|
3545
|
+
type: string;
|
|
3546
|
+
additionalProperties: boolean;
|
|
3547
|
+
properties: {
|
|
3548
|
+
top: {
|
|
3549
|
+
type: string;
|
|
3550
|
+
minimum: number;
|
|
3551
|
+
};
|
|
3552
|
+
bottom: {
|
|
3553
|
+
type: string;
|
|
3554
|
+
minimum: number;
|
|
3555
|
+
};
|
|
3556
|
+
};
|
|
3557
|
+
};
|
|
3558
|
+
pointPadding: {
|
|
3559
|
+
type: string;
|
|
3560
|
+
additionalProperties: boolean;
|
|
3561
|
+
properties: {
|
|
3562
|
+
top: {
|
|
3563
|
+
type: string;
|
|
3564
|
+
minimum: number;
|
|
3565
|
+
};
|
|
3566
|
+
bottom: {
|
|
3567
|
+
type: string;
|
|
3568
|
+
minimum: number;
|
|
3569
|
+
};
|
|
3570
|
+
};
|
|
3571
|
+
};
|
|
3572
|
+
};
|
|
3573
|
+
};
|
|
3574
|
+
chartStackedLayout: {
|
|
3575
|
+
type: string;
|
|
3576
|
+
additionalProperties: boolean;
|
|
3577
|
+
properties: {
|
|
3578
|
+
legendColumns: {
|
|
3579
|
+
type: string;
|
|
3580
|
+
minimum: number;
|
|
3581
|
+
};
|
|
3582
|
+
legendColumnGap: {
|
|
3583
|
+
type: string;
|
|
3584
|
+
minimum: number;
|
|
3585
|
+
};
|
|
3586
|
+
segmentGap: {
|
|
3587
|
+
type: string;
|
|
3588
|
+
minimum: number;
|
|
3589
|
+
};
|
|
3590
|
+
barThickness: {
|
|
3591
|
+
$ref: string;
|
|
3592
|
+
};
|
|
3593
|
+
barWidth: {
|
|
3594
|
+
$ref: string;
|
|
3595
|
+
};
|
|
3596
|
+
legendMarkSize: {
|
|
3597
|
+
$ref: string;
|
|
3598
|
+
};
|
|
3599
|
+
legendFontSize: {
|
|
3600
|
+
$ref: string;
|
|
3601
|
+
};
|
|
3602
|
+
periodFontSize: {
|
|
3603
|
+
$ref: string;
|
|
3604
|
+
};
|
|
3605
|
+
rateFontSize: {
|
|
3606
|
+
$ref: string;
|
|
3607
|
+
};
|
|
3608
|
+
legendOffsetY: {
|
|
3609
|
+
type: string;
|
|
3610
|
+
};
|
|
3611
|
+
};
|
|
3612
|
+
};
|
|
3613
|
+
chartGaugeSize: {
|
|
3614
|
+
type: string;
|
|
3615
|
+
additionalProperties: boolean;
|
|
3616
|
+
properties: {
|
|
3617
|
+
arcThickness: {
|
|
3618
|
+
$ref: string;
|
|
3619
|
+
};
|
|
3620
|
+
outerRadius: {
|
|
3621
|
+
$ref: string;
|
|
3622
|
+
};
|
|
3623
|
+
plotTop: {
|
|
3624
|
+
type: string;
|
|
3625
|
+
minimum: number;
|
|
3626
|
+
};
|
|
3627
|
+
valueFontSize: {
|
|
3628
|
+
$ref: string;
|
|
3629
|
+
};
|
|
3630
|
+
};
|
|
3631
|
+
};
|
|
3632
|
+
ganttSize: {
|
|
3633
|
+
type: string;
|
|
3634
|
+
additionalProperties: boolean;
|
|
3635
|
+
properties: {
|
|
3636
|
+
taskLabelFontSize: {
|
|
3637
|
+
$ref: string;
|
|
3638
|
+
};
|
|
3639
|
+
taskLabelAlign: {
|
|
3640
|
+
type: string;
|
|
3641
|
+
enum: string[];
|
|
3642
|
+
};
|
|
3643
|
+
taskLabelX: {
|
|
3644
|
+
type: string;
|
|
3645
|
+
minimum: number;
|
|
3646
|
+
};
|
|
3647
|
+
tickFontSize: {
|
|
3648
|
+
$ref: string;
|
|
3649
|
+
};
|
|
3650
|
+
tickCount: {
|
|
3651
|
+
type: string;
|
|
3652
|
+
minimum: number;
|
|
3653
|
+
};
|
|
3654
|
+
barThickness: {
|
|
3655
|
+
$ref: string;
|
|
3656
|
+
};
|
|
3657
|
+
milestoneFontSize: {
|
|
3658
|
+
$ref: string;
|
|
3659
|
+
};
|
|
3660
|
+
milestoneRadius: {
|
|
3661
|
+
$ref: string;
|
|
3662
|
+
};
|
|
3663
|
+
dependencyStrokeWidth: {
|
|
3664
|
+
$ref: string;
|
|
3665
|
+
};
|
|
3666
|
+
taskColumnWidth: {
|
|
3667
|
+
type: string;
|
|
3668
|
+
minimum: number;
|
|
3669
|
+
};
|
|
3670
|
+
timelinePaddingRight: {
|
|
3671
|
+
type: string;
|
|
3672
|
+
minimum: number;
|
|
3673
|
+
};
|
|
3674
|
+
};
|
|
3675
|
+
};
|
|
3676
|
+
quadrantLabelPosition: {
|
|
3677
|
+
type: string;
|
|
3678
|
+
enum: string[];
|
|
3679
|
+
};
|
|
3680
|
+
quadrantSize: {
|
|
3681
|
+
type: string;
|
|
3682
|
+
additionalProperties: boolean;
|
|
3683
|
+
properties: {
|
|
3684
|
+
plotOffset: {
|
|
3685
|
+
type: string;
|
|
3686
|
+
additionalProperties: boolean;
|
|
3687
|
+
properties: {
|
|
3688
|
+
x: {
|
|
3689
|
+
type: string;
|
|
3690
|
+
minimum: number;
|
|
3691
|
+
};
|
|
3692
|
+
y: {
|
|
3693
|
+
type: string;
|
|
3694
|
+
minimum: number;
|
|
3695
|
+
};
|
|
3696
|
+
};
|
|
3697
|
+
};
|
|
3698
|
+
plotSize: {
|
|
3699
|
+
$ref: string;
|
|
3700
|
+
};
|
|
3701
|
+
pointRadius: {
|
|
3702
|
+
$ref: string;
|
|
3703
|
+
};
|
|
3704
|
+
pointFontSize: {
|
|
3705
|
+
$ref: string;
|
|
3706
|
+
};
|
|
3707
|
+
pointLabelGap: {
|
|
3708
|
+
type: string;
|
|
3709
|
+
minimum: number;
|
|
3710
|
+
};
|
|
3711
|
+
quadrantFontSize: {
|
|
3712
|
+
$ref: string;
|
|
3713
|
+
};
|
|
3714
|
+
axisFontSize: {
|
|
3715
|
+
$ref: string;
|
|
3716
|
+
};
|
|
3717
|
+
};
|
|
3718
|
+
};
|
|
3719
|
+
eyebrow: {
|
|
3720
|
+
type: string;
|
|
3721
|
+
description: string;
|
|
3722
|
+
};
|
|
3723
|
+
axes: {
|
|
3724
|
+
type: string;
|
|
3725
|
+
additionalProperties: boolean;
|
|
3726
|
+
description: string;
|
|
3727
|
+
properties: {
|
|
3728
|
+
x: {
|
|
3729
|
+
type: string;
|
|
3730
|
+
additionalProperties: boolean;
|
|
3731
|
+
properties: {
|
|
3732
|
+
left: {
|
|
3733
|
+
type: string;
|
|
3734
|
+
};
|
|
3735
|
+
right: {
|
|
3736
|
+
type: string;
|
|
3737
|
+
};
|
|
3738
|
+
label: {
|
|
3739
|
+
type: string;
|
|
3740
|
+
};
|
|
3741
|
+
direction: {
|
|
3742
|
+
type: string;
|
|
3743
|
+
enum: boolean[];
|
|
3744
|
+
};
|
|
3745
|
+
};
|
|
3746
|
+
};
|
|
3747
|
+
y: {
|
|
3748
|
+
type: string;
|
|
3749
|
+
additionalProperties: boolean;
|
|
3750
|
+
properties: {
|
|
3751
|
+
bottom: {
|
|
3752
|
+
type: string;
|
|
3753
|
+
};
|
|
3754
|
+
top: {
|
|
3755
|
+
type: string;
|
|
3756
|
+
};
|
|
3757
|
+
label: {
|
|
3758
|
+
type: string;
|
|
3759
|
+
};
|
|
3760
|
+
direction: {
|
|
3761
|
+
type: string;
|
|
3762
|
+
enum: boolean[];
|
|
3763
|
+
};
|
|
3764
|
+
};
|
|
3765
|
+
};
|
|
3766
|
+
};
|
|
3767
|
+
};
|
|
3768
|
+
regions: {
|
|
3769
|
+
type: string;
|
|
3770
|
+
additionalProperties: boolean;
|
|
3771
|
+
description: string;
|
|
3772
|
+
properties: {
|
|
3773
|
+
左上: {
|
|
3774
|
+
type: string;
|
|
3775
|
+
};
|
|
3776
|
+
右上: {
|
|
3777
|
+
type: string;
|
|
3778
|
+
};
|
|
3779
|
+
左下: {
|
|
3780
|
+
type: string;
|
|
3781
|
+
};
|
|
3782
|
+
右下: {
|
|
3783
|
+
type: string;
|
|
3784
|
+
};
|
|
3785
|
+
};
|
|
3786
|
+
};
|
|
3787
|
+
actors: {
|
|
3788
|
+
type: string;
|
|
3789
|
+
minItems: number;
|
|
3790
|
+
description: string;
|
|
3791
|
+
items: {
|
|
3792
|
+
oneOf: ({
|
|
3793
|
+
type: string;
|
|
2151
3794
|
description: string;
|
|
2152
3795
|
required?: undefined;
|
|
2153
3796
|
additionalProperties?: undefined;
|
|
@@ -2162,12 +3805,122 @@ declare const diagramJsonSchema: {
|
|
|
2162
3805
|
minLength: number;
|
|
2163
3806
|
description: string;
|
|
2164
3807
|
};
|
|
2165
|
-
kind: {
|
|
3808
|
+
kind: {
|
|
3809
|
+
type: string;
|
|
3810
|
+
description: string;
|
|
3811
|
+
};
|
|
3812
|
+
subtitle: {
|
|
3813
|
+
type: string;
|
|
3814
|
+
description: string;
|
|
3815
|
+
};
|
|
3816
|
+
kindForm: {
|
|
3817
|
+
type: string;
|
|
3818
|
+
enum: string[];
|
|
3819
|
+
};
|
|
3820
|
+
icon: {
|
|
3821
|
+
type: string;
|
|
3822
|
+
enum: string[];
|
|
3823
|
+
};
|
|
3824
|
+
emptyRowsNote: {
|
|
3825
|
+
type: string;
|
|
3826
|
+
};
|
|
3827
|
+
titleAlign: {
|
|
3828
|
+
type: string;
|
|
3829
|
+
enum: string[];
|
|
3830
|
+
};
|
|
3831
|
+
rowRules: {
|
|
3832
|
+
type: string;
|
|
3833
|
+
};
|
|
3834
|
+
rowStripe: {
|
|
3835
|
+
type: string;
|
|
3836
|
+
};
|
|
3837
|
+
rowLayout: {
|
|
3838
|
+
type: string;
|
|
3839
|
+
additionalProperties: boolean;
|
|
3840
|
+
properties: {
|
|
3841
|
+
titleBaseline: {
|
|
3842
|
+
type: string;
|
|
3843
|
+
minimum: number;
|
|
3844
|
+
};
|
|
3845
|
+
rowTop: {
|
|
3846
|
+
type: string;
|
|
3847
|
+
minimum: number;
|
|
3848
|
+
};
|
|
3849
|
+
rowPitch: {
|
|
3850
|
+
type: string;
|
|
3851
|
+
exclusiveMinimum: number;
|
|
3852
|
+
};
|
|
3853
|
+
};
|
|
3854
|
+
};
|
|
3855
|
+
rowDividerForm: {
|
|
3856
|
+
type: string;
|
|
3857
|
+
enum: string[];
|
|
3858
|
+
};
|
|
3859
|
+
rowWell: {
|
|
3860
|
+
type: string;
|
|
3861
|
+
additionalProperties: boolean;
|
|
3862
|
+
properties: {
|
|
3863
|
+
top: {
|
|
3864
|
+
type: string;
|
|
3865
|
+
minimum: number;
|
|
3866
|
+
};
|
|
3867
|
+
right: {
|
|
3868
|
+
type: string;
|
|
3869
|
+
minimum: number;
|
|
3870
|
+
};
|
|
3871
|
+
bottom: {
|
|
3872
|
+
type: string;
|
|
3873
|
+
minimum: number;
|
|
3874
|
+
};
|
|
3875
|
+
left: {
|
|
3876
|
+
type: string;
|
|
3877
|
+
minimum: number;
|
|
3878
|
+
};
|
|
3879
|
+
radius: {
|
|
3880
|
+
type: string;
|
|
3881
|
+
minimum: number;
|
|
3882
|
+
};
|
|
3883
|
+
};
|
|
3884
|
+
};
|
|
3885
|
+
rowMarkForm: {
|
|
3886
|
+
type: string;
|
|
3887
|
+
enum: string[];
|
|
3888
|
+
};
|
|
3889
|
+
nestIn: {
|
|
3890
|
+
type: string;
|
|
3891
|
+
minLength: number;
|
|
3892
|
+
};
|
|
3893
|
+
figureCard: {
|
|
3894
|
+
type: string;
|
|
3895
|
+
additionalProperties: boolean;
|
|
3896
|
+
required: string[];
|
|
3897
|
+
properties: {
|
|
3898
|
+
label: {
|
|
3899
|
+
type: string;
|
|
3900
|
+
};
|
|
3901
|
+
note: {
|
|
3902
|
+
type: string;
|
|
3903
|
+
};
|
|
3904
|
+
};
|
|
3905
|
+
};
|
|
3906
|
+
stationNamePosition: {
|
|
3907
|
+
type: string;
|
|
3908
|
+
enum: string[];
|
|
3909
|
+
description: string;
|
|
3910
|
+
};
|
|
3911
|
+
subtitlePlacement: {
|
|
2166
3912
|
type: string;
|
|
3913
|
+
enum: string[];
|
|
2167
3914
|
description: string;
|
|
2168
3915
|
};
|
|
2169
|
-
|
|
3916
|
+
titleFontSize: {
|
|
3917
|
+
type: string;
|
|
3918
|
+
exclusiveMinimum: number;
|
|
3919
|
+
description: string;
|
|
3920
|
+
};
|
|
3921
|
+
markGap: {
|
|
2170
3922
|
type: string;
|
|
3923
|
+
exclusiveMinimum: number;
|
|
2171
3924
|
description: string;
|
|
2172
3925
|
};
|
|
2173
3926
|
eyebrow: {
|
|
@@ -2192,10 +3945,34 @@ declare const diagramJsonSchema: {
|
|
|
2192
3945
|
marks: {
|
|
2193
3946
|
type: string;
|
|
2194
3947
|
items: {
|
|
2195
|
-
|
|
3948
|
+
oneOf: ({
|
|
3949
|
+
type: string;
|
|
3950
|
+
additionalProperties?: undefined;
|
|
3951
|
+
required?: undefined;
|
|
3952
|
+
properties?: undefined;
|
|
3953
|
+
} | {
|
|
3954
|
+
type: string;
|
|
3955
|
+
additionalProperties: boolean;
|
|
3956
|
+
required: string[];
|
|
3957
|
+
properties: {
|
|
3958
|
+
mark: {
|
|
3959
|
+
type: string;
|
|
3960
|
+
};
|
|
3961
|
+
tone: {
|
|
3962
|
+
type: string;
|
|
3963
|
+
enum: string[];
|
|
3964
|
+
};
|
|
3965
|
+
};
|
|
3966
|
+
})[];
|
|
2196
3967
|
};
|
|
2197
3968
|
description: string;
|
|
2198
3969
|
};
|
|
3970
|
+
stage: {
|
|
3971
|
+
type: string;
|
|
3972
|
+
minLength: number;
|
|
3973
|
+
pattern: string;
|
|
3974
|
+
description: string;
|
|
3975
|
+
};
|
|
2199
3976
|
lane: {
|
|
2200
3977
|
type: string;
|
|
2201
3978
|
description: string;
|
|
@@ -2244,6 +4021,37 @@ declare const diagramJsonSchema: {
|
|
|
2244
4021
|
type: string;
|
|
2245
4022
|
description: string;
|
|
2246
4023
|
};
|
|
4024
|
+
startLabel: {
|
|
4025
|
+
type: string;
|
|
4026
|
+
description: string;
|
|
4027
|
+
};
|
|
4028
|
+
milestone: {
|
|
4029
|
+
type: string;
|
|
4030
|
+
description: string;
|
|
4031
|
+
};
|
|
4032
|
+
emphasis: {
|
|
4033
|
+
type: string;
|
|
4034
|
+
enum: string[];
|
|
4035
|
+
description: string;
|
|
4036
|
+
};
|
|
4037
|
+
at: {
|
|
4038
|
+
type: string;
|
|
4039
|
+
minItems: number;
|
|
4040
|
+
maxItems: number;
|
|
4041
|
+
items: {
|
|
4042
|
+
type: string[];
|
|
4043
|
+
};
|
|
4044
|
+
description: string;
|
|
4045
|
+
};
|
|
4046
|
+
点の位置: {
|
|
4047
|
+
type: string;
|
|
4048
|
+
minItems: number;
|
|
4049
|
+
maxItems: number;
|
|
4050
|
+
items: {
|
|
4051
|
+
type: string[];
|
|
4052
|
+
};
|
|
4053
|
+
description: string;
|
|
4054
|
+
};
|
|
2247
4055
|
touchpoint: {
|
|
2248
4056
|
type: string;
|
|
2249
4057
|
description: string;
|
|
@@ -2252,6 +4060,11 @@ declare const diagramJsonSchema: {
|
|
|
2252
4060
|
type: string;
|
|
2253
4061
|
description: string;
|
|
2254
4062
|
};
|
|
4063
|
+
opportunityPosition: {
|
|
4064
|
+
type: string;
|
|
4065
|
+
enum: string[];
|
|
4066
|
+
description: string;
|
|
4067
|
+
};
|
|
2255
4068
|
posX: {
|
|
2256
4069
|
type: string;
|
|
2257
4070
|
description: string;
|
|
@@ -2488,6 +4301,16 @@ declare const diagramJsonSchema: {
|
|
|
2488
4301
|
enum: string[];
|
|
2489
4302
|
description: string;
|
|
2490
4303
|
};
|
|
4304
|
+
fromSide: {
|
|
4305
|
+
type: string;
|
|
4306
|
+
enum: string[];
|
|
4307
|
+
description: string;
|
|
4308
|
+
};
|
|
4309
|
+
toSide: {
|
|
4310
|
+
type: string;
|
|
4311
|
+
enum: string[];
|
|
4312
|
+
description: string;
|
|
4313
|
+
};
|
|
2491
4314
|
head: {
|
|
2492
4315
|
type: string;
|
|
2493
4316
|
enum: string[];
|
|
@@ -2535,6 +4358,57 @@ declare const diagramJsonSchema: {
|
|
|
2535
4358
|
type: string;
|
|
2536
4359
|
description: string;
|
|
2537
4360
|
};
|
|
4361
|
+
posX1: {
|
|
4362
|
+
type: string;
|
|
4363
|
+
description: string;
|
|
4364
|
+
};
|
|
4365
|
+
posY1: {
|
|
4366
|
+
type: string;
|
|
4367
|
+
description: string;
|
|
4368
|
+
};
|
|
4369
|
+
posX2: {
|
|
4370
|
+
type: string;
|
|
4371
|
+
description: string;
|
|
4372
|
+
};
|
|
4373
|
+
posY2: {
|
|
4374
|
+
type: string;
|
|
4375
|
+
description: string;
|
|
4376
|
+
};
|
|
4377
|
+
waypoints: {
|
|
4378
|
+
type: string;
|
|
4379
|
+
items: {
|
|
4380
|
+
type: string;
|
|
4381
|
+
additionalProperties: boolean;
|
|
4382
|
+
required: string[];
|
|
4383
|
+
properties: {
|
|
4384
|
+
x: {
|
|
4385
|
+
type: string;
|
|
4386
|
+
};
|
|
4387
|
+
y: {
|
|
4388
|
+
type: string;
|
|
4389
|
+
};
|
|
4390
|
+
};
|
|
4391
|
+
};
|
|
4392
|
+
};
|
|
4393
|
+
labelCollision: {
|
|
4394
|
+
type: string;
|
|
4395
|
+
enum: string[];
|
|
4396
|
+
};
|
|
4397
|
+
labelSize: {
|
|
4398
|
+
type: string;
|
|
4399
|
+
additionalProperties: boolean;
|
|
4400
|
+
properties: {
|
|
4401
|
+
width: {
|
|
4402
|
+
$ref: string;
|
|
4403
|
+
};
|
|
4404
|
+
height: {
|
|
4405
|
+
$ref: string;
|
|
4406
|
+
};
|
|
4407
|
+
fontSize: {
|
|
4408
|
+
$ref: string;
|
|
4409
|
+
};
|
|
4410
|
+
};
|
|
4411
|
+
};
|
|
2538
4412
|
overlay: {
|
|
2539
4413
|
type: string;
|
|
2540
4414
|
description: string;
|
|
@@ -2646,6 +4520,10 @@ declare const diagramJsonSchema: {
|
|
|
2646
4520
|
type: string;
|
|
2647
4521
|
description: string;
|
|
2648
4522
|
};
|
|
4523
|
+
description: {
|
|
4524
|
+
type: string;
|
|
4525
|
+
description: string;
|
|
4526
|
+
};
|
|
2649
4527
|
badge: {
|
|
2650
4528
|
type: string;
|
|
2651
4529
|
description: string;
|
|
@@ -2702,6 +4580,9 @@ declare const diagramJsonSchema: {
|
|
|
2702
4580
|
type: string;
|
|
2703
4581
|
minimum: number;
|
|
2704
4582
|
};
|
|
4583
|
+
contentOffsetX: {
|
|
4584
|
+
type: string;
|
|
4585
|
+
};
|
|
2705
4586
|
laneWidth: {
|
|
2706
4587
|
type: string;
|
|
2707
4588
|
minimum: number;
|
|
@@ -2745,6 +4626,9 @@ declare const diagramJsonSchema: {
|
|
|
2745
4626
|
label: {
|
|
2746
4627
|
type: string;
|
|
2747
4628
|
};
|
|
4629
|
+
subtitle: {
|
|
4630
|
+
type: string;
|
|
4631
|
+
};
|
|
2748
4632
|
contain: {
|
|
2749
4633
|
type: string;
|
|
2750
4634
|
};
|
|
@@ -3363,11 +5247,163 @@ declare const diagramJsonSchema: {
|
|
|
3363
5247
|
enum: string[];
|
|
3364
5248
|
description: string;
|
|
3365
5249
|
};
|
|
5250
|
+
shape: {
|
|
5251
|
+
type: string;
|
|
5252
|
+
enum: string[];
|
|
5253
|
+
description: string;
|
|
5254
|
+
};
|
|
5255
|
+
order: {
|
|
5256
|
+
type: string;
|
|
5257
|
+
enum: string[];
|
|
5258
|
+
description: string;
|
|
5259
|
+
};
|
|
5260
|
+
theme: {
|
|
5261
|
+
type: string;
|
|
5262
|
+
enum: string[];
|
|
5263
|
+
description: string;
|
|
5264
|
+
};
|
|
3366
5265
|
palette: {
|
|
3367
5266
|
type: string;
|
|
3368
5267
|
enum: string[];
|
|
3369
5268
|
description: string;
|
|
3370
5269
|
};
|
|
5270
|
+
legend: {
|
|
5271
|
+
type: string;
|
|
5272
|
+
description: string;
|
|
5273
|
+
items: {
|
|
5274
|
+
type: string;
|
|
5275
|
+
additionalProperties: boolean;
|
|
5276
|
+
required: string[];
|
|
5277
|
+
properties: {
|
|
5278
|
+
mark: {
|
|
5279
|
+
type: string;
|
|
5280
|
+
enum: string[];
|
|
5281
|
+
};
|
|
5282
|
+
text: {
|
|
5283
|
+
type: string;
|
|
5284
|
+
minLength: number;
|
|
5285
|
+
};
|
|
5286
|
+
tone: {
|
|
5287
|
+
type: string;
|
|
5288
|
+
};
|
|
5289
|
+
lineStyle: {
|
|
5290
|
+
type: string;
|
|
5291
|
+
enum: string[];
|
|
5292
|
+
};
|
|
5293
|
+
align: {
|
|
5294
|
+
type: string;
|
|
5295
|
+
enum: string[];
|
|
5296
|
+
};
|
|
5297
|
+
lead: {
|
|
5298
|
+
type: string;
|
|
5299
|
+
};
|
|
5300
|
+
};
|
|
5301
|
+
oneOf: ({
|
|
5302
|
+
required: string[];
|
|
5303
|
+
not: {
|
|
5304
|
+
anyOf: {
|
|
5305
|
+
required: string[];
|
|
5306
|
+
}[];
|
|
5307
|
+
required?: undefined;
|
|
5308
|
+
};
|
|
5309
|
+
allOf?: undefined;
|
|
5310
|
+
} | {
|
|
5311
|
+
not: {
|
|
5312
|
+
required: string[];
|
|
5313
|
+
anyOf?: undefined;
|
|
5314
|
+
};
|
|
5315
|
+
allOf: {
|
|
5316
|
+
not: {
|
|
5317
|
+
required: string[];
|
|
5318
|
+
};
|
|
5319
|
+
}[];
|
|
5320
|
+
required?: undefined;
|
|
5321
|
+
})[];
|
|
5322
|
+
};
|
|
5323
|
+
};
|
|
5324
|
+
legendFontSize: {
|
|
5325
|
+
type: string;
|
|
5326
|
+
exclusiveMinimum: number;
|
|
5327
|
+
description: string;
|
|
5328
|
+
};
|
|
5329
|
+
edgeEndGap: {
|
|
5330
|
+
type: string;
|
|
5331
|
+
minimum: number;
|
|
5332
|
+
description: string;
|
|
5333
|
+
};
|
|
5334
|
+
legendOffset: {
|
|
5335
|
+
type: string;
|
|
5336
|
+
additionalProperties: boolean;
|
|
5337
|
+
properties: {
|
|
5338
|
+
x: {
|
|
5339
|
+
type: string;
|
|
5340
|
+
};
|
|
5341
|
+
y: {
|
|
5342
|
+
type: string;
|
|
5343
|
+
};
|
|
5344
|
+
};
|
|
5345
|
+
};
|
|
5346
|
+
stageHeader: {
|
|
5347
|
+
type: string;
|
|
5348
|
+
description: string;
|
|
5349
|
+
additionalProperties: boolean;
|
|
5350
|
+
required: string[];
|
|
5351
|
+
properties: {
|
|
5352
|
+
leftPad: {
|
|
5353
|
+
type: string;
|
|
5354
|
+
minimum: number;
|
|
5355
|
+
};
|
|
5356
|
+
topPad: {
|
|
5357
|
+
type: string;
|
|
5358
|
+
minimum: number;
|
|
5359
|
+
};
|
|
5360
|
+
numberSize: {
|
|
5361
|
+
type: string;
|
|
5362
|
+
exclusiveMinimum: number;
|
|
5363
|
+
};
|
|
5364
|
+
gap: {
|
|
5365
|
+
type: string;
|
|
5366
|
+
minimum: number;
|
|
5367
|
+
};
|
|
5368
|
+
nameSize: {
|
|
5369
|
+
type: string;
|
|
5370
|
+
exclusiveMinimum: number;
|
|
5371
|
+
};
|
|
5372
|
+
bottomPad: {
|
|
5373
|
+
type: string;
|
|
5374
|
+
minimum: number;
|
|
5375
|
+
};
|
|
5376
|
+
};
|
|
5377
|
+
};
|
|
5378
|
+
stageLayout: {
|
|
5379
|
+
type: string;
|
|
5380
|
+
additionalProperties: boolean;
|
|
5381
|
+
properties: {
|
|
5382
|
+
columnWidths: {
|
|
5383
|
+
type: string;
|
|
5384
|
+
additionalProperties: {
|
|
5385
|
+
type: string;
|
|
5386
|
+
minimum: number;
|
|
5387
|
+
};
|
|
5388
|
+
};
|
|
5389
|
+
columnGap: {
|
|
5390
|
+
type: string;
|
|
5391
|
+
minimum: number;
|
|
5392
|
+
};
|
|
5393
|
+
backDetourTopGap: {
|
|
5394
|
+
type: string;
|
|
5395
|
+
minimum: number;
|
|
5396
|
+
};
|
|
5397
|
+
backDetourSideGap: {
|
|
5398
|
+
type: string;
|
|
5399
|
+
minimum: number;
|
|
5400
|
+
};
|
|
5401
|
+
backDetourTargetInset: {
|
|
5402
|
+
type: string;
|
|
5403
|
+
minimum: number;
|
|
5404
|
+
};
|
|
5405
|
+
};
|
|
5406
|
+
};
|
|
3371
5407
|
reveal: {
|
|
3372
5408
|
type: string;
|
|
3373
5409
|
enum: string[];
|
|
@@ -3527,4 +5563,4 @@ interface CompileOpts {
|
|
|
3527
5563
|
*/
|
|
3528
5564
|
declare function textDslToDiagram(src: string, opts?: CompileOpts): CdlDiagram;
|
|
3529
5565
|
|
|
3530
|
-
export { type AnchorBox, type CompileNotice, type CompileOpts, DIAGRAM_BOUNDARY_PADDING, DIRECTION_ALIAS, 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 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, partsBaseBottom, partsGridCenters, pointsOutside, rectsOverlap, resolveRelativePos, stripExternalPaint, stripQuotes, textDslToDiagram, validateDragonJson, writeActorPosition, type トークン, type トークンの種類, 区間に広げる, 書いた場所の鍵, type 書いた行の表, 記法を分解する, 部品に上書きを当てる };
|
|
5566
|
+
export { ALL_DIAGRAM_SHAPES, type AnchorBox, type CompileNotice, type CompileOpts, DIAGRAM_BOUNDARY_PADDING, DIAGRAM_SHAPES, DIRECTION_ALIAS, DRAW_TARGETS, DRAW_WORDS, type DiagramBoundingBox, type DragonJson, type DslActor, type DslAnimate, type DslDiagramShape, type DslDocument, type DslError, type DslGroup, type DslLane, type DslPhase, type DslSet, type DslShape, type DslState, type DslStep, type DslSwimlaneShape, type DslTheme, type DslTween, type DslValue, type DslViewport, type FocusEntry, type InputSize, JSONを分解する, type JsonActor, type JsonAxes, type JsonDslError, type JsonPhase, type JsonStep, LEGEND_MARK_ALIAS, 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, ORDERS, ORDER_ALIAS, PHASE_ITEM_WORDS, PRESET_TYPES, type PresetType, RELATIVE_GAP_DEFAULT, type RelativeDirection, type RelativePos, SHAPES, SWIMLANE_SHAPES, THEMES, THEME_ALIAS, TONE_ALIAS, TOP_LEVEL_KEYS, TYPE_ALIASES, 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, partsBaseBottom, partsGridCenters, pointsOutside, rectsOverlap, resolveLegendMark, resolveRelativePos, resolveTheme, stripExternalPaint, stripQuotes, textDslToDiagram, validateDragonJson, writeActorPosition, type トークン, type トークンの種類, 区間に広げる, 意匠の円の区画の間, 意匠の字の測り方, 意匠の棒の角, 書いた場所の鍵, type 書いた行の表, 棒を描く節か, 測るために受け取った知らせの数, 行頭の語, 記法を分解する, 部品に上書きを当てる };
|