@likec4/core 1.25.1 → 1.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder/index.d.mts +4 -4
- package/dist/builder/index.d.ts +4 -4
- package/dist/builder/index.mjs +4 -4
- package/dist/compute-view/index.d.mts +5 -5
- package/dist/compute-view/index.d.ts +5 -5
- package/dist/compute-view/index.mjs +6 -6
- package/dist/index.d.mts +9 -8
- package/dist/index.d.ts +9 -8
- package/dist/index.mjs +6 -6
- package/dist/model/index.d.mts +7 -148
- package/dist/model/index.d.ts +7 -148
- package/dist/model/index.mjs +1 -1
- package/dist/shared/core.-qjOvsEL.d.ts +146 -0
- package/dist/shared/{core.Bhx0OGK8.d.mts → core.30yYKXcZ.d.mts} +2 -1
- package/dist/shared/{core.Bhx0OGK8.d.ts → core.30yYKXcZ.d.ts} +2 -1
- package/dist/shared/{core.DmBjVt1u.mjs → core.BBJd-FqJ.mjs} +1 -1
- package/dist/shared/{core.B4wY1NqR.d.mts → core.BH59D8Ji.d.ts} +8 -8
- package/dist/shared/{core.DQMSDiu8.mjs → core.BqezHsjR.mjs} +96 -96
- package/dist/shared/{core.D1_bU4dO.d.mts → core.Brmu7VBL.d.mts} +12 -12
- package/dist/shared/{core.BsAIrb_r.d.ts → core.CIbWBWW3.d.ts} +1 -1
- package/dist/shared/{core.CVZbbLy6.mjs → core.CcjDE4j7.mjs} +4 -4
- package/dist/shared/{core.B4fHpdUJ.d.ts → core.Cpd5mZgF.d.ts} +12 -12
- package/dist/shared/{core.Btj1m6H6.mjs → core.DRxv3HIl.mjs} +2 -1
- package/dist/shared/{core.C4dHhcrI.d.mts → core.Dd1nCiNx.d.mts} +2 -2
- package/dist/shared/{core.RiWsY3jz.d.mts → core.HKn0jlo_.d.mts} +1 -1
- package/dist/shared/{core.Dw2eQBtz.d.ts → core.mD0TIdz_.d.ts} +2 -2
- package/dist/shared/core.oI7caxVx.d.mts +146 -0
- package/dist/shared/{core.DCetokL7.mjs → core.yND74qFI.mjs} +1 -1
- package/dist/shared/{core.CWZqfEHX.d.ts → core.z6g06scf.d.mts} +8 -8
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.d.mts +56 -3
- package/dist/utils/index.d.ts +56 -3
- package/dist/utils/index.mjs +212 -4
- package/package.json +4 -4
- package/src/builder/_types.ts +2 -2
- package/src/compute-view/compute-view.ts +10 -10
- package/src/compute-view/utils/with-readable-edges.ts +2 -2
- package/src/errors/index.ts +4 -3
- package/src/index.ts +11 -1
- package/src/model/DeploymentModel.ts +2 -2
- package/src/model/LikeC4Model.ts +4 -4
- package/src/model/types.ts +7 -8
- package/src/types/_common.ts +2 -0
- package/src/types/index.ts +7 -6
- package/src/types/{model.ts → model-data.ts} +14 -14
- package/src/utils/index.ts +1 -0
- package/src/utils/mnemonist.ts +1 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { E as ElementModel, d as DeploymentElementModel, A as AnyAux, e as DeploymentNodeModel, D as DeployedInstanceModel, j as RelationshipsAccum, R as RelationshipModel, f as DeploymentRelationModel } from './core.Cpd5mZgF.js';
|
|
2
|
+
import { F as Fqn, a as IteratorLike } from './core.30yYKXcZ.js';
|
|
3
|
+
|
|
4
|
+
interface Connection<Elem = ElementModel | DeploymentElementModel, Id = string> {
|
|
5
|
+
readonly id: Id;
|
|
6
|
+
readonly source: Elem;
|
|
7
|
+
readonly target: Elem;
|
|
8
|
+
/**
|
|
9
|
+
* Common ancestor of the source and target elements.
|
|
10
|
+
* Represents the boundary of the connection.
|
|
11
|
+
*/
|
|
12
|
+
readonly boundary: Elem | null;
|
|
13
|
+
/**
|
|
14
|
+
* Human readable expression of the connection
|
|
15
|
+
* Mostly used for testing and debugging
|
|
16
|
+
*/
|
|
17
|
+
readonly expression: string;
|
|
18
|
+
mergeWith(this: Connection<Elem, Id>, other: typeof this): typeof this;
|
|
19
|
+
nonEmpty(): boolean;
|
|
20
|
+
difference(this: Connection<Elem, Id>, other: typeof this): typeof this;
|
|
21
|
+
intersect(this: Connection<Elem, Id>, other: typeof this): typeof this;
|
|
22
|
+
equals(other: Connection): boolean;
|
|
23
|
+
}
|
|
24
|
+
declare namespace Connection {
|
|
25
|
+
type ConnectionPredicate = <C extends Connection<{
|
|
26
|
+
id: string;
|
|
27
|
+
}, any>>(connection: C) => boolean;
|
|
28
|
+
type ElementId = Fqn | string;
|
|
29
|
+
export const isInside: (fqn: ElementId) => ConnectionPredicate;
|
|
30
|
+
export const isDirectedBetween: (source: ElementId, target: ElementId) => ConnectionPredicate;
|
|
31
|
+
export const isAnyBetween: (source: ElementId, target: ElementId) => ConnectionPredicate;
|
|
32
|
+
export const isIncoming: (target: ElementId) => ConnectionPredicate;
|
|
33
|
+
export const isOutgoing: (source: ElementId) => ConnectionPredicate;
|
|
34
|
+
export const isAnyInOut: (source: ElementId) => ConnectionPredicate;
|
|
35
|
+
export { };
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare const customInspectSymbol: unique symbol;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Connection is ephemeral entity, result of a resolving relationships between source and target.
|
|
42
|
+
* Includes direct relationships and/or between their nested elements.
|
|
43
|
+
*/
|
|
44
|
+
declare class DeploymentConnectionModel<M extends AnyAux = AnyAux> implements Connection<DeploymentElementModel<M>, M['EdgeId']> {
|
|
45
|
+
readonly source: DeploymentNodeModel<M> | DeployedInstanceModel<M>;
|
|
46
|
+
readonly target: DeploymentNodeModel<M> | DeployedInstanceModel<M>;
|
|
47
|
+
readonly relations: RelationshipsAccum<M>;
|
|
48
|
+
constructor(source: DeploymentNodeModel<M> | DeployedInstanceModel<M>, target: DeploymentNodeModel<M> | DeployedInstanceModel<M>, relations: RelationshipsAccum<M>);
|
|
49
|
+
readonly id: M['EdgeId'];
|
|
50
|
+
/**
|
|
51
|
+
* Human readable expression of the connection
|
|
52
|
+
* Mostly used for testing and debugging
|
|
53
|
+
*/
|
|
54
|
+
get expression(): string;
|
|
55
|
+
private _boundary;
|
|
56
|
+
/**
|
|
57
|
+
* Common ancestor of the source and target elements.
|
|
58
|
+
* Represents the boundary of the connection.
|
|
59
|
+
*/
|
|
60
|
+
get boundary(): DeploymentNodeModel<M> | null;
|
|
61
|
+
nonEmpty(): boolean;
|
|
62
|
+
[customInspectSymbol](depth: any, inspectOptions: any, inspect: any): string;
|
|
63
|
+
toString(): string;
|
|
64
|
+
/**
|
|
65
|
+
* Check if connection contains deployment relation,
|
|
66
|
+
* that is directly connected to source or target.
|
|
67
|
+
*/
|
|
68
|
+
hasDirectDeploymentRelation(): boolean;
|
|
69
|
+
values(): IteratorLike<RelationshipModel<M> | DeploymentRelationModel<M>>;
|
|
70
|
+
/**
|
|
71
|
+
* Merge with another connections, if it has the same source and target.
|
|
72
|
+
* Returns new connection with union of relationships.
|
|
73
|
+
*/
|
|
74
|
+
mergeWith(others: DeploymentConnectionModel<M>[]): DeploymentConnectionModel<M>;
|
|
75
|
+
/**
|
|
76
|
+
* Merge with another connection, if it has the same source and target.
|
|
77
|
+
* Returns new connection with union of relationships.
|
|
78
|
+
*/
|
|
79
|
+
mergeWith(other: DeploymentConnectionModel<M>): DeploymentConnectionModel<M>;
|
|
80
|
+
difference(other: DeploymentConnectionModel<M>): DeploymentConnectionModel<M>;
|
|
81
|
+
intersect(other: DeploymentConnectionModel<M>): DeploymentConnectionModel<M>;
|
|
82
|
+
equals(other: Connection): boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Creates a clone of the current `DeploymentConnectionModel` instance with optional overrides.
|
|
85
|
+
* if `null` is provided in overrides, the corresponding relation set will be empty.
|
|
86
|
+
*/
|
|
87
|
+
update(overrides?: {
|
|
88
|
+
model?: ReadonlySet<RelationshipModel<M>> | null;
|
|
89
|
+
deployment?: ReadonlySet<DeploymentRelationModel<M>> | null;
|
|
90
|
+
}): DeploymentConnectionModel<M>;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Connection refers to any relationships between two elements,
|
|
95
|
+
* both direct and implicit ones (between their nested elements).
|
|
96
|
+
*
|
|
97
|
+
* Merges relationships together to an single edge on the diagram.
|
|
98
|
+
*/
|
|
99
|
+
declare class ConnectionModel<M extends AnyAux = AnyAux> implements Connection<ElementModel<M>, M['EdgeId']> {
|
|
100
|
+
readonly source: ElementModel<M>;
|
|
101
|
+
readonly target: ElementModel<M>;
|
|
102
|
+
readonly relations: ReadonlySet<RelationshipModel<M>>;
|
|
103
|
+
readonly id: M['EdgeId'];
|
|
104
|
+
constructor(source: ElementModel<M>, target: ElementModel<M>, relations?: ReadonlySet<RelationshipModel<M>>);
|
|
105
|
+
private _boundary;
|
|
106
|
+
/**
|
|
107
|
+
* Common ancestor of the source and target elements.
|
|
108
|
+
* Represents the boundary of the connection.
|
|
109
|
+
*/
|
|
110
|
+
get boundary(): ElementModel<M> | null;
|
|
111
|
+
/**
|
|
112
|
+
* Human readable expression of the connection
|
|
113
|
+
* Mostly used for testing and debugging
|
|
114
|
+
*/
|
|
115
|
+
get expression(): string;
|
|
116
|
+
/**
|
|
117
|
+
* Returns true if only includes relations between the source and target elements.
|
|
118
|
+
*/
|
|
119
|
+
get isDirect(): boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Returns true if includes relations between nested elements of the source and target elements.
|
|
122
|
+
*/
|
|
123
|
+
get isImplicit(): boolean;
|
|
124
|
+
get directRelations(): ReadonlySet<RelationshipModel<M>>;
|
|
125
|
+
nonEmpty(): boolean;
|
|
126
|
+
mergeWith(other: ConnectionModel<M>): ConnectionModel<M>;
|
|
127
|
+
difference(other: ConnectionModel<M>): ConnectionModel<M>;
|
|
128
|
+
intersect(other: ConnectionModel<M>): ConnectionModel<M>;
|
|
129
|
+
equals(other: Connection): boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Returns a new instance with the updated relations.
|
|
132
|
+
*
|
|
133
|
+
* @param relations - A readonly set of `RelationshipModel` instances representing the new relations.
|
|
134
|
+
* @returns A new `ConnectionModel` instance with the updated relations.
|
|
135
|
+
*/
|
|
136
|
+
update(relations: ReadonlySet<RelationshipModel<M>>): ConnectionModel<M>;
|
|
137
|
+
[customInspectSymbol](depth: any, inspectOptions: any, inspect: any): string;
|
|
138
|
+
toString(): string;
|
|
139
|
+
/**
|
|
140
|
+
* Creates a new connection with reversed direction (target becomes source and vice versa)
|
|
141
|
+
* @param search - When true, attempts to find an existing connection between the reversed nodes
|
|
142
|
+
*/
|
|
143
|
+
reversed(search?: boolean): ConnectionModel<M>;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export { Connection as C, DeploymentConnectionModel as D, ConnectionModel as a };
|
|
@@ -52,6 +52,7 @@ interface LikeC4Theme {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
type ProjectId = Tagged<string, 'ProjectID'>;
|
|
55
56
|
type NonEmptyArray<T> = [T, ...T[]];
|
|
56
57
|
type NonEmptyReadonlyArray<T> = readonly [T, ...T[]];
|
|
57
58
|
type IconUrl = Tagged<string, 'IconUrl'> | 'none';
|
|
@@ -182,4 +183,4 @@ interface ElementKindSpecification {
|
|
|
182
183
|
readonly style: ElementKindSpecificationStyle;
|
|
183
184
|
}
|
|
184
185
|
|
|
185
|
-
export { AsFqn as A, BorderStyles as B, type CustomColor as C, DefaultElementShape as D, type ExclusiveUnion as E, type Fqn as F, type
|
|
186
|
+
export { AsFqn as A, BorderStyles as B, type CustomColor as C, DefaultElementShape as D, type ExclusiveUnion as E, type Fqn as F, type ElementThemeColorValues as G, type HexColorLiteral as H, type IconUrl as I, type RelationshipThemeColorValues as J, type KeysOf as K, type LikeC4Theme as L, type SpacingSize as M, type NonEmptyArray as N, type TextSize as O, type Point as P, type ThemeColor as Q, type RelationshipThemeColors as R, type ShapeSize as S, type ThemeColorValues as T, type XYPoint as X, type IteratorLike as a, type NonEmptyReadonlyArray as b, type NTuple as c, type Predicate as d, type ProjectId as e, DefaultPaddingSize as f, DefaultShapeSize as g, DefaultTextSize as h, DefaultThemeColor as i, ElementKind as j, ElementShapes as k, type BorderStyle as l, type Element as m, type ElementKindSpecification as n, type ElementKindSpecificationStyle as o, type ElementShape as p, type ElementStyle as q, type Link as r, type Tag as s, type TagSpec as t, type TypedElement as u, isThemeColor as v, ThemeColors as w, type Color as x, type ColorLiteral as y, type ElementThemeColors as z };
|
|
@@ -52,6 +52,7 @@ interface LikeC4Theme {
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
type ProjectId = Tagged<string, 'ProjectID'>;
|
|
55
56
|
type NonEmptyArray<T> = [T, ...T[]];
|
|
56
57
|
type NonEmptyReadonlyArray<T> = readonly [T, ...T[]];
|
|
57
58
|
type IconUrl = Tagged<string, 'IconUrl'> | 'none';
|
|
@@ -182,4 +183,4 @@ interface ElementKindSpecification {
|
|
|
182
183
|
readonly style: ElementKindSpecificationStyle;
|
|
183
184
|
}
|
|
184
185
|
|
|
185
|
-
export { AsFqn as A, BorderStyles as B, type CustomColor as C, DefaultElementShape as D, type ExclusiveUnion as E, type Fqn as F, type
|
|
186
|
+
export { AsFqn as A, BorderStyles as B, type CustomColor as C, DefaultElementShape as D, type ExclusiveUnion as E, type Fqn as F, type ElementThemeColorValues as G, type HexColorLiteral as H, type IconUrl as I, type RelationshipThemeColorValues as J, type KeysOf as K, type LikeC4Theme as L, type SpacingSize as M, type NonEmptyArray as N, type TextSize as O, type Point as P, type ThemeColor as Q, type RelationshipThemeColors as R, type ShapeSize as S, type ThemeColorValues as T, type XYPoint as X, type IteratorLike as a, type NonEmptyReadonlyArray as b, type NTuple as c, type Predicate as d, type ProjectId as e, DefaultPaddingSize as f, DefaultShapeSize as g, DefaultTextSize as h, DefaultThemeColor as i, ElementKind as j, ElementShapes as k, type BorderStyle as l, type Element as m, type ElementKindSpecification as n, type ElementKindSpecificationStyle as o, type ElementShape as p, type ElementStyle as q, type Link as r, type Tag as s, type TagSpec as t, type TypedElement as u, isThemeColor as v, ThemeColors as w, type Color as x, type ColorLiteral as y, type ElementThemeColors as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tagged, NonEmptyTuple, Simplify, MergeExclusive } from 'type-fest';
|
|
2
|
-
import { N as NonEmptyArray, F as Fqn,
|
|
2
|
+
import { N as NonEmptyArray, F as Fqn, j as ElementKind, s as Tag, p as ElementShape, x as Color, I as IconUrl, l as BorderStyle, S as ShapeSize, E as ExclusiveUnion, q as ElementStyle, r as Link, P as Point, X as XYPoint, T as ThemeColorValues, M as SpacingSize, O as TextSize, Q as ThemeColor, n as ElementKindSpecification, u as TypedElement } from './core.30yYKXcZ.js';
|
|
3
3
|
|
|
4
4
|
type EqualOperator<V> = {
|
|
5
5
|
eq: V;
|
|
@@ -803,7 +803,7 @@ interface DeploymentRelation extends AbstractRelation {
|
|
|
803
803
|
* @typeParam Views - Types of views in the model (defaults to string)
|
|
804
804
|
* @typeParam DeploymentFqns - Fully Qualified Names for deployment nodes (defaults to string)
|
|
805
805
|
*/
|
|
806
|
-
interface
|
|
806
|
+
interface ParsedLikeC4ModelData<ElementKinds extends string = string, RelationKinds extends string = string, Tags extends string = string, Fqns extends string = string, Views extends string = string, DeploymentFqns extends string = string> {
|
|
807
807
|
__?: never;
|
|
808
808
|
specification: {
|
|
809
809
|
tags: Tag<Tags>[];
|
|
@@ -823,7 +823,7 @@ interface ParsedLikeC4Model<ElementKinds extends string = string, RelationKinds
|
|
|
823
823
|
relations: Record<RelationId, DeploymentRelation>;
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
|
-
type
|
|
826
|
+
type AnyParsedLikeC4ModelData = ParsedLikeC4ModelData<any, any, any, any, any, any>;
|
|
827
827
|
/**
|
|
828
828
|
* Hook to get types from dump
|
|
829
829
|
*/
|
|
@@ -841,18 +841,18 @@ type LikeC4ModelDump = {
|
|
|
841
841
|
};
|
|
842
842
|
};
|
|
843
843
|
/**
|
|
844
|
-
* Same as {@link
|
|
844
|
+
* Same as {@link ParsedLikeC4ModelData}, but with computed views or layouted views.
|
|
845
845
|
*/
|
|
846
|
-
interface
|
|
846
|
+
interface GenericLikeC4ModelData<Fqns extends string = string, DeploymentFqns extends string = string, Views extends string = string, Tags extends string = string, T = 'computed' | 'layouted'> extends Omit<ParsedLikeC4ModelData<string, string, Tags, Fqns, Views, DeploymentFqns>, 'views' | '__'> {
|
|
847
847
|
__?: T;
|
|
848
848
|
views: Record<Views, ComputedView<Views> | DiagramView<Views>>;
|
|
849
849
|
}
|
|
850
|
-
interface
|
|
850
|
+
interface ComputedLikeC4ModelData<Fqns extends string = string, DeploymentFqns extends string = string, Views extends string = string, Tags extends string = string> extends Omit<GenericLikeC4ModelData<Fqns, DeploymentFqns, Views, Tags, 'computed'>, 'views'> {
|
|
851
851
|
views: Record<Views, ComputedView<Views>>;
|
|
852
852
|
}
|
|
853
|
-
interface
|
|
853
|
+
interface LayoutedLikeC4ModelData<Fqns extends string = string, DeploymentFqns extends string = string, Views extends string = string, Tags extends string = string> extends Omit<GenericLikeC4ModelData<Fqns, DeploymentFqns, Views, Tags, 'layouted'>, 'views'> {
|
|
854
854
|
__: 'layouted';
|
|
855
855
|
views: Record<Views, DiagramView<Views, Tags>>;
|
|
856
856
|
}
|
|
857
857
|
|
|
858
|
-
export { type GlobalDynamicPredicates as $, type CustomElementExpr as A, type CustomRelationExpr as B, type
|
|
858
|
+
export { type GlobalDynamicPredicates as $, type CustomElementExpr as A, type CustomRelationExpr as B, type ComputedLikeC4ModelData as C, DeploymentElement as D, type DirectRelationExpr as E, type ElementExpression as F, type ElementKindExpr as G, type ElementPredicateExpression as H, type ElementRefExpr as I, type ElementTagExpr as J, type ElementWhereExpr as K, type LikeC4View as L, type ExpandedElementExpr as M, type Expression as N, type IncomingExpr as O, type PredicateSelector as P, type InOutExpr as Q, type NonWilcard as R, type OutgoingExpr as S, type RelationExpression as T, type RelationPredicateExpression as U, type RelationWhereExpr as V, type WildcardExpr as W, ExpressionV2 as X, FqnExpr as Y, FqnRef as Z, RelationExpr as _, ComputedView as a, type ComputedDeploymentView as a$, type GlobalPredicateId as a0, type GlobalPredicates as a1, type GlobalStyleID as a2, type GlobalStyles as a3, type ModelGlobals as a4, type AnyParsedLikeC4ModelData as a5, type GenericLikeC4ModelData as a6, type LayoutedLikeC4ModelData as a7, type LikeC4ModelDump as a8, type ParsedLikeC4ModelData as a9, type RelationshipKind as aA, type RelationshipKindSpecification as aB, type RelationshipLineType as aC, ComputedNode as aD, DiagramNode as aE, extractStep as aF, getBBoxCenter as aG, getParallelStepsPrefix as aH, isAutoLayoutDirection as aI, isDeploymentView as aJ, isDynamicView as aK, isDynamicViewParallelSteps as aL, isElementView as aM, isExtendsElementView as aN, isScopedElementView as aO, isStepEdgeId as aP, isViewRuleAutoLayout as aQ, isViewRuleGlobalPredicateRef as aR, isViewRuleGlobalStyle as aS, isViewRuleGroup as aT, isViewRulePredicate as aU, isViewRuleStyle as aV, stepEdgeId as aW, type AutoLayoutDirection as aX, type BasicElementView as aY, type BasicView as aZ, type BBox as a_, isAndOperator as aa, isKindEqual as ab, isNotOperator as ac, isOrOperator as ad, isParticipantOperator as ae, isTagEqual as af, whereOperatorAsPredicate as ag, type AllNever as ah, type AndOperator as ai, type EqualOperator as aj, type Filterable as ak, type KindEqual as al, type NotOperator as am, type OperatorPredicate as an, type OrOperator as ao, type Participant as ap, type ParticipantOperator as aq, type TagEqual as ar, type WhereOperator as as, DefaultArrowType as at, DefaultLineStyle as au, DefaultRelationshipColor as av, type AbstractRelation as aw, type ModelRelation as ax, type RelationId as ay, type RelationshipArrowType as az, type DeployedInstance as b, type ComputedDynamicView as b0, type ComputedEdge as b1, type ComputedElementView as b2, type CustomColorDefinitions as b3, type DeploymentView as b4, type DeploymentViewRule as b5, type DeploymentViewRulePredicate as b6, type DeploymentViewRuleStyle as b7, type DiagramEdge as b8, type DiagramView as b9, type ElementNotation as bA, type DynamicView as ba, type DynamicViewIncludeRule as bb, type DynamicViewParallelSteps as bc, type DynamicViewRule as bd, type DynamicViewStep as be, type DynamicViewStepOrParallel as bf, type EdgeId as bg, type ElementView as bh, type ExtendsElementView as bi, type NodeId as bj, type ScopedElementView as bk, type StepEdgeId as bl, type StepEdgeIdLiteral as bm, type ViewAutoLayout as bn, type ViewId as bo, type ViewManualLayout as bp, type ViewRule as bq, type ViewRuleAutoLayout as br, type ViewRuleGlobalPredicateRef as bs, type ViewRuleGlobalStyle as bt, type ViewRuleGroup as bu, type ViewRulePredicate as bv, type ViewRuleStyle as bw, type ViewRuleStyleOrGlobalRef as bx, type ViewWithHash as by, type ViewWithNotation as bz, type DeploymentElementStyle as c, type DeploymentNode as d, expression as e, type DeploymentNodeKind as f, type DeploymentNodeKindSpecification as g, type DeploymentRef as h, type DeploymentRelation as i, isCustomElement as j, isCustomRelationExpr as k, isElement as l, isElementKindExpr as m, isElementPredicateExpr as n, isElementRef as o, isElementTagExpr as p, isElementWhere as q, isExpandedElementExpr as r, isIncoming as s, isInOut as t, isOutgoing as u, isRelation as v, isRelationExpression as w, isRelationPredicateExpr as x, isRelationWhere as y, isWildcard as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as u$1, i as invariant } from './core.
|
|
1
|
+
import { u as u$1, i as invariant } from './core.DRxv3HIl.mjs';
|
|
2
2
|
|
|
3
3
|
var e={done:true,hasNext:false},s={done:false,hasNext:false},a=()=>e;
|
|
4
4
|
|
|
@@ -24,6 +24,101 @@ function getDefaultExportFromCjs (x) {
|
|
|
24
24
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
var support = {};
|
|
28
|
+
|
|
29
|
+
var hasRequiredSupport;
|
|
30
|
+
|
|
31
|
+
function requireSupport () {
|
|
32
|
+
if (hasRequiredSupport) return support;
|
|
33
|
+
hasRequiredSupport = 1;
|
|
34
|
+
support.ARRAY_BUFFER_SUPPORT = typeof ArrayBuffer !== 'undefined';
|
|
35
|
+
support.SYMBOL_SUPPORT = typeof Symbol !== 'undefined';
|
|
36
|
+
return support;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Obliterator ForEach Function
|
|
41
|
+
* =============================
|
|
42
|
+
*
|
|
43
|
+
* Helper function used to easily iterate over mixed values.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
var foreach;
|
|
47
|
+
var hasRequiredForeach;
|
|
48
|
+
|
|
49
|
+
function requireForeach () {
|
|
50
|
+
if (hasRequiredForeach) return foreach;
|
|
51
|
+
hasRequiredForeach = 1;
|
|
52
|
+
var support = requireSupport();
|
|
53
|
+
|
|
54
|
+
var ARRAY_BUFFER_SUPPORT = support.ARRAY_BUFFER_SUPPORT;
|
|
55
|
+
var SYMBOL_SUPPORT = support.SYMBOL_SUPPORT;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Function able to iterate over almost any iterable JS value.
|
|
59
|
+
*
|
|
60
|
+
* @param {any} iterable - Iterable value.
|
|
61
|
+
* @param {function} callback - Callback function.
|
|
62
|
+
*/
|
|
63
|
+
foreach = function forEach(iterable, callback) {
|
|
64
|
+
var iterator, k, i, l, s;
|
|
65
|
+
|
|
66
|
+
if (!iterable) throw new Error('obliterator/forEach: invalid iterable.');
|
|
67
|
+
|
|
68
|
+
if (typeof callback !== 'function')
|
|
69
|
+
throw new Error('obliterator/forEach: expecting a callback.');
|
|
70
|
+
|
|
71
|
+
// The target is an array or a string or function arguments
|
|
72
|
+
if (
|
|
73
|
+
Array.isArray(iterable) ||
|
|
74
|
+
(ARRAY_BUFFER_SUPPORT && ArrayBuffer.isView(iterable)) ||
|
|
75
|
+
typeof iterable === 'string' ||
|
|
76
|
+
iterable.toString() === '[object Arguments]'
|
|
77
|
+
) {
|
|
78
|
+
for (i = 0, l = iterable.length; i < l; i++) callback(iterable[i], i);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// The target has a #.forEach method
|
|
83
|
+
if (typeof iterable.forEach === 'function') {
|
|
84
|
+
iterable.forEach(callback);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// The target is iterable
|
|
89
|
+
if (
|
|
90
|
+
SYMBOL_SUPPORT &&
|
|
91
|
+
Symbol.iterator in iterable &&
|
|
92
|
+
typeof iterable.next !== 'function'
|
|
93
|
+
) {
|
|
94
|
+
iterable = iterable[Symbol.iterator]();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// The target is an iterator
|
|
98
|
+
if (typeof iterable.next === 'function') {
|
|
99
|
+
iterator = iterable;
|
|
100
|
+
i = 0;
|
|
101
|
+
|
|
102
|
+
while (((s = iterator.next()), s.done !== true)) {
|
|
103
|
+
callback(s.value, i);
|
|
104
|
+
i++;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// The target is a plain object
|
|
111
|
+
for (k in iterable) {
|
|
112
|
+
if (iterable.hasOwnProperty(k)) {
|
|
113
|
+
callback(iterable[k], k);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return;
|
|
118
|
+
};
|
|
119
|
+
return foreach;
|
|
120
|
+
}
|
|
121
|
+
|
|
27
122
|
/**
|
|
28
123
|
* Mnemonist DefaultMap
|
|
29
124
|
* =====================
|
|
@@ -303,101 +398,6 @@ function requireIterator () {
|
|
|
303
398
|
return iterator;
|
|
304
399
|
}
|
|
305
400
|
|
|
306
|
-
var support = {};
|
|
307
|
-
|
|
308
|
-
var hasRequiredSupport;
|
|
309
|
-
|
|
310
|
-
function requireSupport () {
|
|
311
|
-
if (hasRequiredSupport) return support;
|
|
312
|
-
hasRequiredSupport = 1;
|
|
313
|
-
support.ARRAY_BUFFER_SUPPORT = typeof ArrayBuffer !== 'undefined';
|
|
314
|
-
support.SYMBOL_SUPPORT = typeof Symbol !== 'undefined';
|
|
315
|
-
return support;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* Obliterator ForEach Function
|
|
320
|
-
* =============================
|
|
321
|
-
*
|
|
322
|
-
* Helper function used to easily iterate over mixed values.
|
|
323
|
-
*/
|
|
324
|
-
|
|
325
|
-
var foreach;
|
|
326
|
-
var hasRequiredForeach;
|
|
327
|
-
|
|
328
|
-
function requireForeach () {
|
|
329
|
-
if (hasRequiredForeach) return foreach;
|
|
330
|
-
hasRequiredForeach = 1;
|
|
331
|
-
var support = requireSupport();
|
|
332
|
-
|
|
333
|
-
var ARRAY_BUFFER_SUPPORT = support.ARRAY_BUFFER_SUPPORT;
|
|
334
|
-
var SYMBOL_SUPPORT = support.SYMBOL_SUPPORT;
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Function able to iterate over almost any iterable JS value.
|
|
338
|
-
*
|
|
339
|
-
* @param {any} iterable - Iterable value.
|
|
340
|
-
* @param {function} callback - Callback function.
|
|
341
|
-
*/
|
|
342
|
-
foreach = function forEach(iterable, callback) {
|
|
343
|
-
var iterator, k, i, l, s;
|
|
344
|
-
|
|
345
|
-
if (!iterable) throw new Error('obliterator/forEach: invalid iterable.');
|
|
346
|
-
|
|
347
|
-
if (typeof callback !== 'function')
|
|
348
|
-
throw new Error('obliterator/forEach: expecting a callback.');
|
|
349
|
-
|
|
350
|
-
// The target is an array or a string or function arguments
|
|
351
|
-
if (
|
|
352
|
-
Array.isArray(iterable) ||
|
|
353
|
-
(ARRAY_BUFFER_SUPPORT && ArrayBuffer.isView(iterable)) ||
|
|
354
|
-
typeof iterable === 'string' ||
|
|
355
|
-
iterable.toString() === '[object Arguments]'
|
|
356
|
-
) {
|
|
357
|
-
for (i = 0, l = iterable.length; i < l; i++) callback(iterable[i], i);
|
|
358
|
-
return;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
// The target has a #.forEach method
|
|
362
|
-
if (typeof iterable.forEach === 'function') {
|
|
363
|
-
iterable.forEach(callback);
|
|
364
|
-
return;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
// The target is iterable
|
|
368
|
-
if (
|
|
369
|
-
SYMBOL_SUPPORT &&
|
|
370
|
-
Symbol.iterator in iterable &&
|
|
371
|
-
typeof iterable.next !== 'function'
|
|
372
|
-
) {
|
|
373
|
-
iterable = iterable[Symbol.iterator]();
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
// The target is an iterator
|
|
377
|
-
if (typeof iterable.next === 'function') {
|
|
378
|
-
iterator = iterable;
|
|
379
|
-
i = 0;
|
|
380
|
-
|
|
381
|
-
while (((s = iterator.next()), s.done !== true)) {
|
|
382
|
-
callback(s.value, i);
|
|
383
|
-
i++;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
return;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
// The target is a plain object
|
|
390
|
-
for (k in iterable) {
|
|
391
|
-
if (iterable.hasOwnProperty(k)) {
|
|
392
|
-
callback(iterable[k], k);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
return;
|
|
397
|
-
};
|
|
398
|
-
return foreach;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
401
|
var set = {};
|
|
402
402
|
|
|
403
403
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IsStringLiteral, LiteralUnion, Simplify, SetRequired } from 'type-fest';
|
|
2
|
-
import { a as ComputedView, L as LikeC4View, a9 as
|
|
3
|
-
import { F as Fqn, K as KeysOf, a as IteratorLike,
|
|
2
|
+
import { a as ComputedView, L as LikeC4View, a9 as ParsedLikeC4ModelData, C as ComputedLikeC4ModelData, bo as ViewId, ay as RelationId, bj as NodeId, bg as EdgeId, a6 as GenericLikeC4ModelData, a7 as LayoutedLikeC4ModelData, b9 as DiagramView, a8 as LikeC4ModelDump, f as DeploymentNodeKind, b0 as ComputedDynamicView, bl as StepEdgeId, b2 as ComputedElementView, a$ as ComputedDeploymentView, ax as ModelRelation, a5 as AnyParsedLikeC4ModelData, a4 as ModelGlobals, h as DeploymentRef, d as DeploymentNode, b as DeployedInstance, c as DeploymentElementStyle, i as DeploymentRelation, aA as RelationshipKind } from './core.z6g06scf.mjs';
|
|
3
|
+
import { F as Fqn, K as KeysOf, a as IteratorLike, j as ElementKind, p as ElementShape, x as Color, I as IconUrl, s as Tag, r as Link, Q as ThemeColor, m as Element, q as ElementStyle } from './core.30yYKXcZ.mjs';
|
|
4
4
|
|
|
5
5
|
type ComputeViewResult<V extends ComputedView = ComputedView> = {
|
|
6
6
|
isSuccess: true;
|
|
@@ -13,7 +13,7 @@ type ComputeViewResult<V extends ComputedView = ComputedView> = {
|
|
|
13
13
|
};
|
|
14
14
|
declare function unsafeComputeView(viewsource: LikeC4View, likec4model: LikeC4Model): ComputedView;
|
|
15
15
|
declare function computeView<V extends LikeC4View>(viewsource: V, likec4model: LikeC4Model): ComputeViewResult;
|
|
16
|
-
declare function computeViews<P extends
|
|
16
|
+
declare function computeViews<P extends ParsedLikeC4ModelData>(parsed: P): ComputedLikeC4ModelData;
|
|
17
17
|
|
|
18
18
|
type IncomingFilter = 'all' | 'direct' | 'to-descendants';
|
|
19
19
|
type OutgoingFilter = 'all' | 'direct' | 'from-descendants';
|
|
@@ -44,11 +44,11 @@ interface Aux<Element extends string, Deployment extends string, View extends st
|
|
|
44
44
|
EdgeIdLiteral: string;
|
|
45
45
|
NodeOrId: LiteralUnion<this['NodeIdLiteral'], string> | WithId<this['NodeId']>;
|
|
46
46
|
EdgeOrId: LiteralUnion<this['EdgeIdLiteral'], string> | WithId<this['EdgeId']>;
|
|
47
|
-
Model: Simplify<Omit<
|
|
47
|
+
Model: Simplify<Omit<GenericLikeC4ModelData, 'views'> & WithViews<this['ViewId'], ViewType>>;
|
|
48
48
|
}
|
|
49
49
|
declare namespace Aux {
|
|
50
|
-
type FromParsed<M> = M extends
|
|
51
|
-
type FromModel<M> = M extends
|
|
50
|
+
type FromParsed<M> = M extends ParsedLikeC4ModelData ? Aux<KeysOf<M['elements']>, KeysOf<M['deployments']['elements']>, KeysOf<M['views']>, ComputedView<ViewId<KeysOf<M['views']>>, string>> : never;
|
|
51
|
+
type FromModel<M> = M extends GenericLikeC4ModelData ? Aux<KeysOf<M['elements']>, KeysOf<M['deployments']['elements']>, KeysOf<M['views']>, M extends LayoutedLikeC4ModelData ? DiagramView<ViewId<KeysOf<M['views']>>, string> : ComputedView<ViewId<KeysOf<M['views']>>, string>> : never;
|
|
52
52
|
type FromDump<M> = M extends LikeC4ModelDump ? Aux<KeysOf<M['elements']>, KeysOf<M['deployments']['elements']>, KeysOf<M['views']>, DiagramView<ViewId<KeysOf<M['views']>>, string>> : never;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -269,7 +269,7 @@ declare class LikeC4Model<M extends AnyAux = LikeC4Model.Any> {
|
|
|
269
269
|
* @param parsed - The parsed LikeC4 model to compute from
|
|
270
270
|
* @returns A new LikeC4Model instance with computed relationships and structure
|
|
271
271
|
*/
|
|
272
|
-
static compute<const M extends
|
|
272
|
+
static compute<const M extends AnyParsedLikeC4ModelData>(parsed: M): LikeC4Model<Aux.FromParsed<M>>;
|
|
273
273
|
/**
|
|
274
274
|
* Creates a function that computes a view using the data from the model.
|
|
275
275
|
*
|
|
@@ -277,7 +277,7 @@ declare class LikeC4Model<M extends AnyAux = LikeC4Model.Any> {
|
|
|
277
277
|
* const compute = LikeC4Model.makeCompute(parsedModel);
|
|
278
278
|
* const result = compute(viewSource);
|
|
279
279
|
*/
|
|
280
|
-
static makeCompute<M extends
|
|
280
|
+
static makeCompute<M extends AnyParsedLikeC4ModelData>(parsed: M): (viewsource: LikeC4View) => ComputeViewResult;
|
|
281
281
|
/**
|
|
282
282
|
* Creates a new LikeC4Model instance from the provided model data.
|
|
283
283
|
*
|
|
@@ -285,7 +285,7 @@ declare class LikeC4Model<M extends AnyAux = LikeC4Model.Any> {
|
|
|
285
285
|
* @param model - The model data to create a LikeC4Model from
|
|
286
286
|
* @returns A new LikeC4Model instance with the type derived from the input model
|
|
287
287
|
*/
|
|
288
|
-
static create<const M extends
|
|
288
|
+
static create<const M extends GenericLikeC4ModelData>(model: M): LikeC4Model<Aux.FromModel<M>>;
|
|
289
289
|
/**
|
|
290
290
|
* Creates a new LikeC4Model instance from a model dump.
|
|
291
291
|
*
|
|
@@ -389,8 +389,8 @@ declare namespace LikeC4Model {
|
|
|
389
389
|
declare class LikeC4DeploymentModel<M extends AnyAux = AnyAux> {
|
|
390
390
|
#private;
|
|
391
391
|
readonly $model: LikeC4Model<M>;
|
|
392
|
-
readonly $deployments:
|
|
393
|
-
constructor($model: LikeC4Model<M>, $deployments:
|
|
392
|
+
readonly $deployments: GenericLikeC4ModelData['deployments'];
|
|
393
|
+
constructor($model: LikeC4Model<M>, $deployments: GenericLikeC4ModelData['deployments']);
|
|
394
394
|
element(el: M['DeploymentOrFqn']): DeploymentElementModel<M>;
|
|
395
395
|
findElement(el: M['Deployment']): DeploymentElementModel<M> | null;
|
|
396
396
|
node(el: M['DeploymentOrFqn']): DeploymentNodeModel<M>;
|
|
@@ -729,4 +729,4 @@ declare class ElementModel<M extends AnyAux = AnyAux> {
|
|
|
729
729
|
deployments(): DeployedInstancesIterator<M>;
|
|
730
730
|
}
|
|
731
731
|
|
|
732
|
-
export { type AnyAux as A, type ComputeViewResult as C,
|
|
732
|
+
export { type AnyAux as A, type ComputeViewResult as C, DeployedInstanceModel as D, ElementModel as E, LikeC4Model as L, NodeModel as N, RelationshipModel as R, computeViews as a, Aux as b, computeView as c, type DeploymentElementModel as d, DeploymentNodeModel as e, DeploymentRelationModel as f, EdgeModel as g, LikeC4DeploymentModel as h, LikeC4ViewModel as i, RelationshipsAccum as j, unsafeComputeView as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as DefaultElementShape, c as DefaultThemeColor, h as DefaultShapeSize, ab as o$8, t as isElementWhere, Q as whereOperatorAsPredicate, G as isWildcard, q as isElementKindExpr, s as isElementTagExpr, n as n$4, u as isExpandedElementExpr, r as isElementRef, l as isCustomElement, a9 as isViewRuleStyle, ac as y$2, V as ComputedNode, E as ElementKind, S as DefaultArrowType, I as FqnExpr, R as RelationExpr, o as o$9, a8 as isViewRulePredicate, a4 as isViewRuleAutoLayout, a7 as isViewRuleGroup, a5 as isViewRuleGlobalPredicateRef, a6 as isViewRuleGlobalStyle, aa as stepEdgeId, a2 as isDynamicViewParallelSteps, T as DefaultLineStyle, U as DefaultRelationshipColor, x as isOutgoing$1, v as isIncoming$1, w as isInOut, y as isRelation, F as isRelationWhere, m as isCustomRelationExpr, C as isRelationPredicateExpr, b as isElementPredicateExpr, a as isElementView, a1 as isDynamicView, a0 as isDeploymentView, d as DeploymentElement, Y as extractStep, a3 as isStepEdgeId, e as isScopedElementView } from './core.
|
|
2
|
-
import { P as C, Q as s$1, R as a$5, q as hierarchyLevel, r as isAncestor, h as commonAncestor, v as sortNaturalByFqn, m as m$3, e as commonHead, T as getDefaultExportFromCjs, U as requireForeach, V as requireIterator, W as u$7, O as objectHash, K as intersection, I as difference, M as union, N as stringHash, J as equals, s as isDescendantOf, z as isString, c as isSameHierarchy, F as isome, A as ifilter, E as isIterable, t as toSet, w as sortParentsFirst, H as toArray, D as DefaultMap, C as imap, a as i$9, X as d$6, p as parentFqn, Y as n$5, j as compareByFqnHierarchically, y as isNonEmptyArray, f as compareNatural, n as nameFromFqn, b as t$6, l as l$7, Z as hasIntersection, u as sortByFqnHierarchically, g as ancestorsFqn, S as Stack, G as iunique, B as iflat, x as getOrCreate, i as ifind } from './core.
|
|
3
|
-
import { u as u$6, a as nonNullable, i as invariant, n as nonexhaustive } from './core.
|
|
1
|
+
import { D as DefaultElementShape, c as DefaultThemeColor, h as DefaultShapeSize, ab as o$8, t as isElementWhere, Q as whereOperatorAsPredicate, G as isWildcard, q as isElementKindExpr, s as isElementTagExpr, n as n$4, u as isExpandedElementExpr, r as isElementRef, l as isCustomElement, a9 as isViewRuleStyle, ac as y$2, V as ComputedNode, E as ElementKind, S as DefaultArrowType, I as FqnExpr, R as RelationExpr, o as o$9, a8 as isViewRulePredicate, a4 as isViewRuleAutoLayout, a7 as isViewRuleGroup, a5 as isViewRuleGlobalPredicateRef, a6 as isViewRuleGlobalStyle, aa as stepEdgeId, a2 as isDynamicViewParallelSteps, T as DefaultLineStyle, U as DefaultRelationshipColor, x as isOutgoing$1, v as isIncoming$1, w as isInOut, y as isRelation, F as isRelationWhere, m as isCustomRelationExpr, C as isRelationPredicateExpr, b as isElementPredicateExpr, a as isElementView, a1 as isDynamicView, a0 as isDeploymentView, d as DeploymentElement, Y as extractStep, a3 as isStepEdgeId, e as isScopedElementView } from './core.yND74qFI.mjs';
|
|
2
|
+
import { P as C, Q as s$1, R as a$5, q as hierarchyLevel, r as isAncestor, h as commonAncestor, v as sortNaturalByFqn, m as m$3, e as commonHead, T as getDefaultExportFromCjs, U as requireForeach, V as requireIterator, W as u$7, O as objectHash, K as intersection, I as difference, M as union, N as stringHash, J as equals, s as isDescendantOf, z as isString, c as isSameHierarchy, F as isome, A as ifilter, E as isIterable, t as toSet, w as sortParentsFirst, H as toArray, D as DefaultMap, C as imap, a as i$9, X as d$6, p as parentFqn, Y as n$5, j as compareByFqnHierarchically, y as isNonEmptyArray, f as compareNatural, n as nameFromFqn, b as t$6, l as l$7, Z as hasIntersection, u as sortByFqnHierarchically, g as ancestorsFqn, S as Stack, G as iunique, B as iflat, x as getOrCreate, i as ifind } from './core.BqezHsjR.mjs';
|
|
3
|
+
import { u as u$6, a as nonNullable, i as invariant, n as nonexhaustive } from './core.DRxv3HIl.mjs';
|
|
4
4
|
|
|
5
5
|
function y$1(t,i){let a=i.length-t.length;if(a===1){let[n,...r]=i;return C(n,{lazy:t,lazyArgs:r})}if(a===0){let n={lazy:t,lazyArgs:i};return Object.assign(e=>C(e,n),n)}throw new Error("Wrong number of arguments")}
|
|
6
6
|
|
|
@@ -7476,4 +7476,4 @@ class LikeC4Model {
|
|
|
7476
7476
|
});
|
|
7477
7477
|
})(LikeC4Model || (LikeC4Model = {}));
|
|
7478
7478
|
|
|
7479
|
-
export {
|
|
7479
|
+
export { isNestedConnection as A, isOutgoing as B, Connection as C, DeployedInstanceModel as D, EdgeModel as E, mergeConnections as F, Graph as G, find$1 as H, sortConnectionsByBoundaryHierarchy as I, sortDeepestFirst as J, isDeployedInstance as K, LikeC4Model as L, isDeploymentNode as M, NodeModel as N, RelationshipModel as R, computeViews as a, ConnectionModel as b, computeView as c, d$2 as d, DeploymentConnectionModel as e, DeploymentNodeModel as f, DeploymentRelationModel as g, ElementModel as h, i$3 as i, LikeC4DeploymentModel as j, LikeC4ViewModel as k, l$3 as l, find as m, differenceConnections as n, findAscendingConnections as o, findDeepestNestedConnection as p, findDescendantConnections as q, r$3 as r, hasSameSource as s, topologicalSortExports as t, unsafeComputeView as u, hasSameSourceTarget as v, willCreateCycle as w, hasSameTarget as x, isAnyInOut as y, isIncoming as z };
|