schematex 0.8.2 → 0.8.3
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/dist/ai/ai-sdk.cjs +6 -6
- package/dist/ai/ai-sdk.d.cts +1 -1
- package/dist/ai/ai-sdk.d.ts +1 -1
- package/dist/ai/ai-sdk.js +1 -1
- package/dist/ai/index.cjs +12 -12
- package/dist/ai/index.d.cts +1 -1
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.js +1 -1
- package/dist/{chunk-HWNVSNDJ.cjs → chunk-FQ4JUNTE.cjs} +156 -12
- package/dist/chunk-FQ4JUNTE.cjs.map +1 -0
- package/dist/{chunk-FLDHD4RM.js → chunk-S7GR77NY.js} +156 -12
- package/dist/chunk-S7GR77NY.js.map +1 -0
- package/dist/{tools-CVgUmiGP.d.cts → tools-CjW8usJE.d.cts} +17 -0
- package/dist/{tools-CbBjmZVr.d.ts → tools-bqQ92FwC.d.ts} +17 -0
- package/package.json +1 -1
- package/dist/chunk-FLDHD4RM.js.map +0 -1
- package/dist/chunk-HWNVSNDJ.cjs.map +0 -1
package/dist/ai/ai-sdk.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFQ4JUNTE_cjs = require('../chunk-FQ4JUNTE.cjs');
|
|
4
4
|
require('../chunk-UGB42BGK.cjs');
|
|
5
5
|
require('../chunk-Q2YRJHFB.cjs');
|
|
6
6
|
require('../chunk-JIJWGHRN.cjs');
|
|
@@ -31,7 +31,7 @@ var schematexTools = {
|
|
|
31
31
|
listDiagrams: ai.tool({
|
|
32
32
|
description: "List every Schematex diagram type with a tagline, 'use when' hint, domain cluster, and authoritative standard. Call this first to discover what's available.",
|
|
33
33
|
inputSchema: zod.z.object({}),
|
|
34
|
-
execute: async () =>
|
|
34
|
+
execute: async () => chunkFQ4JUNTE_cjs.listDiagrams()
|
|
35
35
|
}),
|
|
36
36
|
getSyntax: ai.tool({
|
|
37
37
|
description: "Return syntax for one diagram type. Default `detail: canonical` is the compact first-shot generation path: canonical header, preferred forms, rules, and repair checks. Request `detail: reference` only for advanced forms or imported adapters after choosing a type.",
|
|
@@ -46,7 +46,7 @@ var schematexTools = {
|
|
|
46
46
|
execute: async ({
|
|
47
47
|
type,
|
|
48
48
|
detail
|
|
49
|
-
}) =>
|
|
49
|
+
}) => chunkFQ4JUNTE_cjs.getSyntax(type, { detail })
|
|
50
50
|
}),
|
|
51
51
|
getExamples: ai.tool({
|
|
52
52
|
description: "Return curated real-world DSL examples for a diagram type, each with scenario notes and tags. Use as few-shot context before generating DSL.",
|
|
@@ -56,7 +56,7 @@ var schematexTools = {
|
|
|
56
56
|
preferFeatured: zod.z.boolean().optional().describe("Rank featured examples first."),
|
|
57
57
|
maxComplexity: zod.z.number().int().min(1).max(5).optional().describe("Only return examples with complexity <= this value (1=simplest).")
|
|
58
58
|
}),
|
|
59
|
-
execute: async (args) =>
|
|
59
|
+
execute: async (args) => chunkFQ4JUNTE_cjs.getExamples(args.type, {
|
|
60
60
|
limit: args.limit,
|
|
61
61
|
preferFeatured: args.preferFeatured,
|
|
62
62
|
maxComplexity: args.maxComplexity
|
|
@@ -70,7 +70,7 @@ var schematexTools = {
|
|
|
70
70
|
),
|
|
71
71
|
dsl: zod.z.string().describe("The DSL source text to validate.")
|
|
72
72
|
}),
|
|
73
|
-
execute: async ({ type, dsl }) =>
|
|
73
|
+
execute: async ({ type, dsl }) => chunkFQ4JUNTE_cjs.validateDsl(type, dsl)
|
|
74
74
|
}),
|
|
75
75
|
renderDsl: ai.tool({
|
|
76
76
|
description: "Render Schematex DSL to an SVG string. Returns { ok: true, svg } or { ok: false, errors }. Use when the caller needs the actual diagram output, not just validation.",
|
|
@@ -85,7 +85,7 @@ var schematexTools = {
|
|
|
85
85
|
dsl,
|
|
86
86
|
theme,
|
|
87
87
|
padding
|
|
88
|
-
}) =>
|
|
88
|
+
}) => chunkFQ4JUNTE_cjs.renderDsl(type, dsl, { theme, padding })
|
|
89
89
|
})
|
|
90
90
|
};
|
|
91
91
|
|
package/dist/ai/ai-sdk.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
|
-
import { c as DiagramListItem, g as GetSyntaxResult, e as GetExamplesResult, V as ValidateDslResult, R as RenderDslResult } from '../tools-
|
|
2
|
+
import { c as DiagramListItem, g as GetSyntaxResult, e as GetExamplesResult, V as ValidateDslResult, R as RenderDslResult } from '../tools-CjW8usJE.cjs';
|
|
3
3
|
import '../api-BDMaX1cT.cjs';
|
|
4
4
|
import '../diagnostics-hObcaaFC.cjs';
|
|
5
5
|
|
package/dist/ai/ai-sdk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
|
-
import { c as DiagramListItem, g as GetSyntaxResult, e as GetExamplesResult, V as ValidateDslResult, R as RenderDslResult } from '../tools-
|
|
2
|
+
import { c as DiagramListItem, g as GetSyntaxResult, e as GetExamplesResult, V as ValidateDslResult, R as RenderDslResult } from '../tools-bqQ92FwC.js';
|
|
3
3
|
import '../api-OED2jUVj.js';
|
|
4
4
|
import '../diagnostics-hObcaaFC.js';
|
|
5
5
|
|
package/dist/ai/ai-sdk.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { renderDsl, validateDsl, getExamples, getSyntax, listDiagrams } from '../chunk-
|
|
1
|
+
import { renderDsl, validateDsl, getExamples, getSyntax, listDiagrams } from '../chunk-S7GR77NY.js';
|
|
2
2
|
import '../chunk-LM5X7ZNR.js';
|
|
3
3
|
import '../chunk-E3CAJGJM.js';
|
|
4
4
|
import '../chunk-T3GV7OVF.js';
|
package/dist/ai/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFQ4JUNTE_cjs = require('../chunk-FQ4JUNTE.cjs');
|
|
4
4
|
require('../chunk-UGB42BGK.cjs');
|
|
5
5
|
require('../chunk-Q2YRJHFB.cjs');
|
|
6
6
|
require('../chunk-JIJWGHRN.cjs');
|
|
@@ -29,47 +29,47 @@ require('../chunk-3WNW5Y7P.cjs');
|
|
|
29
29
|
|
|
30
30
|
Object.defineProperty(exports, "DIAGRAM_REGISTRY", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkFQ4JUNTE_cjs.DIAGRAM_REGISTRY; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "DIAGRAM_SINCE", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkFQ4JUNTE_cjs.DIAGRAM_SINCE; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "getAllDiagramTypes", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkFQ4JUNTE_cjs.getAllDiagramTypes; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "getDiagramMeta", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkFQ4JUNTE_cjs.getDiagramMeta; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "getDiagramSince", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkFQ4JUNTE_cjs.getDiagramSince; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "getExamples", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkFQ4JUNTE_cjs.getExamples; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "getSyntax", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkFQ4JUNTE_cjs.getSyntax; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "listDiagrams", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkFQ4JUNTE_cjs.listDiagrams; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "renderDsl", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkFQ4JUNTE_cjs.renderDsl; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "resolveDiagramType", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkFQ4JUNTE_cjs.resolveDiagramType; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "validateDsl", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkFQ4JUNTE_cjs.validateDsl; }
|
|
73
73
|
});
|
|
74
74
|
//# sourceMappingURL=index.cjs.map
|
|
75
75
|
//# sourceMappingURL=index.cjs.map
|
package/dist/ai/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DIAGRAM_REGISTRY, a as DIAGRAM_SINCE, b as DiagramCluster, c as DiagramListItem, d as DiagramMeta, E as Example, G as GetExamplesOptions, e as GetExamplesResult, f as GetSyntaxOptions, g as GetSyntaxResult, R as RenderDslResult, S as SchematexValidationError, h as SyntaxDetail, i as SyntaxDoc, V as ValidateDslResult, j as getAllDiagramTypes, k as getDiagramMeta, l as getDiagramSince, m as getExamples, n as getSyntax, o as listDiagrams, r as renderDsl, p as resolveDiagramType, v as validateDsl } from '../tools-
|
|
1
|
+
export { D as DIAGRAM_REGISTRY, a as DIAGRAM_SINCE, b as DiagramCluster, c as DiagramListItem, d as DiagramMeta, E as Example, G as GetExamplesOptions, e as GetExamplesResult, f as GetSyntaxOptions, g as GetSyntaxResult, R as RenderDslResult, S as SchematexValidationError, h as SyntaxDetail, i as SyntaxDoc, V as ValidateDslResult, j as getAllDiagramTypes, k as getDiagramMeta, l as getDiagramSince, m as getExamples, n as getSyntax, o as listDiagrams, r as renderDsl, p as resolveDiagramType, v as validateDsl } from '../tools-CjW8usJE.cjs';
|
|
2
2
|
import { a as DiagramType } from '../diagnostics-hObcaaFC.cjs';
|
|
3
3
|
import '../api-BDMaX1cT.cjs';
|
|
4
4
|
|
package/dist/ai/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DIAGRAM_REGISTRY, a as DIAGRAM_SINCE, b as DiagramCluster, c as DiagramListItem, d as DiagramMeta, E as Example, G as GetExamplesOptions, e as GetExamplesResult, f as GetSyntaxOptions, g as GetSyntaxResult, R as RenderDslResult, S as SchematexValidationError, h as SyntaxDetail, i as SyntaxDoc, V as ValidateDslResult, j as getAllDiagramTypes, k as getDiagramMeta, l as getDiagramSince, m as getExamples, n as getSyntax, o as listDiagrams, r as renderDsl, p as resolveDiagramType, v as validateDsl } from '../tools-
|
|
1
|
+
export { D as DIAGRAM_REGISTRY, a as DIAGRAM_SINCE, b as DiagramCluster, c as DiagramListItem, d as DiagramMeta, E as Example, G as GetExamplesOptions, e as GetExamplesResult, f as GetSyntaxOptions, g as GetSyntaxResult, R as RenderDslResult, S as SchematexValidationError, h as SyntaxDetail, i as SyntaxDoc, V as ValidateDslResult, j as getAllDiagramTypes, k as getDiagramMeta, l as getDiagramSince, m as getExamples, n as getSyntax, o as listDiagrams, r as renderDsl, p as resolveDiagramType, v as validateDsl } from '../tools-bqQ92FwC.js';
|
|
2
2
|
import { a as DiagramType } from '../diagnostics-hObcaaFC.js';
|
|
3
3
|
import '../api-OED2jUVj.js';
|
|
4
4
|
|
package/dist/ai/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DIAGRAM_REGISTRY, DIAGRAM_SINCE, getAllDiagramTypes, getDiagramMeta, getDiagramSince, getExamples, getSyntax, listDiagrams, renderDsl, resolveDiagramType, validateDsl } from '../chunk-
|
|
1
|
+
export { DIAGRAM_REGISTRY, DIAGRAM_SINCE, getAllDiagramTypes, getDiagramMeta, getDiagramSince, getExamples, getSyntax, listDiagrams, renderDsl, resolveDiagramType, validateDsl } from '../chunk-S7GR77NY.js';
|
|
2
2
|
import '../chunk-LM5X7ZNR.js';
|
|
3
3
|
import '../chunk-E3CAJGJM.js';
|
|
4
4
|
import '../chunk-T3GV7OVF.js';
|
|
@@ -349,7 +349,18 @@ var DIAGRAM_REGISTRY = [
|
|
|
349
349
|
useWhen: "Use to propagate the consequences of an initiating event through a chain of barriers/safety functions and quantify each outcome's frequency \u2014 the inductive complement to a fault tree and the right wing of a bowtie. Header `eventtree`/`eta`; declare the initiating event with a frequency, the ordered functions with success/failure branch probabilities, and outcome rows with `s`/`f`/`*` patterns. The engine computes path frequency = f_initiating \xD7 \u03A0 branch-probabilities and flags the dominant sequence.",
|
|
350
350
|
cluster: "risk-reliability",
|
|
351
351
|
standard: "IEC 62502:2010 \xB7 NUREG/CR-2300 (PRA) \xB7 ISO 31010 Annex B; see 39-EVENT-TREE-STANDARD.md",
|
|
352
|
-
syntaxKey: "eventtree"
|
|
352
|
+
syntaxKey: "eventtree",
|
|
353
|
+
aliases: ["Event Tree Analysis", "ETA diagram", "event tree", "\u4E8B\u4EF6\u6811\u5206\u6790"],
|
|
354
|
+
keywords: [
|
|
355
|
+
"probabilistic risk assessment",
|
|
356
|
+
"PRA",
|
|
357
|
+
"safety function",
|
|
358
|
+
"accident sequence",
|
|
359
|
+
"barrier analysis",
|
|
360
|
+
"consequence analysis",
|
|
361
|
+
"nuclear safety",
|
|
362
|
+
"IEC 62502"
|
|
363
|
+
]
|
|
353
364
|
},
|
|
354
365
|
{
|
|
355
366
|
type: "fmea",
|
|
@@ -358,7 +369,25 @@ var DIAGRAM_REGISTRY = [
|
|
|
358
369
|
useWhen: "Use to score and prioritise how each component/process step can fail \u2014 severity, occurrence, detection \u2014 and decide what to fix first. Header `fmea`; declare item/function \u2192 failure mode \u2192 effect (with `sev`) \u2192 cause (with `occ`) \u2192 controls (with `det`). The engine computes RPN = S\xD7O\xD7D and the AIAG-VDA Action Priority (High/Medium/Low), sorts the sheet, and colour-fills the RPN/AP cells by risk. Schematex's first table-shaped diagram.",
|
|
359
370
|
cluster: "risk-reliability",
|
|
360
371
|
standard: "AIAG-VDA FMEA Handbook (2019) \xB7 IEC 60812:2018 \xB7 SAE J1739 \xB7 MIL-STD-1629A; see 40-FMEA-STANDARD.md",
|
|
361
|
-
syntaxKey: "fmea"
|
|
372
|
+
syntaxKey: "fmea",
|
|
373
|
+
aliases: [
|
|
374
|
+
"FMEA",
|
|
375
|
+
"Failure Mode and Effects Analysis",
|
|
376
|
+
"FMECA",
|
|
377
|
+
"failure mode analysis",
|
|
378
|
+
"\u6545\u969C\u6A21\u5F0F\u4E0E\u5F71\u54CD\u5206\u6790"
|
|
379
|
+
],
|
|
380
|
+
keywords: [
|
|
381
|
+
"RPN",
|
|
382
|
+
"risk priority number",
|
|
383
|
+
"Action Priority",
|
|
384
|
+
"AIAG-VDA",
|
|
385
|
+
"DFMEA",
|
|
386
|
+
"PFMEA",
|
|
387
|
+
"severity occurrence detection",
|
|
388
|
+
"reliability engineering",
|
|
389
|
+
"IEC 60812"
|
|
390
|
+
]
|
|
362
391
|
},
|
|
363
392
|
// ── Systems thinking / stochastic ────────────────────────────
|
|
364
393
|
{
|
|
@@ -368,7 +397,23 @@ var DIAGRAM_REGISTRY = [
|
|
|
368
397
|
useWhen: 'Use for systems thinking / system dynamics: variables connected by `+`/`\u2212` causal links, where the engine detects feedback loops and labels each R (even number of negative links) or B (odd). Header `causalloop`/`cld`; write `A -> B : +` links and optional `loop R1 "name"` annotations and `delay` marks. Distinct from `sociogram` (social ties, no polarity) and `flowchart` (process steps).',
|
|
369
398
|
cluster: "causality-analysis",
|
|
370
399
|
standard: "Sterman, Business Dynamics (2000) \xB7 Meadows, Thinking in Systems; see 41-CAUSAL-LOOP-STANDARD.md",
|
|
371
|
-
syntaxKey: "causalloop"
|
|
400
|
+
syntaxKey: "causalloop",
|
|
401
|
+
aliases: [
|
|
402
|
+
"Causal Loop Diagram",
|
|
403
|
+
"CLD",
|
|
404
|
+
"feedback loop diagram",
|
|
405
|
+
"systems thinking diagram",
|
|
406
|
+
"\u56E0\u679C\u56DE\u8DEF\u56FE"
|
|
407
|
+
],
|
|
408
|
+
keywords: [
|
|
409
|
+
"system dynamics",
|
|
410
|
+
"reinforcing loop",
|
|
411
|
+
"balancing loop",
|
|
412
|
+
"feedback loop",
|
|
413
|
+
"stock and flow",
|
|
414
|
+
"Sterman",
|
|
415
|
+
"Meadows"
|
|
416
|
+
]
|
|
372
417
|
},
|
|
373
418
|
{
|
|
374
419
|
type: "markov",
|
|
@@ -377,7 +422,22 @@ var DIAGRAM_REGISTRY = [
|
|
|
377
422
|
useWhen: "Use to model a probabilistic state process (reliability/availability, queueing, regime models) where you want the long-run distribution or absorption answer, not just the picture. Header `markov`/`markovchain`; write `S1 -> S2 : 0.3` transitions (each state's out-edges sum to 1). The engine computes the stationary distribution, classifies states, and for absorbing chains the fundamental matrix. Sibling of `state` and `petri`.",
|
|
378
423
|
cluster: "behavior-modeling",
|
|
379
424
|
standard: "Norris, Markov Chains (1997) \xB7 Kemeny & Snell, Finite Markov Chains; see 42-MARKOV-CHAIN-STANDARD.md",
|
|
380
|
-
syntaxKey: "markov"
|
|
425
|
+
syntaxKey: "markov",
|
|
426
|
+
aliases: [
|
|
427
|
+
"Markov chain",
|
|
428
|
+
"Markov chain diagram",
|
|
429
|
+
"stochastic state transition diagram",
|
|
430
|
+
"\u9A6C\u5C14\u53EF\u592B\u94FE"
|
|
431
|
+
],
|
|
432
|
+
keywords: [
|
|
433
|
+
"stationary distribution",
|
|
434
|
+
"stochastic process",
|
|
435
|
+
"transition matrix",
|
|
436
|
+
"transition probability",
|
|
437
|
+
"absorbing state",
|
|
438
|
+
"steady state",
|
|
439
|
+
"discrete-time"
|
|
440
|
+
]
|
|
381
441
|
},
|
|
382
442
|
// ── Software / process engineering ───────────────────────────
|
|
383
443
|
{
|
|
@@ -387,7 +447,23 @@ var DIAGRAM_REGISTRY = [
|
|
|
387
447
|
useWhen: 'Use to visualise a git branching/merging history. Header `gitGraph`; ordered `commit`, `branch <name>`, `checkout <name>`, `merge <name>`, `cherry-pick id: "\u2026"`, with `commit id:/tag:/type: HIGHLIGHT|REVERSE`. Mermaid `gitGraph` syntax parity so LLM output is drop-in compatible. Commits sit on per-branch lanes ordered chronologically; merges join lanes.',
|
|
388
448
|
cluster: "software-uml",
|
|
389
449
|
standard: "Mermaid gitGraph syntax \xB7 git DAG model; see 43-GIT-GRAPH-STANDARD.md",
|
|
390
|
-
syntaxKey: "gitgraph"
|
|
450
|
+
syntaxKey: "gitgraph",
|
|
451
|
+
aliases: [
|
|
452
|
+
"Git commit graph",
|
|
453
|
+
"git graph",
|
|
454
|
+
"git branch diagram",
|
|
455
|
+
"branching diagram",
|
|
456
|
+
"Git \u63D0\u4EA4\u56FE"
|
|
457
|
+
],
|
|
458
|
+
keywords: [
|
|
459
|
+
"branching strategy",
|
|
460
|
+
"git history",
|
|
461
|
+
"merge",
|
|
462
|
+
"cherry-pick",
|
|
463
|
+
"GitFlow",
|
|
464
|
+
"Mermaid gitGraph",
|
|
465
|
+
"commit history"
|
|
466
|
+
]
|
|
391
467
|
},
|
|
392
468
|
{
|
|
393
469
|
type: "epc",
|
|
@@ -396,7 +472,22 @@ var DIAGRAM_REGISTRY = [
|
|
|
396
472
|
useWhen: "Use for ARIS-style business process modelling (SAP / enterprise BPM). Header `epc`; declare `event`, `function`, connectors `and`/`or`/`xor`, and the control flow between them. The engine validates strict event\u2194function alternation and connector legality (an event cannot be the source of an OR/XOR split). Distinct from `bpmn` and `flowchart` \u2014 a separate published standard with stricter rules.",
|
|
397
473
|
cluster: "corporate-legal",
|
|
398
474
|
standard: "ARIS / Keller, N\xFCttgens & Scheer (1992); see 44-EPC-STANDARD.md",
|
|
399
|
-
syntaxKey: "epc"
|
|
475
|
+
syntaxKey: "epc",
|
|
476
|
+
aliases: [
|
|
477
|
+
"Event-driven Process Chain",
|
|
478
|
+
"EPC diagram",
|
|
479
|
+
"ARIS EPC",
|
|
480
|
+
"\u4E8B\u4EF6\u9A71\u52A8\u8FC7\u7A0B\u94FE"
|
|
481
|
+
],
|
|
482
|
+
keywords: [
|
|
483
|
+
"ARIS",
|
|
484
|
+
"business process modeling",
|
|
485
|
+
"SAP",
|
|
486
|
+
"BPM",
|
|
487
|
+
"process chain",
|
|
488
|
+
"enterprise architecture",
|
|
489
|
+
"Scheer"
|
|
490
|
+
]
|
|
400
491
|
},
|
|
401
492
|
{
|
|
402
493
|
type: "idef0",
|
|
@@ -405,7 +496,23 @@ var DIAGRAM_REGISTRY = [
|
|
|
405
496
|
useWhen: "Use to model what a system/process does and its inputs/controls/outputs/mechanisms \u2014 systems engineering, defence/government process docs, enterprise architecture. Header `idef0`; declare `function` boxes and ICOM arrows (`input`/`control`/`output`/`mechanism`) plus box\u2192box flows that name the target ICOM side. The engine enforces ICOM placement and assigns node numbers, in a diagonal box staircase.",
|
|
406
497
|
cluster: "project-management",
|
|
407
498
|
standard: "FIPS PUB 183 (1993) \xB7 SADT (Ross); see 45-IDEF0-STANDARD.md",
|
|
408
|
-
syntaxKey: "idef0"
|
|
499
|
+
syntaxKey: "idef0",
|
|
500
|
+
aliases: [
|
|
501
|
+
"IDEF0",
|
|
502
|
+
"IDEF0 function model",
|
|
503
|
+
"SADT diagram",
|
|
504
|
+
"function model",
|
|
505
|
+
"ICOM diagram"
|
|
506
|
+
],
|
|
507
|
+
keywords: [
|
|
508
|
+
"functional modeling",
|
|
509
|
+
"FIPS 183",
|
|
510
|
+
"systems engineering",
|
|
511
|
+
"activity model",
|
|
512
|
+
"ICOM",
|
|
513
|
+
"process model",
|
|
514
|
+
"enterprise architecture"
|
|
515
|
+
]
|
|
409
516
|
},
|
|
410
517
|
{
|
|
411
518
|
type: "threatmodel",
|
|
@@ -414,7 +521,25 @@ var DIAGRAM_REGISTRY = [
|
|
|
414
521
|
useWhen: "Use for security threat modelling (Microsoft SDL / OWASP Threat Dragon workflow): DFD shapes (external entity, process, data store), labelled data flows, and `boundary` trust zones. Header `threatmodel`/`stride`. The engine maps each element type to its STRIDE categories (external = S,R; process = all six; store = T,I,D + conditional R for logs; flow = T,I,D) and accents flows crossing a trust boundary. Includes the DFD base notation (no separate `dfd` engine).",
|
|
415
522
|
cluster: "network-infrastructure",
|
|
416
523
|
standard: "Shostack, Threat Modeling (2014) STRIDE-per-element \xB7 Microsoft SDL \xB7 base DFD DeMarco/Yourdon; see 46-THREAT-MODEL-STRIDE-STANDARD.md + 31-DFD-STANDARD.md",
|
|
417
|
-
syntaxKey: "threatmodel"
|
|
524
|
+
syntaxKey: "threatmodel",
|
|
525
|
+
aliases: [
|
|
526
|
+
"Threat model",
|
|
527
|
+
"STRIDE diagram",
|
|
528
|
+
"DFD threat model",
|
|
529
|
+
"data flow diagram",
|
|
530
|
+
"DFD",
|
|
531
|
+
"\u5A01\u80C1\u5EFA\u6A21"
|
|
532
|
+
],
|
|
533
|
+
keywords: [
|
|
534
|
+
"STRIDE",
|
|
535
|
+
"security threat modeling",
|
|
536
|
+
"Microsoft SDL",
|
|
537
|
+
"OWASP Threat Dragon",
|
|
538
|
+
"trust boundary",
|
|
539
|
+
"attack surface",
|
|
540
|
+
"application security",
|
|
541
|
+
"Shostack"
|
|
542
|
+
]
|
|
418
543
|
},
|
|
419
544
|
{
|
|
420
545
|
type: "welding",
|
|
@@ -423,7 +548,24 @@ var DIAGRAM_REGISTRY = [
|
|
|
423
548
|
useWhen: 'Use to annotate a welded joint on an engineering drawing: a horizontal reference line, a leader arrow to the joint, and a weld-symbol glyph above (other side) / below (arrow side) with size, length-pitch, groove angle, root opening, contour + finish. Header `welding [standard: aws|iso-a|iso-b]`; one `joint "label" { arrow: \u2026 other: \u2026 around field tail: \u2026 }` block per joint. Full glyph catalog (fillet, all groove types, plug/slot, spot/seam, back/backing, surfacing, edge) + weld-all-around, field flag, and tail process note. Validates illegal type/side/dimension combinations.',
|
|
424
549
|
cluster: "electrical-industrial",
|
|
425
550
|
standard: "AWS A2.4:2020 \xB7 ISO 2553:2019; see 47-WELDING-SYMBOL-STANDARD.md",
|
|
426
|
-
syntaxKey: "welding"
|
|
551
|
+
syntaxKey: "welding",
|
|
552
|
+
aliases: [
|
|
553
|
+
"Welding symbols",
|
|
554
|
+
"weld symbol",
|
|
555
|
+
"welding callout",
|
|
556
|
+
"weld joint symbol",
|
|
557
|
+
"\u710A\u63A5\u7B26\u53F7"
|
|
558
|
+
],
|
|
559
|
+
keywords: [
|
|
560
|
+
"AWS A2.4",
|
|
561
|
+
"ISO 2553",
|
|
562
|
+
"fillet weld",
|
|
563
|
+
"groove weld",
|
|
564
|
+
"weld notation",
|
|
565
|
+
"engineering drawing",
|
|
566
|
+
"fabrication",
|
|
567
|
+
"weld dimensions"
|
|
568
|
+
]
|
|
427
569
|
}
|
|
428
570
|
];
|
|
429
571
|
var DIAGRAM_SINCE = {
|
|
@@ -4462,7 +4604,9 @@ function listDiagrams() {
|
|
|
4462
4604
|
tagline: d.tagline,
|
|
4463
4605
|
useWhen: d.useWhen,
|
|
4464
4606
|
cluster: d.cluster,
|
|
4465
|
-
standard: d.standard
|
|
4607
|
+
standard: d.standard,
|
|
4608
|
+
...d.aliases ? { aliases: d.aliases } : {},
|
|
4609
|
+
...d.keywords ? { keywords: d.keywords } : {}
|
|
4466
4610
|
}));
|
|
4467
4611
|
}
|
|
4468
4612
|
function getSyntax(type, opts = {}) {
|
|
@@ -4575,5 +4719,5 @@ exports.listDiagrams = listDiagrams;
|
|
|
4575
4719
|
exports.renderDsl = renderDsl;
|
|
4576
4720
|
exports.resolveDiagramType = resolveDiagramType;
|
|
4577
4721
|
exports.validateDsl = validateDsl;
|
|
4578
|
-
//# sourceMappingURL=chunk-
|
|
4579
|
-
//# sourceMappingURL=chunk-
|
|
4722
|
+
//# sourceMappingURL=chunk-FQ4JUNTE.cjs.map
|
|
4723
|
+
//# sourceMappingURL=chunk-FQ4JUNTE.cjs.map
|