schematex 0.2.4 → 0.3.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.
Files changed (96) hide show
  1. package/README.md +4 -3
  2. package/dist/ai/ai-sdk.cjs +10 -10
  3. package/dist/ai/ai-sdk.d.cts +2 -2
  4. package/dist/ai/ai-sdk.d.ts +2 -2
  5. package/dist/ai/ai-sdk.js +5 -5
  6. package/dist/ai/index.cjs +13 -13
  7. package/dist/ai/index.d.cts +3 -3
  8. package/dist/ai/index.d.ts +3 -3
  9. package/dist/ai/index.js +5 -5
  10. package/dist/{api-bQZ98gkJ.d.cts → api-BuFilDQB.d.cts} +1 -1
  11. package/dist/{api-bQZ98gkJ.d.ts → api-BuFilDQB.d.ts} +1 -1
  12. package/dist/browser.cjs +7 -7
  13. package/dist/browser.d.cts +2 -2
  14. package/dist/browser.d.ts +2 -2
  15. package/dist/browser.js +5 -5
  16. package/dist/{chunk-UAGSCTYI.cjs → chunk-3FKS4KQK.cjs} +22 -6
  17. package/dist/chunk-3FKS4KQK.cjs.map +1 -0
  18. package/dist/{chunk-4S2WILLW.cjs → chunk-K2SOC3XF.cjs} +5 -3
  19. package/dist/chunk-K2SOC3XF.cjs.map +1 -0
  20. package/dist/{chunk-LR4X4ZRG.js → chunk-NB56L5QK.js} +18 -14
  21. package/dist/chunk-NB56L5QK.js.map +1 -0
  22. package/dist/{chunk-VPKCW4PB.js → chunk-NNU4RGT3.js} +2820 -20
  23. package/dist/chunk-NNU4RGT3.js.map +1 -0
  24. package/dist/{chunk-E65ITQXV.cjs → chunk-NZH4GWE6.cjs} +18 -14
  25. package/dist/chunk-NZH4GWE6.cjs.map +1 -0
  26. package/dist/{chunk-DPQYGWCT.cjs → chunk-SQKLKBBK.cjs} +32 -5
  27. package/dist/chunk-SQKLKBBK.cjs.map +1 -0
  28. package/dist/{chunk-J2LVOWVY.js → chunk-TYCHEOQX.js} +22 -6
  29. package/dist/chunk-TYCHEOQX.js.map +1 -0
  30. package/dist/{chunk-MR5HU5WU.js → chunk-VLMK7MQK.js} +30 -3
  31. package/dist/chunk-VLMK7MQK.js.map +1 -0
  32. package/dist/{chunk-MSYBSOU2.cjs → chunk-XTATRNUN.cjs} +2824 -22
  33. package/dist/chunk-XTATRNUN.cjs.map +1 -0
  34. package/dist/{chunk-PGALHQFF.js → chunk-XZNPAD6E.js} +5 -3
  35. package/dist/chunk-XZNPAD6E.js.map +1 -0
  36. package/dist/diagrams/blockdiagram/index.d.cts +1 -1
  37. package/dist/diagrams/blockdiagram/index.d.ts +1 -1
  38. package/dist/diagrams/circuit/index.cjs +7 -7
  39. package/dist/diagrams/circuit/index.d.cts +1 -1
  40. package/dist/diagrams/circuit/index.d.ts +1 -1
  41. package/dist/diagrams/circuit/index.js +1 -1
  42. package/dist/diagrams/ecomap/index.cjs +6 -6
  43. package/dist/diagrams/ecomap/index.d.cts +1 -1
  44. package/dist/diagrams/ecomap/index.d.ts +1 -1
  45. package/dist/diagrams/ecomap/index.js +1 -1
  46. package/dist/diagrams/entity/index.d.cts +1 -1
  47. package/dist/diagrams/entity/index.d.ts +1 -1
  48. package/dist/diagrams/fishbone/index.d.cts +1 -1
  49. package/dist/diagrams/fishbone/index.d.ts +1 -1
  50. package/dist/diagrams/flowchart/index.cjs +7 -7
  51. package/dist/diagrams/flowchart/index.d.cts +2 -2
  52. package/dist/diagrams/flowchart/index.d.ts +2 -2
  53. package/dist/diagrams/flowchart/index.js +1 -1
  54. package/dist/diagrams/genogram/index.d.cts +1 -1
  55. package/dist/diagrams/genogram/index.d.ts +1 -1
  56. package/dist/diagrams/ladder/index.d.cts +1 -1
  57. package/dist/diagrams/ladder/index.d.ts +1 -1
  58. package/dist/diagrams/logic/index.d.cts +1 -1
  59. package/dist/diagrams/logic/index.d.ts +1 -1
  60. package/dist/diagrams/orgchart/index.d.cts +1 -1
  61. package/dist/diagrams/orgchart/index.d.ts +1 -1
  62. package/dist/diagrams/pedigree/index.d.cts +1 -1
  63. package/dist/diagrams/pedigree/index.d.ts +1 -1
  64. package/dist/diagrams/phylo/index.d.cts +1 -1
  65. package/dist/diagrams/phylo/index.d.ts +1 -1
  66. package/dist/diagrams/sld/index.d.cts +1 -1
  67. package/dist/diagrams/sld/index.d.ts +1 -1
  68. package/dist/diagrams/sociogram/index.d.cts +1 -1
  69. package/dist/diagrams/sociogram/index.d.ts +1 -1
  70. package/dist/diagrams/timing/index.d.cts +1 -1
  71. package/dist/diagrams/timing/index.d.ts +1 -1
  72. package/dist/diagrams/venn/index.d.cts +1 -1
  73. package/dist/diagrams/venn/index.d.ts +1 -1
  74. package/dist/{index-DcU88F9i.d.ts → index-CUwp4GXI.d.ts} +1 -1
  75. package/dist/{index-BTZEka65.d.cts → index-ivhNGsyU.d.cts} +1 -1
  76. package/dist/index.cjs +19 -11
  77. package/dist/index.d.cts +8 -4
  78. package/dist/index.d.ts +8 -4
  79. package/dist/index.js +4 -4
  80. package/dist/react.cjs +5 -5
  81. package/dist/react.d.cts +1 -1
  82. package/dist/react.d.ts +1 -1
  83. package/dist/react.js +4 -4
  84. package/dist/{types-C4LnMEcB.d.cts → types-Bl-Pn7Wj.d.cts} +1 -1
  85. package/dist/{types-C4LnMEcB.d.ts → types-Bl-Pn7Wj.d.ts} +1 -1
  86. package/package.json +2 -2
  87. package/dist/chunk-4S2WILLW.cjs.map +0 -1
  88. package/dist/chunk-DPQYGWCT.cjs.map +0 -1
  89. package/dist/chunk-E65ITQXV.cjs.map +0 -1
  90. package/dist/chunk-J2LVOWVY.js.map +0 -1
  91. package/dist/chunk-LR4X4ZRG.js.map +0 -1
  92. package/dist/chunk-MR5HU5WU.js.map +0 -1
  93. package/dist/chunk-MSYBSOU2.cjs.map +0 -1
  94. package/dist/chunk-PGALHQFF.js.map +0 -1
  95. package/dist/chunk-UAGSCTYI.cjs.map +0 -1
  96. package/dist/chunk-VPKCW4PB.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUAGSCTYI_cjs = require('../../chunk-UAGSCTYI.cjs');
3
+ var chunk3FKS4KQK_cjs = require('../../chunk-3FKS4KQK.cjs');
4
4
  require('../../chunk-D7EHZFK4.cjs');
5
5
  require('../../chunk-HDKDQAEQ.cjs');
6
6
 
@@ -8,27 +8,27 @@ require('../../chunk-HDKDQAEQ.cjs');
8
8
 
9
9
  Object.defineProperty(exports, "FC_CONST", {
10
10
  enumerable: true,
11
- get: function () { return chunkUAGSCTYI_cjs.FC_CONST; }
11
+ get: function () { return chunk3FKS4KQK_cjs.FC_CONST; }
12
12
  });
13
13
  Object.defineProperty(exports, "flowchart", {
14
14
  enumerable: true,
15
- get: function () { return chunkUAGSCTYI_cjs.flowchart; }
15
+ get: function () { return chunk3FKS4KQK_cjs.flowchart; }
16
16
  });
17
17
  Object.defineProperty(exports, "layoutFlowchart", {
18
18
  enumerable: true,
19
- get: function () { return chunkUAGSCTYI_cjs.layoutFlowchart; }
19
+ get: function () { return chunk3FKS4KQK_cjs.layoutFlowchart; }
20
20
  });
21
21
  Object.defineProperty(exports, "parseFlowchart", {
22
22
  enumerable: true,
23
- get: function () { return chunkUAGSCTYI_cjs.parseFlowchart; }
23
+ get: function () { return chunk3FKS4KQK_cjs.parseFlowchart; }
24
24
  });
25
25
  Object.defineProperty(exports, "renderFlowchart", {
26
26
  enumerable: true,
27
- get: function () { return chunkUAGSCTYI_cjs.renderFlowchart; }
27
+ get: function () { return chunk3FKS4KQK_cjs.renderFlowchart; }
28
28
  });
29
29
  Object.defineProperty(exports, "renderFlowchartAST", {
30
30
  enumerable: true,
31
- get: function () { return chunkUAGSCTYI_cjs.renderFlowchartAST; }
31
+ get: function () { return chunk3FKS4KQK_cjs.renderFlowchartAST; }
32
32
  });
33
33
  //# sourceMappingURL=index.cjs.map
34
34
  //# sourceMappingURL=index.cjs.map
@@ -1,2 +1,2 @@
1
- import '../../types-C4LnMEcB.cjs';
2
- export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-BTZEka65.cjs';
1
+ import '../../types-Bl-Pn7Wj.cjs';
2
+ export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-ivhNGsyU.cjs';
@@ -1,2 +1,2 @@
1
- import '../../types-C4LnMEcB.js';
2
- export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-DcU88F9i.js';
1
+ import '../../types-Bl-Pn7Wj.js';
2
+ export { F as FC_CONST, g as flowchart, n as layoutFlowchart, p as parseFlowchart, o as renderFlowchart, q as renderFlowchartAST } from '../../index-CUwp4GXI.js';
@@ -1,4 +1,4 @@
1
- export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-J2LVOWVY.js';
1
+ export { FC_CONST, flowchart, layoutFlowchart, parseFlowchart, renderFlowchart, renderFlowchartAST } from '../../chunk-TYCHEOQX.js';
2
2
  import '../../chunk-2VNMKOUO.js';
3
3
  import '../../chunk-KLJEK547.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  declare class ParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, I as Individual, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  declare class ParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  declare function parseLadderDSL(text: string): LadderAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { e as LadderAST, R as RenderConfig, f as LadderRung, g as LadderElement, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  declare function parseLadderDSL(text: string): LadderAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { m as LogicGateAST, R as RenderConfig, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { m as LogicGateAST, R as RenderConfig, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  declare function parseLogic(text: string): LogicGateAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { m as LogicGateAST, R as RenderConfig, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { m as LogicGateAST, R as RenderConfig, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  declare function parseLogic(text: string): LogicGateAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { R as RenderConfig, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { R as RenderConfig, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  type OrgchartDirection = "TD" | "LR";
4
4
  type OrgchartLayoutMode = "tree" | "list";
@@ -1,4 +1,4 @@
1
- import { R as RenderConfig, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { R as RenderConfig, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  type OrgchartDirection = "TD" | "LR";
4
4
  type OrgchartLayoutMode = "tree" | "list";
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  declare class PedigreeParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { a as DiagramAST, L as LayoutConfig, b as LayoutResult, R as RenderConfig, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  declare class PedigreeParseError extends Error {
4
4
  line: number;
@@ -1,4 +1,4 @@
1
- import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  declare class PhyloParseError extends Error {
4
4
  constructor(message: string);
@@ -1,4 +1,4 @@
1
- import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { P as PhyloTreeAST, c as PhyloLayoutNode, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  declare class PhyloParseError extends Error {
4
4
  constructor(message: string);
@@ -1,4 +1,4 @@
1
- import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  declare function parseSLDDSL(text: string): SLDAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { S as SLDAST, R as RenderConfig, h as SLDNode, i as SLDNodeType, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  declare function parseSLDDSL(text: string): SLDAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { d as LegendOverrides, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { d as LegendOverrides, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  type SociogramLayout = "circular" | "force-directed" | "concentric";
4
4
  type EdgeValence = "positive" | "negative" | "neutral";
@@ -1,4 +1,4 @@
1
- import { d as LegendOverrides, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { d as LegendOverrides, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  type SociogramLayout = "circular" | "force-directed" | "concentric";
4
4
  type EdgeValence = "positive" | "negative" | "neutral";
@@ -1,4 +1,4 @@
1
- import { T as TimingAST, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { T as TimingAST, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  declare function parseTiming(text: string): TimingAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { T as TimingAST, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { T as TimingAST, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  declare function parseTiming(text: string): TimingAST;
4
4
 
@@ -1,4 +1,4 @@
1
- import { V as VennAST, l as VennLayoutResult, D as DiagramPlugin } from '../../types-C4LnMEcB.cjs';
1
+ import { V as VennAST, l as VennLayoutResult, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  /**
4
4
  * Venn / Euler DSL parser (hand-written recursive descent).
@@ -1,4 +1,4 @@
1
- import { V as VennAST, l as VennLayoutResult, D as DiagramPlugin } from '../../types-C4LnMEcB.js';
1
+ import { V as VennAST, l as VennLayoutResult, D as DiagramPlugin } from '../../types-Bl-Pn7Wj.js';
2
2
 
3
3
  /**
4
4
  * Venn / Euler DSL parser (hand-written recursive descent).
@@ -1,4 +1,4 @@
1
- import { n as FlowchartAST, o as FlowchartLayoutResult, D as DiagramPlugin } from './types-C4LnMEcB.js';
1
+ import { n as FlowchartAST, o as FlowchartLayoutResult, D as DiagramPlugin } from './types-Bl-Pn7Wj.js';
2
2
 
3
3
  /**
4
4
  * Flowchart DSL parser.
@@ -1,4 +1,4 @@
1
- import { n as FlowchartAST, o as FlowchartLayoutResult, D as DiagramPlugin } from './types-C4LnMEcB.cjs';
1
+ import { n as FlowchartAST, o as FlowchartLayoutResult, D as DiagramPlugin } from './types-Bl-Pn7Wj.cjs';
2
2
 
3
3
  /**
4
4
  * Flowchart DSL parser.
package/dist/index.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkMSYBSOU2_cjs = require('./chunk-MSYBSOU2.cjs');
3
+ var chunkXTATRNUN_cjs = require('./chunk-XTATRNUN.cjs');
4
4
  var chunkA5D2IMOX_cjs = require('./chunk-A5D2IMOX.cjs');
5
- var chunk4S2WILLW_cjs = require('./chunk-4S2WILLW.cjs');
5
+ var chunkK2SOC3XF_cjs = require('./chunk-K2SOC3XF.cjs');
6
6
  var chunkMCFQAUQV_cjs = require('./chunk-MCFQAUQV.cjs');
7
7
  var chunkB6INLQBU_cjs = require('./chunk-B6INLQBU.cjs');
8
8
  var chunk3YZ6FPQW_cjs = require('./chunk-3YZ6FPQW.cjs');
9
9
  var chunkZNOD4VZT_cjs = require('./chunk-ZNOD4VZT.cjs');
10
10
  var chunk5AEN2PLB_cjs = require('./chunk-5AEN2PLB.cjs');
11
11
  var chunkQSQX77S2_cjs = require('./chunk-QSQX77S2.cjs');
12
- var chunkUAGSCTYI_cjs = require('./chunk-UAGSCTYI.cjs');
12
+ var chunk3FKS4KQK_cjs = require('./chunk-3FKS4KQK.cjs');
13
13
  var chunkMJGDP3CS_cjs = require('./chunk-MJGDP3CS.cjs');
14
- var chunkE65ITQXV_cjs = require('./chunk-E65ITQXV.cjs');
14
+ var chunkNZH4GWE6_cjs = require('./chunk-NZH4GWE6.cjs');
15
15
  var chunkB37IKTI7_cjs = require('./chunk-B37IKTI7.cjs');
16
16
  var chunkX7RPFTTR_cjs = require('./chunk-X7RPFTTR.cjs');
17
17
  var chunkCOLTVQWR_cjs = require('./chunk-COLTVQWR.cjs');
@@ -25,19 +25,27 @@ require('./chunk-HDKDQAEQ.cjs');
25
25
 
26
26
  Object.defineProperty(exports, "decisiontree", {
27
27
  enumerable: true,
28
- get: function () { return chunkMSYBSOU2_cjs.decisiontree; }
28
+ get: function () { return chunkXTATRNUN_cjs.decisiontree; }
29
29
  });
30
30
  Object.defineProperty(exports, "parse", {
31
31
  enumerable: true,
32
- get: function () { return chunkMSYBSOU2_cjs.parse; }
32
+ get: function () { return chunkXTATRNUN_cjs.parse; }
33
+ });
34
+ Object.defineProperty(exports, "pid", {
35
+ enumerable: true,
36
+ get: function () { return chunkXTATRNUN_cjs.pid; }
33
37
  });
34
38
  Object.defineProperty(exports, "render", {
35
39
  enumerable: true,
36
- get: function () { return chunkMSYBSOU2_cjs.render; }
40
+ get: function () { return chunkXTATRNUN_cjs.render; }
41
+ });
42
+ Object.defineProperty(exports, "state", {
43
+ enumerable: true,
44
+ get: function () { return chunkXTATRNUN_cjs.state; }
37
45
  });
38
46
  Object.defineProperty(exports, "timeline", {
39
47
  enumerable: true,
40
- get: function () { return chunkMSYBSOU2_cjs.timeline; }
48
+ get: function () { return chunkXTATRNUN_cjs.timeline; }
41
49
  });
42
50
  Object.defineProperty(exports, "orgchart", {
43
51
  enumerable: true,
@@ -45,7 +53,7 @@ Object.defineProperty(exports, "orgchart", {
45
53
  });
46
54
  Object.defineProperty(exports, "circuit", {
47
55
  enumerable: true,
48
- get: function () { return chunk4S2WILLW_cjs.circuit; }
56
+ get: function () { return chunkK2SOC3XF_cjs.circuit; }
49
57
  });
50
58
  Object.defineProperty(exports, "blockdiagram", {
51
59
  enumerable: true,
@@ -73,7 +81,7 @@ Object.defineProperty(exports, "venn", {
73
81
  });
74
82
  Object.defineProperty(exports, "flowchart", {
75
83
  enumerable: true,
76
- get: function () { return chunkUAGSCTYI_cjs.flowchart; }
84
+ get: function () { return chunk3FKS4KQK_cjs.flowchart; }
77
85
  });
78
86
  Object.defineProperty(exports, "genogram", {
79
87
  enumerable: true,
@@ -81,7 +89,7 @@ Object.defineProperty(exports, "genogram", {
81
89
  });
82
90
  Object.defineProperty(exports, "ecomap", {
83
91
  enumerable: true,
84
- get: function () { return chunkE65ITQXV_cjs.ecomap; }
92
+ get: function () { return chunkNZH4GWE6_cjs.ecomap; }
85
93
  });
86
94
  Object.defineProperty(exports, "pedigree", {
87
95
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { S as SchematexConfig, p as parse, r as render } from './api-bQZ98gkJ.cjs';
1
+ export { S as SchematexConfig, p as parse, r as render } from './api-BuFilDQB.cjs';
2
2
  export { genogram } from './diagrams/genogram/index.cjs';
3
3
  export { ecomap } from './diagrams/ecomap/index.cjs';
4
4
  export { pedigree } from './diagrams/pedigree/index.cjs';
@@ -13,12 +13,16 @@ export { sld } from './diagrams/sld/index.cjs';
13
13
  export { entity } from './diagrams/entity/index.cjs';
14
14
  export { fishbone } from './diagrams/fishbone/index.cjs';
15
15
  export { venn } from './diagrams/venn/index.cjs';
16
- export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-BTZEka65.cjs';
16
+ export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-ivhNGsyU.cjs';
17
17
  export { orgchart } from './diagrams/orgchart/index.cjs';
18
- import { D as DiagramPlugin } from './types-C4LnMEcB.cjs';
18
+ import { D as DiagramPlugin } from './types-Bl-Pn7Wj.cjs';
19
19
 
20
20
  declare const decisiontree: DiagramPlugin;
21
21
 
22
22
  declare const timeline: DiagramPlugin;
23
23
 
24
- export { decisiontree, timeline };
24
+ declare const state: DiagramPlugin;
25
+
26
+ declare const pid: DiagramPlugin;
27
+
28
+ export { decisiontree, pid, state, timeline };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { S as SchematexConfig, p as parse, r as render } from './api-bQZ98gkJ.js';
1
+ export { S as SchematexConfig, p as parse, r as render } from './api-BuFilDQB.js';
2
2
  export { genogram } from './diagrams/genogram/index.js';
3
3
  export { ecomap } from './diagrams/ecomap/index.js';
4
4
  export { pedigree } from './diagrams/pedigree/index.js';
@@ -13,12 +13,16 @@ export { sld } from './diagrams/sld/index.js';
13
13
  export { entity } from './diagrams/entity/index.js';
14
14
  export { fishbone } from './diagrams/fishbone/index.js';
15
15
  export { venn } from './diagrams/venn/index.js';
16
- export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-DcU88F9i.js';
16
+ export { B as BASE_THEMES, a as BIOLOGY_TOKENS, b as BaseTheme, c as BiologyTokens, P as PERSON_TOKENS, d as PersonTokens, R as ResolvedTheme, T as ThemeName, e as TimelineTokens, V as VENN_TOKENS, f as VennTokens, g as flowchart, r as resolveBaseTheme, h as resolveBiologyTheme, i as resolveFishboneTheme, j as resolveGenogramTheme, k as resolvePersonTheme, l as resolveTimelineTheme, m as resolveVennTheme } from './index-CUwp4GXI.js';
17
17
  export { orgchart } from './diagrams/orgchart/index.js';
18
- import { D as DiagramPlugin } from './types-C4LnMEcB.js';
18
+ import { D as DiagramPlugin } from './types-Bl-Pn7Wj.js';
19
19
 
20
20
  declare const decisiontree: DiagramPlugin;
21
21
 
22
22
  declare const timeline: DiagramPlugin;
23
23
 
24
- export { decisiontree, timeline };
24
+ declare const state: DiagramPlugin;
25
+
26
+ declare const pid: DiagramPlugin;
27
+
28
+ export { decisiontree, pid, state, timeline };
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- export { decisiontree, parse, render, timeline } from './chunk-VPKCW4PB.js';
1
+ export { decisiontree, parse, pid, render, state, timeline } from './chunk-NNU4RGT3.js';
2
2
  export { orgchart } from './chunk-FCGHV6ZK.js';
3
- export { circuit } from './chunk-PGALHQFF.js';
3
+ export { circuit } from './chunk-XZNPAD6E.js';
4
4
  export { blockdiagram } from './chunk-UGCUNADI.js';
5
5
  export { ladder } from './chunk-U6L3FAML.js';
6
6
  export { sld } from './chunk-FE6GAUNW.js';
7
7
  export { entity } from './chunk-M5B2UUNW.js';
8
8
  export { fishbone } from './chunk-ZNDIGQJD.js';
9
9
  export { venn } from './chunk-JDTB7IKL.js';
10
- export { flowchart } from './chunk-J2LVOWVY.js';
10
+ export { flowchart } from './chunk-TYCHEOQX.js';
11
11
  export { genogram } from './chunk-H2OEUBPO.js';
12
- export { ecomap } from './chunk-LR4X4ZRG.js';
12
+ export { ecomap } from './chunk-NB56L5QK.js';
13
13
  export { pedigree } from './chunk-OC22GGQN.js';
14
14
  export { phylo } from './chunk-YQANC7HQ.js';
15
15
  export { sociogram } from './chunk-RP5UATRA.js';
package/dist/react.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkMSYBSOU2_cjs = require('./chunk-MSYBSOU2.cjs');
3
+ var chunkXTATRNUN_cjs = require('./chunk-XTATRNUN.cjs');
4
4
  require('./chunk-A5D2IMOX.cjs');
5
- require('./chunk-4S2WILLW.cjs');
5
+ require('./chunk-K2SOC3XF.cjs');
6
6
  require('./chunk-MCFQAUQV.cjs');
7
7
  require('./chunk-B6INLQBU.cjs');
8
8
  require('./chunk-3YZ6FPQW.cjs');
9
9
  require('./chunk-ZNOD4VZT.cjs');
10
10
  require('./chunk-5AEN2PLB.cjs');
11
11
  require('./chunk-QSQX77S2.cjs');
12
- require('./chunk-UAGSCTYI.cjs');
12
+ require('./chunk-3FKS4KQK.cjs');
13
13
  require('./chunk-MJGDP3CS.cjs');
14
- require('./chunk-E65ITQXV.cjs');
14
+ require('./chunk-NZH4GWE6.cjs');
15
15
  require('./chunk-B37IKTI7.cjs');
16
16
  require('./chunk-X7RPFTTR.cjs');
17
17
  require('./chunk-COLTVQWR.cjs');
@@ -35,7 +35,7 @@ function SchematexDiagram({
35
35
  }) {
36
36
  const svg = react.useMemo(() => {
37
37
  try {
38
- return chunkMSYBSOU2_cjs.render(dsl, { type, theme, fontFamily, padding });
38
+ return chunkXTATRNUN_cjs.render(dsl, { type, theme, fontFamily, padding });
39
39
  } catch (err) {
40
40
  const e = err instanceof Error ? err : new Error(String(err));
41
41
  onError?.(e);
package/dist/react.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as SchematexConfig } from './api-bQZ98gkJ.cjs';
2
+ import { S as SchematexConfig } from './api-BuFilDQB.cjs';
3
3
 
4
4
  interface SchematexDiagramProps {
5
5
  /** DSL text to render */
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { S as SchematexConfig } from './api-bQZ98gkJ.js';
2
+ import { S as SchematexConfig } from './api-BuFilDQB.js';
3
3
 
4
4
  interface SchematexDiagramProps {
5
5
  /** DSL text to render */
package/dist/react.js CHANGED
@@ -1,15 +1,15 @@
1
- import { render } from './chunk-VPKCW4PB.js';
1
+ import { render } from './chunk-NNU4RGT3.js';
2
2
  import './chunk-FCGHV6ZK.js';
3
- import './chunk-PGALHQFF.js';
3
+ import './chunk-XZNPAD6E.js';
4
4
  import './chunk-UGCUNADI.js';
5
5
  import './chunk-U6L3FAML.js';
6
6
  import './chunk-FE6GAUNW.js';
7
7
  import './chunk-M5B2UUNW.js';
8
8
  import './chunk-ZNDIGQJD.js';
9
9
  import './chunk-JDTB7IKL.js';
10
- import './chunk-J2LVOWVY.js';
10
+ import './chunk-TYCHEOQX.js';
11
11
  import './chunk-H2OEUBPO.js';
12
- import './chunk-LR4X4ZRG.js';
12
+ import './chunk-NB56L5QK.js';
13
13
  import './chunk-OC22GGQN.js';
14
14
  import './chunk-YQANC7HQ.js';
15
15
  import './chunk-RP5UATRA.js';
@@ -8,7 +8,7 @@
8
8
  * - Layout: DiagramAST → LayoutResult
9
9
  * - Renderer: LayoutResult → SVG string
10
10
  */
11
- type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline";
11
+ type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid";
12
12
  type GenogramMode = "medical" | "heritage";
13
13
  /**
14
14
  * Standard legend positions:
@@ -8,7 +8,7 @@
8
8
  * - Layout: DiagramAST → LayoutResult
9
9
  * - Renderer: LayoutResult → SVG string
10
10
  */
11
- type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline";
11
+ type DiagramType = "genogram" | "ecomap" | "pedigree" | "phylo" | "sociogram" | "timing" | "logic" | "circuit" | "blockdiagram" | "ladder" | "sld" | "entity" | "fishbone" | "venn" | "flowchart" | "mindmap" | "matrix" | "orgchart" | "decisiontree" | "timeline" | "state" | "pid";
12
12
  type GenogramMode = "medical" | "heritage";
13
13
  /**
14
14
  * Standard legend positions:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "schematex",
3
- "version": "0.2.4",
4
- "description": "Every diagram a doctor, engineer, or lawyer would actually use. 20 industry-standard diagrams (genogram, pedigree, ladder logic, SLD, phylo, fishbone, entity structure, ...) from a text DSL. Free, fully open source, made for AI. Pure SVG, zero dependencies.",
3
+ "version": "0.3.0",
4
+ "description": "Every diagram a doctor, engineer, or lawyer would actually use. 22 industry-standard diagrams (genogram, pedigree, ladder logic, SLD, P&ID, UML state diagram, phylo, fishbone, entity structure, ...) from a text DSL. Free, fully open source, made for AI. Pure SVG, zero dependencies.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",