@likec4/core 1.20.2 → 1.21.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 (78) hide show
  1. package/dist/builder/index.cjs +24 -18
  2. package/dist/builder/index.d.cts +11 -5
  3. package/dist/builder/index.d.mts +11 -5
  4. package/dist/builder/index.d.ts +11 -5
  5. package/dist/builder/index.mjs +10 -4
  6. package/dist/compute-view/index.cjs +6 -6
  7. package/dist/compute-view/index.d.cts +4 -4
  8. package/dist/compute-view/index.d.mts +4 -4
  9. package/dist/compute-view/index.d.ts +4 -4
  10. package/dist/compute-view/index.mjs +6 -6
  11. package/dist/index.cjs +52 -14
  12. package/dist/index.d.cts +6 -6
  13. package/dist/index.d.mts +6 -6
  14. package/dist/index.d.ts +6 -6
  15. package/dist/index.mjs +46 -11
  16. package/dist/model/index.cjs +1 -1
  17. package/dist/model/index.d.cts +5 -5
  18. package/dist/model/index.d.mts +5 -5
  19. package/dist/model/index.d.ts +5 -5
  20. package/dist/model/index.mjs +1 -1
  21. package/dist/shared/{core.Cmfo_N4F.d.mts → core.5Z5cpENq.d.mts} +5 -4
  22. package/dist/shared/{core.D4wZW7zR.d.ts → core.BJfq046m.d.ts} +5 -4
  23. package/dist/shared/{core.C0ygs98j.d.cts → core.BS_nXBsP.d.cts} +9 -2
  24. package/dist/shared/{core.CajOK_t3.d.mts → core.BYs5deiY.d.cts} +1 -1
  25. package/dist/shared/{core.Bezy7K65.mjs → core.BfZZXtur.mjs} +2 -2
  26. package/dist/shared/{core.CwZmAghJ.d.cts → core.BgPZ8Tl8.d.cts} +5 -4
  27. package/dist/shared/{core.FACQZmma.cjs → core.BjR0D3IO.cjs} +15 -15
  28. package/dist/shared/{core.uxHtIZaH.cjs → core.CAkSSvJ6.cjs} +11 -5
  29. package/dist/shared/{core.El-gigOM.mjs → core.CE-kCVHA.mjs} +1 -1
  30. package/dist/shared/{core.DjMYkPMQ.d.mts → core.CJaCUZQ9.d.mts} +9 -2
  31. package/dist/shared/{core.88YY6vtF.d.mts → core.CT1nzYjO.d.cts} +2 -2
  32. package/dist/shared/{core.0PxLtLpP.mjs → core.CYNYaH2U.mjs} +5 -2
  33. package/dist/shared/{core.CCyhaU-4.mjs → core.CeefT_JU.mjs} +6 -6
  34. package/dist/shared/{core.PYycpzvA.mjs → core.Cz9Oy_FA.mjs} +476 -410
  35. package/dist/shared/{core.BIZD3l1g.d.cts → core.D0KD4FiT.d.mts} +1 -1
  36. package/dist/shared/{core.DxJ1KbOs.cjs → core.D91uYrqI.cjs} +552 -486
  37. package/dist/shared/{core.BtISRjMA.d.ts → core.DQCc-Jxk.d.ts} +1 -1
  38. package/dist/shared/{core.Db_OTRdC.cjs → core.DnPc_NDM.cjs} +1 -1
  39. package/dist/shared/{core.CNUzoKM7.d.ts → core.Dp3HTiRV.d.ts} +2 -2
  40. package/dist/shared/{core.CKYxnFEl.cjs → core.DqQrj2oQ.cjs} +2 -2
  41. package/dist/shared/{core.Bs71hdR4.d.ts → core.DsDq-blc.d.ts} +9 -2
  42. package/dist/shared/{core.Lh2RFJf1.d.cts → core.DuuS_BrY.d.mts} +2 -2
  43. package/dist/shared/{core.BJfn72tj.d.ts → core.QP35c488.d.cts} +33 -1
  44. package/dist/shared/{core.BJfn72tj.d.mts → core.QP35c488.d.mts} +33 -1
  45. package/dist/shared/{core.BJfn72tj.d.cts → core.QP35c488.d.ts} +33 -1
  46. package/dist/types/index.cjs +4 -1
  47. package/dist/types/index.d.cts +4 -4
  48. package/dist/types/index.d.mts +4 -4
  49. package/dist/types/index.d.ts +4 -4
  50. package/dist/types/index.mjs +1 -1
  51. package/dist/utils/index.cjs +3 -3
  52. package/dist/utils/index.d.cts +2 -2
  53. package/dist/utils/index.d.mts +2 -2
  54. package/dist/utils/index.d.ts +2 -2
  55. package/dist/utils/index.mjs +3 -3
  56. package/package.json +6 -6
  57. package/src/builder/Builder.ts +11 -5
  58. package/src/builder/Builder.view-common.ts +1 -0
  59. package/src/builder/__snapshots__/Builder-style1.spec.ts.snap +16 -4
  60. package/src/builder/__snapshots__/Builder-style2.spec.ts.snap +21 -5
  61. package/src/builder/_types.ts +9 -0
  62. package/src/colors/index.ts +41 -5
  63. package/src/compute-view/deployment-view/predicates/{elements.ts → deploymentRefs.ts} +32 -21
  64. package/src/compute-view/deployment-view/predicates/index.ts +1 -1
  65. package/src/compute-view/deployment-view/predicates/utils.ts +56 -1
  66. package/src/compute-view/deployment-view/predicates/wildcard.ts +20 -9
  67. package/src/compute-view/element-view/memory/memory.ts +1 -1
  68. package/src/compute-view/memory/AbstractStageExclude.ts +1 -1
  69. package/src/compute-view/utils/applyCustomElementProperties.ts +18 -1
  70. package/src/compute-view/utils/applyViewRuleStyles.ts +9 -0
  71. package/src/compute-view/utils/buildComputedNodes.ts +13 -9
  72. package/src/model/DeploymentElementModel.ts +5 -2
  73. package/src/model/ElementModel.ts +10 -0
  74. package/src/types/element.ts +19 -1
  75. package/src/types/expression.ts +4 -1
  76. package/src/types/index.ts +6 -0
  77. package/src/types/theme.ts +22 -1
  78. package/src/types/view.ts +5 -1
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- const model_index = require('../shared/core.DxJ1KbOs.cjs');
4
- const object_hash = require('../shared/core.FACQZmma.cjs');
5
- const view = require('../shared/core.uxHtIZaH.cjs');
6
- const chunkRAAYCPUM = require('../shared/core.CKYxnFEl.cjs');
3
+ const model_index = require('../shared/core.D91uYrqI.cjs');
4
+ const object_hash = require('../shared/core.BjR0D3IO.cjs');
5
+ const view = require('../shared/core.CAkSSvJ6.cjs');
6
+ const chunkWIMGWYZL = require('../shared/core.DqQrj2oQ.cjs');
7
7
 
8
- function n(...r){return chunkRAAYCPUM.u(Object.fromEntries,r)}
8
+ function n(...r){return chunkWIMGWYZL.u(Object.fromEntries,r)}
9
9
 
10
10
  function isPlainObject(value) {
11
11
  if (value === null || typeof value !== "object") {
@@ -426,7 +426,7 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
426
426
  __addElement: (element) => {
427
427
  const parent = object_hash.parentFqn(element.id);
428
428
  if (parent) {
429
- chunkRAAYCPUM.invariant(
429
+ chunkWIMGWYZL.invariant(
430
430
  _elements.get(parent),
431
431
  `Parent element with id "${parent}" not found for element with id "${element.id}"`
432
432
  );
@@ -439,10 +439,10 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
439
439
  },
440
440
  __addRelation(relation) {
441
441
  const sourceEl = _elements.get(relation.source);
442
- chunkRAAYCPUM.invariant(sourceEl, `Element with id "${relation.source}" not found`);
442
+ chunkWIMGWYZL.invariant(sourceEl, `Element with id "${relation.source}" not found`);
443
443
  const targetEl = _elements.get(relation.target);
444
- chunkRAAYCPUM.invariant(targetEl, `Element with id "${relation.target}" not found`);
445
- chunkRAAYCPUM.invariant(
444
+ chunkWIMGWYZL.invariant(targetEl, `Element with id "${relation.target}" not found`);
445
+ chunkWIMGWYZL.invariant(
446
446
  !object_hash.isSameHierarchy(sourceEl, targetEl),
447
447
  "Cannot create relationship between elements in the same hierarchy"
448
448
  );
@@ -456,7 +456,7 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
456
456
  * Fully qualified name for nested elements
457
457
  */
458
458
  __fqn(id) {
459
- chunkRAAYCPUM.invariant(id.trim() !== "", "Id must be non-empty");
459
+ chunkWIMGWYZL.invariant(id.trim() !== "", "Id must be non-empty");
460
460
  return id;
461
461
  },
462
462
  __addSourcelessRelation() {
@@ -467,7 +467,7 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
467
467
  throw new Error(`View with id "${view$1.id}" already exists`);
468
468
  }
469
469
  if (view.isScopedElementView(view$1)) {
470
- chunkRAAYCPUM.invariant(
470
+ chunkWIMGWYZL.invariant(
471
471
  _elements.get(view$1.viewOf),
472
472
  `Invalid scoped view ${view$1.id}, wlement with id "${view$1.viewOf}" not found`
473
473
  );
@@ -481,14 +481,14 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
481
481
  }
482
482
  const parent = object_hash.parentFqn(node.id);
483
483
  if (parent) {
484
- chunkRAAYCPUM.invariant(
484
+ chunkWIMGWYZL.invariant(
485
485
  _deployments.get(parent),
486
486
  `Parent element with id "${parent}" not found for node with id "${node.id}"`
487
487
  );
488
488
  }
489
489
  if (view.DeploymentElement.isInstance(node)) {
490
- chunkRAAYCPUM.invariant(parent, `Instance ${node.id} of ${node.element} must be deployed under a parent node`);
491
- chunkRAAYCPUM.invariant(
490
+ chunkWIMGWYZL.invariant(parent, `Instance ${node.id} of ${node.element} must be deployed under a parent node`);
491
+ chunkWIMGWYZL.invariant(
492
492
  _elements.get(node.element),
493
493
  `Instance "${node.id}" references non-existing element "${node.element}"`
494
494
  );
@@ -497,15 +497,15 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
497
497
  return self;
498
498
  },
499
499
  __addDeploymentRelation: (relation) => {
500
- chunkRAAYCPUM.invariant(
500
+ chunkWIMGWYZL.invariant(
501
501
  !object_hash.isSameHierarchy(relation.source.id, relation.target.id),
502
502
  "Cannot create relationship between elements in the same hierarchy"
503
503
  );
504
- chunkRAAYCPUM.invariant(
504
+ chunkWIMGWYZL.invariant(
505
505
  _deployments.has(relation.source.id),
506
506
  `Relation "${relation.source.id} -> ${relation.target.id}" references non-existing source`
507
507
  );
508
- chunkRAAYCPUM.invariant(
508
+ chunkWIMGWYZL.invariant(
509
509
  _deployments.has(relation.target.id),
510
510
  `Relation "${relation.source.id} -> ${relation.target.id}" references non-existing target`
511
511
  );
@@ -616,6 +616,9 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
616
616
  style: model_index.d({
617
617
  border: specStyle?.border,
618
618
  opacity: specStyle?.opacity,
619
+ size: specStyle?.size,
620
+ padding: specStyle?.padding,
621
+ textSize: specStyle?.textSize,
619
622
  ...style
620
623
  }, object_hash.l),
621
624
  links,
@@ -756,7 +759,7 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
756
759
  ...props
757
760
  } = typeof _props === "string" ? { title: _props } : { ..._props };
758
761
  const _id = b.__fqn(id);
759
- chunkRAAYCPUM.invariant(_elements.has(target), `Target element with id "${target}" not found`);
762
+ chunkWIMGWYZL.invariant(_elements.has(target), `Target element with id "${target}" not found`);
760
763
  b.__addDeployment({
761
764
  id: _id,
762
765
  element: target,
@@ -813,6 +816,9 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
813
816
  style: model_index.d({
814
817
  border: specStyle?.border,
815
818
  opacity: specStyle?.opacity,
819
+ size: specStyle?.size,
820
+ padding: specStyle?.padding,
821
+ textSize: specStyle?.textSize,
816
822
  ...style
817
823
  }, object_hash.l),
818
824
  ...links && { links: mapLinks(links) },
@@ -1,7 +1,7 @@
1
- import { LastArrayElement, Split, Simplify, Writable, IfNever, Tagged, IsLiteral, IsStringLiteral as IsStringLiteral$1, TupleToUnion } from 'type-fest';
2
- import { L as LikeC4Model } from '../shared/core.CwZmAghJ.cjs';
3
- import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bs as ViewRuleStyle, aT as AutoLayoutDirection, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, av as RelationshipArrowType, ay as RelationshipLineType, a9 as ParsedLikeC4Model } from '../shared/core.C0ygs98j.cjs';
4
- import { F as Fqn, i as Element, N as NonEmptyArray, j as ElementKindSpecification, l as ElementShape, s as Color, h as BorderStyle, K as KeysOf } from '../shared/core.BJfn72tj.cjs';
1
+ import { LastArrayElement, Split, Simplify, Writable, IfNever, TupleToUnion, Tagged, IsStringLiteral as IsStringLiteral$1, IsLiteral } from 'type-fest';
2
+ import { L as LikeC4Model } from '../shared/core.BgPZ8Tl8.cjs';
3
+ import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, bs as ViewRuleStyle, aT as AutoLayoutDirection, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, av as RelationshipArrowType, ay as RelationshipLineType, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, a9 as ParsedLikeC4Model } from '../shared/core.BS_nXBsP.cjs';
4
+ import { F as Fqn, l as Element, N as NonEmptyArray, o as ElementShape, v as Color, k as BorderStyle, S as ShapeSize, G as SpacingSize, J as TextSize, m as ElementKindSpecification, K as KeysOf } from '../shared/core.QP35c488.cjs';
5
5
  import { IsStringLiteral } from 'type-fest/source/is-literal';
6
6
 
7
7
  type ToNested$1<T, Id extends string> = T extends TypesNested<infer P, any, any, any, any, any, any, any, infer F> ? TypesNested<`${P}.${Id}`, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], `${P}.${Id}` | F> : T extends AnyTypes ? TypesNested<Id, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], Id | T['DeploymentFqn']> : never;
@@ -148,7 +148,7 @@ declare namespace ViewPredicate {
148
148
  type WhereTag<Tag extends string> = `tag ${'is' | 'is not'} #${Tag}`;
149
149
  type WhereKind<Kind extends string> = `kind ${'is' | 'is not'} ${Kind}`;
150
150
  type WhereParticipant<Types extends AnyTypes> = `${Participant}.${WhereTag<Types['Tag']> | WhereKind<Types['ElementKind']>}`;
151
- type WhereEq<Types extends AnyTypes> = ViewPredicate.WhereTag<Types['Tag']> | ViewPredicate.WhereKind<Types['ElementKind']> | ViewPredicate.WhereParticipant<Types>;
151
+ type WhereEq<Types extends AnyTypes> = ViewPredicate.WhereTag<Types['Tag']> | ViewPredicate.WhereKind<Types['ElementKind']> | ViewPredicate.WhereKind<Types['DeploymentKind']> | ViewPredicate.WhereParticipant<Types>;
152
152
  type WhereOperator<Types extends AnyTypes> = ViewPredicate.WhereEq<Types> | {
153
153
  and: NonEmptyArray<ViewPredicate.WhereOperator<Types>>;
154
154
  or?: never;
@@ -414,6 +414,9 @@ type NewElementProps<Tag, Metadata> = {
414
414
  style?: {
415
415
  border?: BorderStyle;
416
416
  opacity?: number;
417
+ size?: ShapeSize;
418
+ padding?: SpacingSize;
419
+ textSize?: TextSize;
417
420
  };
418
421
  };
419
422
  type NewDeploymentNodeProps<Tag, Metadata> = {
@@ -432,6 +435,9 @@ type NewDeploymentNodeProps<Tag, Metadata> = {
432
435
  style?: {
433
436
  border?: BorderStyle;
434
437
  opacity?: number;
438
+ size?: ShapeSize;
439
+ padding?: SpacingSize;
440
+ textSize?: TextSize;
435
441
  };
436
442
  };
437
443
  type NewViewProps<Tag> = {
@@ -1,7 +1,7 @@
1
- import { LastArrayElement, Split, Simplify, Writable, IfNever, Tagged, IsLiteral, IsStringLiteral as IsStringLiteral$1, TupleToUnion } from 'type-fest';
2
- import { L as LikeC4Model } from '../shared/core.Cmfo_N4F.mjs';
3
- import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bs as ViewRuleStyle, aT as AutoLayoutDirection, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, av as RelationshipArrowType, ay as RelationshipLineType, a9 as ParsedLikeC4Model } from '../shared/core.DjMYkPMQ.mjs';
4
- import { F as Fqn, i as Element, N as NonEmptyArray, j as ElementKindSpecification, l as ElementShape, s as Color, h as BorderStyle, K as KeysOf } from '../shared/core.BJfn72tj.mjs';
1
+ import { LastArrayElement, Split, Simplify, Writable, IfNever, TupleToUnion, Tagged, IsStringLiteral as IsStringLiteral$1, IsLiteral } from 'type-fest';
2
+ import { L as LikeC4Model } from '../shared/core.5Z5cpENq.mjs';
3
+ import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, bs as ViewRuleStyle, aT as AutoLayoutDirection, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, av as RelationshipArrowType, ay as RelationshipLineType, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, a9 as ParsedLikeC4Model } from '../shared/core.CJaCUZQ9.mjs';
4
+ import { F as Fqn, l as Element, N as NonEmptyArray, o as ElementShape, v as Color, k as BorderStyle, S as ShapeSize, G as SpacingSize, J as TextSize, m as ElementKindSpecification, K as KeysOf } from '../shared/core.QP35c488.mjs';
5
5
  import { IsStringLiteral } from 'type-fest/source/is-literal';
6
6
 
7
7
  type ToNested$1<T, Id extends string> = T extends TypesNested<infer P, any, any, any, any, any, any, any, infer F> ? TypesNested<`${P}.${Id}`, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], `${P}.${Id}` | F> : T extends AnyTypes ? TypesNested<Id, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], Id | T['DeploymentFqn']> : never;
@@ -148,7 +148,7 @@ declare namespace ViewPredicate {
148
148
  type WhereTag<Tag extends string> = `tag ${'is' | 'is not'} #${Tag}`;
149
149
  type WhereKind<Kind extends string> = `kind ${'is' | 'is not'} ${Kind}`;
150
150
  type WhereParticipant<Types extends AnyTypes> = `${Participant}.${WhereTag<Types['Tag']> | WhereKind<Types['ElementKind']>}`;
151
- type WhereEq<Types extends AnyTypes> = ViewPredicate.WhereTag<Types['Tag']> | ViewPredicate.WhereKind<Types['ElementKind']> | ViewPredicate.WhereParticipant<Types>;
151
+ type WhereEq<Types extends AnyTypes> = ViewPredicate.WhereTag<Types['Tag']> | ViewPredicate.WhereKind<Types['ElementKind']> | ViewPredicate.WhereKind<Types['DeploymentKind']> | ViewPredicate.WhereParticipant<Types>;
152
152
  type WhereOperator<Types extends AnyTypes> = ViewPredicate.WhereEq<Types> | {
153
153
  and: NonEmptyArray<ViewPredicate.WhereOperator<Types>>;
154
154
  or?: never;
@@ -414,6 +414,9 @@ type NewElementProps<Tag, Metadata> = {
414
414
  style?: {
415
415
  border?: BorderStyle;
416
416
  opacity?: number;
417
+ size?: ShapeSize;
418
+ padding?: SpacingSize;
419
+ textSize?: TextSize;
417
420
  };
418
421
  };
419
422
  type NewDeploymentNodeProps<Tag, Metadata> = {
@@ -432,6 +435,9 @@ type NewDeploymentNodeProps<Tag, Metadata> = {
432
435
  style?: {
433
436
  border?: BorderStyle;
434
437
  opacity?: number;
438
+ size?: ShapeSize;
439
+ padding?: SpacingSize;
440
+ textSize?: TextSize;
435
441
  };
436
442
  };
437
443
  type NewViewProps<Tag> = {
@@ -1,7 +1,7 @@
1
- import { LastArrayElement, Split, Simplify, Writable, IfNever, Tagged, IsLiteral, IsStringLiteral as IsStringLiteral$1, TupleToUnion } from 'type-fest';
2
- import { L as LikeC4Model } from '../shared/core.D4wZW7zR.js';
3
- import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bs as ViewRuleStyle, aT as AutoLayoutDirection, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, av as RelationshipArrowType, ay as RelationshipLineType, a9 as ParsedLikeC4Model } from '../shared/core.Bs71hdR4.js';
4
- import { F as Fqn, i as Element, N as NonEmptyArray, j as ElementKindSpecification, l as ElementShape, s as Color, h as BorderStyle, K as KeysOf } from '../shared/core.BJfn72tj.js';
1
+ import { LastArrayElement, Split, Simplify, Writable, IfNever, TupleToUnion, Tagged, IsStringLiteral as IsStringLiteral$1, IsLiteral } from 'type-fest';
2
+ import { L as LikeC4Model } from '../shared/core.BJfq046m.js';
3
+ import { D as DeploymentElement, i as DeploymentRelation, at as ModelRelation, bx as Participant, A as CustomElementExpr, B as CustomRelationExpr, bs as ViewRuleStyle, aT as AutoLayoutDirection, X as ExpressionV2, N as Expression, L as LikeC4View, b0 as DeploymentView, bd as ElementView, av as RelationshipArrowType, ay as RelationshipLineType, ax as RelationshipKindSpecification, g as DeploymentNodeKindSpecification, a9 as ParsedLikeC4Model } from '../shared/core.DsDq-blc.js';
4
+ import { F as Fqn, l as Element, N as NonEmptyArray, o as ElementShape, v as Color, k as BorderStyle, S as ShapeSize, G as SpacingSize, J as TextSize, m as ElementKindSpecification, K as KeysOf } from '../shared/core.QP35c488.js';
5
5
  import { IsStringLiteral } from 'type-fest/source/is-literal';
6
6
 
7
7
  type ToNested$1<T, Id extends string> = T extends TypesNested<infer P, any, any, any, any, any, any, any, infer F> ? TypesNested<`${P}.${Id}`, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], `${P}.${Id}` | F> : T extends AnyTypes ? TypesNested<Id, T['ElementKind'], T['Fqn'], T['ViewId'], T['RelationshipKind'], T['Tag'], T['MetadataKey'], T['DeploymentKind'], Id | T['DeploymentFqn']> : never;
@@ -148,7 +148,7 @@ declare namespace ViewPredicate {
148
148
  type WhereTag<Tag extends string> = `tag ${'is' | 'is not'} #${Tag}`;
149
149
  type WhereKind<Kind extends string> = `kind ${'is' | 'is not'} ${Kind}`;
150
150
  type WhereParticipant<Types extends AnyTypes> = `${Participant}.${WhereTag<Types['Tag']> | WhereKind<Types['ElementKind']>}`;
151
- type WhereEq<Types extends AnyTypes> = ViewPredicate.WhereTag<Types['Tag']> | ViewPredicate.WhereKind<Types['ElementKind']> | ViewPredicate.WhereParticipant<Types>;
151
+ type WhereEq<Types extends AnyTypes> = ViewPredicate.WhereTag<Types['Tag']> | ViewPredicate.WhereKind<Types['ElementKind']> | ViewPredicate.WhereKind<Types['DeploymentKind']> | ViewPredicate.WhereParticipant<Types>;
152
152
  type WhereOperator<Types extends AnyTypes> = ViewPredicate.WhereEq<Types> | {
153
153
  and: NonEmptyArray<ViewPredicate.WhereOperator<Types>>;
154
154
  or?: never;
@@ -414,6 +414,9 @@ type NewElementProps<Tag, Metadata> = {
414
414
  style?: {
415
415
  border?: BorderStyle;
416
416
  opacity?: number;
417
+ size?: ShapeSize;
418
+ padding?: SpacingSize;
419
+ textSize?: TextSize;
417
420
  };
418
421
  };
419
422
  type NewDeploymentNodeProps<Tag, Metadata> = {
@@ -432,6 +435,9 @@ type NewDeploymentNodeProps<Tag, Metadata> = {
432
435
  style?: {
433
436
  border?: BorderStyle;
434
437
  opacity?: number;
438
+ size?: ShapeSize;
439
+ padding?: SpacingSize;
440
+ textSize?: TextSize;
435
441
  };
436
442
  };
437
443
  type NewViewProps<Tag> = {
@@ -1,7 +1,7 @@
1
- import { l, L as LikeC4Model, i, d } from '../shared/core.PYycpzvA.mjs';
2
- import { b as t, m, p as parentFqn, c as isSameHierarchy, n as nameFromFqn, a as i$1, l as l$1, d as t$1 } from '../shared/core.CCyhaU-4.mjs';
3
- import { b as isElementPredicateExpr, o, c as isScopedElementView, D as DeploymentElement, n as n$1, d as DefaultThemeColor, e as DefaultElementShape } from '../shared/core.0PxLtLpP.mjs';
4
- import { u, i as invariant } from '../shared/core.Bezy7K65.mjs';
1
+ import { i, l, L as LikeC4Model, d } from '../shared/core.Cz9Oy_FA.mjs';
2
+ import { b as t, m, n as nameFromFqn, c as isSameHierarchy, p as parentFqn, l as l$1, a as i$1, d as t$1 } from '../shared/core.CeefT_JU.mjs';
3
+ import { o, b as isElementPredicateExpr, n as n$1, D as DeploymentElement, c as isScopedElementView, d as DefaultElementShape, e as DefaultThemeColor } from '../shared/core.CYNYaH2U.mjs';
4
+ import { u, i as invariant } from '../shared/core.BfZZXtur.mjs';
5
5
 
6
6
  function n(...r){return u(Object.fromEntries,r)}
7
7
 
@@ -614,6 +614,9 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
614
614
  style: d({
615
615
  border: specStyle?.border,
616
616
  opacity: specStyle?.opacity,
617
+ size: specStyle?.size,
618
+ padding: specStyle?.padding,
619
+ textSize: specStyle?.textSize,
617
620
  ...style
618
621
  }, l$1),
619
622
  links,
@@ -811,6 +814,9 @@ function builder(spec, _elements = /* @__PURE__ */ new Map(), _relations = [], _
811
814
  style: d({
812
815
  border: specStyle?.border,
813
816
  opacity: specStyle?.opacity,
817
+ size: specStyle?.size,
818
+ padding: specStyle?.padding,
819
+ textSize: specStyle?.textSize,
814
820
  ...style
815
821
  }, l$1),
816
822
  ...links && { links: mapLinks(links) },
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- const model_index = require('../shared/core.DxJ1KbOs.cjs');
4
- const compute = require('../shared/core.Db_OTRdC.cjs');
5
- const view = require('../shared/core.uxHtIZaH.cjs');
6
- const object_hash = require('../shared/core.FACQZmma.cjs');
7
- const chunkRAAYCPUM = require('../shared/core.CKYxnFEl.cjs');
3
+ const model_index = require('../shared/core.D91uYrqI.cjs');
4
+ const compute = require('../shared/core.DnPc_NDM.cjs');
5
+ const view = require('../shared/core.CAkSSvJ6.cjs');
6
+ const object_hash = require('../shared/core.BjR0D3IO.cjs');
7
+ const chunkWIMGWYZL = require('../shared/core.DqQrj2oQ.cjs');
8
8
 
9
- function y(...t){return chunkRAAYCPUM.u(f,t)}function f(t,e){if(!object_hash.i(e,1))return {...t};if(!object_hash.i(e,2)){let{[e[0]]:r,...m}=t;return m}let o={...t};for(let r of e)delete o[r];return o}
9
+ function y(...t){return chunkWIMGWYZL.u(f,t)}function f(t,e){if(!object_hash.i(e,1))return {...t};if(!object_hash.i(e,2)){let{[e[0]]:r,...m}=t;return m}let o={...t};for(let r of e)delete o[r];return o}
10
10
 
11
11
  function resolveRulesExtendedViews(unresolvedViews) {
12
12
  const g = new model_index.Graph({
@@ -1,8 +1,8 @@
1
- export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.CwZmAghJ.cjs';
2
- export { c as computeRelationshipsView } from '../shared/core.Lh2RFJf1.cjs';
3
- import { L as LikeC4View, C as ComputedView, a as ComputedLikeC4Model } from '../shared/core.C0ygs98j.cjs';
1
+ export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.BgPZ8Tl8.cjs';
2
+ export { c as computeRelationshipsView } from '../shared/core.CT1nzYjO.cjs';
3
+ import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.BS_nXBsP.cjs';
4
4
  import 'type-fest';
5
- import '../shared/core.BJfn72tj.cjs';
5
+ import '../shared/core.QP35c488.cjs';
6
6
 
7
7
  /**
8
8
  * Resolve rules of extended views
@@ -1,8 +1,8 @@
1
- export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.Cmfo_N4F.mjs';
2
- export { c as computeRelationshipsView } from '../shared/core.88YY6vtF.mjs';
3
- import { L as LikeC4View, C as ComputedView, a as ComputedLikeC4Model } from '../shared/core.DjMYkPMQ.mjs';
1
+ export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.5Z5cpENq.mjs';
2
+ export { c as computeRelationshipsView } from '../shared/core.DuuS_BrY.mjs';
3
+ import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.CJaCUZQ9.mjs';
4
4
  import 'type-fest';
5
- import '../shared/core.BJfn72tj.mjs';
5
+ import '../shared/core.QP35c488.mjs';
6
6
 
7
7
  /**
8
8
  * Resolve rules of extended views
@@ -1,8 +1,8 @@
1
- export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.D4wZW7zR.js';
2
- export { c as computeRelationshipsView } from '../shared/core.CNUzoKM7.js';
3
- import { L as LikeC4View, C as ComputedView, a as ComputedLikeC4Model } from '../shared/core.Bs71hdR4.js';
1
+ export { C as ComputeViewResult, c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.BJfq046m.js';
2
+ export { c as computeRelationshipsView } from '../shared/core.Dp3HTiRV.js';
3
+ import { L as LikeC4View, C as ComputedLikeC4Model, a as ComputedView } from '../shared/core.DsDq-blc.js';
4
4
  import 'type-fest';
5
- import '../shared/core.BJfn72tj.js';
5
+ import '../shared/core.QP35c488.js';
6
6
 
7
7
  /**
8
8
  * Resolve rules of extended views
@@ -1,9 +1,9 @@
1
- import { G as Graph, r, w as willCreateCycle, t as topologicalSortExports, l, i as i$1 } from '../shared/core.PYycpzvA.mjs';
2
- export { c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.PYycpzvA.mjs';
3
- export { c as computeRelationshipsView } from '../shared/core.El-gigOM.mjs';
4
- import { i as isExtendsElementView, a as isElementView } from '../shared/core.0PxLtLpP.mjs';
5
- import { a as i, m } from '../shared/core.CCyhaU-4.mjs';
6
- import { u } from '../shared/core.Bezy7K65.mjs';
1
+ import { G as Graph, r, w as willCreateCycle, t as topologicalSortExports, i as i$1, l } from '../shared/core.Cz9Oy_FA.mjs';
2
+ export { c as computeView, a as computeViews, u as unsafeComputeView } from '../shared/core.Cz9Oy_FA.mjs';
3
+ export { c as computeRelationshipsView } from '../shared/core.CE-kCVHA.mjs';
4
+ import { i as isExtendsElementView, a as isElementView } from '../shared/core.CYNYaH2U.mjs';
5
+ import { a as i, m } from '../shared/core.CeefT_JU.mjs';
6
+ import { u } from '../shared/core.BfZZXtur.mjs';
7
7
 
8
8
  function y(...t){return u(f,t)}function f(t,e){if(!i(e,1))return {...t};if(!i(e,2)){let{[e[0]]:r,...m}=t;return m}let o={...t};for(let r of e)delete o[r];return o}
9
9
 
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- const chunkRAAYCPUM = require('./shared/core.CKYxnFEl.cjs');
4
- const view = require('./shared/core.uxHtIZaH.cjs');
5
- const model_index = require('./shared/core.DxJ1KbOs.cjs');
6
- const compute = require('./shared/core.Db_OTRdC.cjs');
3
+ const chunkWIMGWYZL = require('./shared/core.DqQrj2oQ.cjs');
4
+ const view = require('./shared/core.CAkSSvJ6.cjs');
5
+ const model_index = require('./shared/core.D91uYrqI.cjs');
6
+ const compute = require('./shared/core.DnPc_NDM.cjs');
7
7
  const types_index = require('./types/index.cjs');
8
- const object_hash = require('./shared/core.FACQZmma.cjs');
8
+ const object_hash = require('./shared/core.BjR0D3IO.cjs');
9
9
  const utils_index = require('./utils/index.cjs');
10
10
 
11
11
  const { min: min$4, max: max$4 } = Math;
@@ -443,11 +443,6 @@ const labConstants = {
443
443
  Yn: 1,
444
444
  Zn: 1.08883,
445
445
 
446
- t0: 0.137931034, // 4 / 29
447
- t1: 0.206896552, // 6 / 29
448
- t2: 0.12841855, // 3 * t1 * t1
449
- t3: 0.008856452, // t1 * t1 * t1,
450
-
451
446
  kE: 216.0 / 24389.0,
452
447
  kKE: 8.0,
453
448
  kK: 24389.0 / 27.0,
@@ -3646,7 +3641,47 @@ const defaultTheme = {
3646
3641
  elements: ElementColors,
3647
3642
  relationships: RelationshipColors,
3648
3643
  font: "Arial",
3649
- shadow: "#0a0a0a"
3644
+ shadow: "#0a0a0a",
3645
+ sizes: {
3646
+ xs: {
3647
+ width: 120,
3648
+ height: 80
3649
+ },
3650
+ sm: {
3651
+ width: 180,
3652
+ height: 110
3653
+ },
3654
+ md: {
3655
+ width: 320,
3656
+ height: 180
3657
+ },
3658
+ lg: {
3659
+ width: 420,
3660
+ height: 234
3661
+ },
3662
+ xl: {
3663
+ width: 520,
3664
+ height: 290
3665
+ }
3666
+ },
3667
+ spacing: {
3668
+ xs: 8,
3669
+ // 0.5rem
3670
+ sm: 10,
3671
+ // 0.625rem
3672
+ md: 24,
3673
+ // 1.5rem = 16px + 8px
3674
+ lg: 32,
3675
+ // 2rem
3676
+ xl: 48
3677
+ },
3678
+ textSizes: {
3679
+ xs: 12,
3680
+ sm: 14,
3681
+ md: 19,
3682
+ lg: 24,
3683
+ xl: 32
3684
+ }
3650
3685
  };
3651
3686
  function computeColorValues(color) {
3652
3687
  if (color.match(/^#([0-9a-f]{3}){1,2}$/i)) {
@@ -3672,9 +3707,9 @@ function computeColorValues(color) {
3672
3707
  }
3673
3708
  }
3674
3709
 
3675
- exports.invariant = chunkRAAYCPUM.invariant;
3676
- exports.nonNullable = chunkRAAYCPUM.nonNullable;
3677
- exports.nonexhaustive = chunkRAAYCPUM.nonexhaustive;
3710
+ exports.invariant = chunkWIMGWYZL.invariant;
3711
+ exports.nonNullable = chunkWIMGWYZL.nonNullable;
3712
+ exports.nonexhaustive = chunkWIMGWYZL.nonexhaustive;
3678
3713
  exports.AsFqn = view.AsFqn;
3679
3714
  exports.BorderStyles = view.BorderStyles;
3680
3715
  Object.defineProperty(exports, "ComputedNode", {
@@ -3688,7 +3723,10 @@ Object.defineProperty(exports, "ComputedView", {
3688
3723
  exports.DefaultArrowType = view.DefaultArrowType;
3689
3724
  exports.DefaultElementShape = view.DefaultElementShape;
3690
3725
  exports.DefaultLineStyle = view.DefaultLineStyle;
3726
+ exports.DefaultPaddingSize = view.DefaultPaddingSize;
3691
3727
  exports.DefaultRelationshipColor = view.DefaultRelationshipColor;
3728
+ exports.DefaultShapeSize = view.DefaultShapeSize;
3729
+ exports.DefaultTextSize = view.DefaultTextSize;
3692
3730
  exports.DefaultThemeColor = view.DefaultThemeColor;
3693
3731
  Object.defineProperty(exports, "DeploymentElement", {
3694
3732
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { L as LikeC4Theme, H as HexColorLiteral, T as ThemeColorValues } from './shared/core.BJfn72tj.cjs';
2
- export { A as AsFqn, h as BorderStyle, B as BorderStyles, s as Color, t as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultThemeColor, i as Element, f as ElementKind, j as ElementKindSpecification, k as ElementKindSpecificationStyle, l as ElementShape, g as ElementShapes, m as ElementStyle, v as ElementThemeColorValues, u as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, n as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, w as RelationshipThemeColorValues, R as RelationshipThemeColors, o as Tag, p as TagSpec, x as ThemeColor, q as TypedElement, X as XYPoint, r as isThemeColor } from './shared/core.BJfn72tj.cjs';
3
- export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, a as ComputedLikeC4Model, az as ComputedNode, C as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.C0ygs98j.cjs';
1
+ import { H as HexColorLiteral, T as ThemeColorValues, L as LikeC4Theme } from './shared/core.QP35c488.cjs';
2
+ export { A as AsFqn, k as BorderStyle, B as BorderStyles, v as Color, w as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, o as ElementShape, j as ElementShapes, p as ElementStyle, y as ElementThemeColorValues, x as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, q as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, z as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, G as SpacingSize, r as Tag, s as TagSpec, J as TextSize, M as ThemeColor, t as TypedElement, X as XYPoint, u as isThemeColor } from './shared/core.QP35c488.cjs';
3
+ export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, C as ComputedLikeC4Model, az as ComputedNode, a as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.BS_nXBsP.cjs';
4
4
  export { DefaultMap, LinkedList, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique, stringHash, symmetricDifference, toArray, toSet, union } from './utils/index.cjs';
5
- export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.CwZmAghJ.cjs';
6
- export { c as computeRelationshipsView } from './shared/core.Lh2RFJf1.cjs';
5
+ export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.BgPZ8Tl8.cjs';
6
+ export { c as computeRelationshipsView } from './shared/core.CT1nzYjO.cjs';
7
7
  export { OverviewGraph, ViewChange } from './types/index.cjs';
8
- export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.BIZD3l1g.cjs';
8
+ export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.BYs5deiY.cjs';
9
9
  export { default as objectHash } from '/home/runner/work/likec4/likec4/node_modules/@types/object-hash/index.d.ts';
10
10
  import 'type-fest';
11
11
 
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
1
- import { L as LikeC4Theme, H as HexColorLiteral, T as ThemeColorValues } from './shared/core.BJfn72tj.mjs';
2
- export { A as AsFqn, h as BorderStyle, B as BorderStyles, s as Color, t as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultThemeColor, i as Element, f as ElementKind, j as ElementKindSpecification, k as ElementKindSpecificationStyle, l as ElementShape, g as ElementShapes, m as ElementStyle, v as ElementThemeColorValues, u as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, n as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, w as RelationshipThemeColorValues, R as RelationshipThemeColors, o as Tag, p as TagSpec, x as ThemeColor, q as TypedElement, X as XYPoint, r as isThemeColor } from './shared/core.BJfn72tj.mjs';
3
- export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, a as ComputedLikeC4Model, az as ComputedNode, C as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.DjMYkPMQ.mjs';
1
+ import { H as HexColorLiteral, T as ThemeColorValues, L as LikeC4Theme } from './shared/core.QP35c488.mjs';
2
+ export { A as AsFqn, k as BorderStyle, B as BorderStyles, v as Color, w as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, o as ElementShape, j as ElementShapes, p as ElementStyle, y as ElementThemeColorValues, x as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, q as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, z as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, G as SpacingSize, r as Tag, s as TagSpec, J as TextSize, M as ThemeColor, t as TypedElement, X as XYPoint, u as isThemeColor } from './shared/core.QP35c488.mjs';
3
+ export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, C as ComputedLikeC4Model, az as ComputedNode, a as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.CJaCUZQ9.mjs';
4
4
  export { DefaultMap, LinkedList, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique, stringHash, symmetricDifference, toArray, toSet, union } from './utils/index.mjs';
5
- export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.Cmfo_N4F.mjs';
6
- export { c as computeRelationshipsView } from './shared/core.88YY6vtF.mjs';
5
+ export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.5Z5cpENq.mjs';
6
+ export { c as computeRelationshipsView } from './shared/core.DuuS_BrY.mjs';
7
7
  export { OverviewGraph, ViewChange } from './types/index.mjs';
8
- export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.CajOK_t3.mjs';
8
+ export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.D0KD4FiT.mjs';
9
9
  export { default as objectHash } from '/home/runner/work/likec4/likec4/node_modules/@types/object-hash/index.d.ts';
10
10
  import 'type-fest';
11
11
 
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { L as LikeC4Theme, H as HexColorLiteral, T as ThemeColorValues } from './shared/core.BJfn72tj.js';
2
- export { A as AsFqn, h as BorderStyle, B as BorderStyles, s as Color, t as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultThemeColor, i as Element, f as ElementKind, j as ElementKindSpecification, k as ElementKindSpecificationStyle, l as ElementShape, g as ElementShapes, m as ElementStyle, v as ElementThemeColorValues, u as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, n as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, w as RelationshipThemeColorValues, R as RelationshipThemeColors, o as Tag, p as TagSpec, x as ThemeColor, q as TypedElement, X as XYPoint, r as isThemeColor } from './shared/core.BJfn72tj.js';
3
- export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, a as ComputedLikeC4Model, az as ComputedNode, C as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.Bs71hdR4.js';
1
+ import { H as HexColorLiteral, T as ThemeColorValues, L as LikeC4Theme } from './shared/core.QP35c488.js';
2
+ export { A as AsFqn, k as BorderStyle, B as BorderStyles, v as Color, w as ColorLiteral, C as CustomColor, D as DefaultElementShape, e as DefaultPaddingSize, f as DefaultShapeSize, g as DefaultTextSize, h as DefaultThemeColor, l as Element, i as ElementKind, m as ElementKindSpecification, n as ElementKindSpecificationStyle, o as ElementShape, j as ElementShapes, p as ElementStyle, y as ElementThemeColorValues, x as ElementThemeColors, E as ExclusiveUnion, F as Fqn, I as IconUrl, a as IteratorLike, K as KeysOf, q as Link, c as NTuple, N as NonEmptyArray, b as NonEmptyReadonlyArray, P as Point, d as Predicate, z as RelationshipThemeColorValues, R as RelationshipThemeColors, S as ShapeSize, G as SpacingSize, r as Tag, s as TagSpec, J as TextSize, M as ThemeColor, t as TypedElement, X as XYPoint, u as isThemeColor } from './shared/core.QP35c488.js';
3
+ export { as as AbstractRelation, ag as AndOperator, a5 as AnyParsedLikeC4Model, aT as AutoLayoutDirection, aW as BBox, aU as BasicElementView, aV as BasicView, aX as ComputedDeploymentView, aY as ComputedDynamicView, aZ as ComputedEdge, a_ as ComputedElementView, C as ComputedLikeC4Model, az as ComputedNode, a as ComputedView, a$ as CustomColorDefinitions, A as CustomElementExpr, B as CustomRelationExpr, ap as DefaultArrowType, aq as DefaultLineStyle, ar as DefaultRelationshipColor, b as DeployedInstance, D as DeploymentElement, c as DeploymentElementStyle, d as DeploymentNode, f as DeploymentNodeKind, g as DeploymentNodeKindSpecification, h as DeploymentRef, i as DeploymentRelation, b0 as DeploymentView, b1 as DeploymentViewRule, b2 as DeploymentViewRulePredicate, b3 as DeploymentViewRuleStyle, b4 as DiagramEdge, aA as DiagramNode, b5 as DiagramView, E as DirectRelationExpr, b6 as DynamicView, b7 as DynamicViewIncludeRule, b8 as DynamicViewParallelSteps, b9 as DynamicViewRule, ba as DynamicViewStep, bb as DynamicViewStepOrParallel, bc as EdgeId, F as ElementExpression, G as ElementKindExpr, bw as ElementNotation, H as ElementPredicateExpression, I as ElementRefExpr, J as ElementTagExpr, bd as ElementView, K as ElementWhereExpr, ah as EqualOperator, M as ExpandedElementExpr, e as Expr, N as Expression, X as ExpressionV2, be as ExtendsElementView, ai as Filterable, Y as FqnExpr, Z as FqnRef, a6 as GenericLikeC4Model, $ as GlobalDynamicPredicates, a0 as GlobalPredicateId, a1 as GlobalPredicates, a2 as GlobalStyleID, a3 as GlobalStyles, Q as InOutExpr, O as IncomingExpr, aj as KindEqual, a7 as LayoutedLikeC4Model, a8 as LikeC4ModelDump, L as LikeC4View, a4 as ModelGlobals, at as ModelRelation, bf as NodeId, R as NonWilcard, ak as NotOperator, al as OperatorPredicate, am as OrOperator, S as OutgoingExpr, a9 as ParsedLikeC4Model, P as PredicateSelector, _ as RelationExpr, T as RelationExpression, au as RelationId, U as RelationPredicateExpression, V as RelationWhereExpr, av as RelationshipArrowType, aw as RelationshipKind, ax as RelationshipKindSpecification, ay as RelationshipLineType, bg as ScopedElementView, bh as StepEdgeId, bi as StepEdgeIdLiteral, an as TagEqual, bj as ViewAutoLayout, bk as ViewId, bl as ViewManualLayout, bm as ViewRule, bn as ViewRuleAutoLayout, bo as ViewRuleGlobalPredicateRef, bp as ViewRuleGlobalStyle, bq as ViewRuleGroup, br as ViewRulePredicate, bs as ViewRuleStyle, bt as ViewRuleStyleOrGlobalRef, bu as ViewWithHash, bv as ViewWithNotation, ao as WhereOperator, W as WildcardExpr, aB as extractStep, aC as getBBoxCenter, aD as getParallelStepsPrefix, aa as isAndOperator, aE as isAutoLayoutDirection, j as isCustomElement, k as isCustomRelationExpr, aF as isDeploymentView, aG as isDynamicView, aH as isDynamicViewParallelSteps, l as isElement, m as isElementKindExpr, n as isElementPredicateExpr, o as isElementRef, p as isElementTagExpr, aI as isElementView, q as isElementWhere, r as isExpandedElementExpr, aJ as isExtendsElementView, t as isInOut, s as isIncoming, ab as isKindEqual, ac as isNotOperator, ad as isOrOperator, u as isOutgoing, v as isRelation, w as isRelationExpression, x as isRelationPredicateExpr, y as isRelationWhere, aK as isScopedElementView, aL as isStepEdgeId, ae as isTagEqual, aM as isViewRuleAutoLayout, aN as isViewRuleGlobalPredicateRef, aO as isViewRuleGlobalStyle, aP as isViewRuleGroup, aQ as isViewRulePredicate, aR as isViewRuleStyle, z as isWildcard, aS as stepEdgeId, af as whereOperatorAsPredicate } from './shared/core.DsDq-blc.js';
4
4
  export { DefaultMap, LinkedList, Queue, Stack, commonHead, compareNatural, compareRelations, delay, difference, equalsSet, getOrCreate, hasAtLeast, ifilter, ifind, iflat, imap, intersection, ireduce, isIterable, isNonEmptyArray, isString, isome, iunique, stringHash, symmetricDifference, toArray, toSet, union } from './utils/index.js';
5
- export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.D4wZW7zR.js';
6
- export { c as computeRelationshipsView } from './shared/core.CNUzoKM7.js';
5
+ export { A as AnyAux, b as Aux, C as ComputeViewResult, d as LikeC4DeploymentModel, L as LikeC4Model, e as LikeC4ViewModel, c as computeView, a as computeViews, u as unsafeComputeView } from './shared/core.BJfq046m.js';
6
+ export { c as computeRelationshipsView } from './shared/core.Dp3HTiRV.js';
7
7
  export { OverviewGraph, ViewChange } from './types/index.js';
8
- export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.BtISRjMA.js';
8
+ export { I as IterableContainer, R as ReorderedArray, a as ancestorsFqn, c as commonAncestor, b as compareByFqnHierarchically, d as compareFqnHierarchically, h as hierarchyDistance, e as hierarchyLevel, i as isAncestor, f as isDescendantOf, g as isSameHierarchy, n as nameFromFqn, p as parentFqn, s as sortByFqnHierarchically, j as sortNaturalByFqn, k as sortParentsFirst } from './shared/core.DQCc-Jxk.js';
9
9
  export { default as objectHash } from '/home/runner/work/likec4/likec4/node_modules/@types/object-hash/index.d.ts';
10
10
  import 'type-fest';
11
11