@moxa/graph 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +26 -22
- package/index.js +16614 -14595
- package/lib/edge/custom/line-edge.d.ts +2 -0
- package/lib/edge/custom/line-edge.d.ts.map +1 -1
- package/lib/edge/custom/polyline-edge.d.ts +2 -0
- package/lib/edge/custom/polyline-edge.d.ts.map +1 -1
- package/lib/edge/custom/quadratic-edge.d.ts +2 -0
- package/lib/edge/custom/quadratic-edge.d.ts.map +1 -1
- package/lib/edge/helper/custom-edge.helper.d.ts.map +1 -1
- package/lib/edge/helper/edge-g6.mapper.d.ts +9 -11
- package/lib/edge/helper/edge-g6.mapper.d.ts.map +1 -1
- package/lib/edge/helper/edge.mapper.d.ts.map +1 -1
- package/lib/edge/helper/edge.theme.d.ts +2 -1
- package/lib/edge/helper/edge.theme.d.ts.map +1 -1
- package/lib/graph/graph.d.ts +274 -1
- package/lib/graph/graph.d.ts.map +1 -1
- package/lib/graph/graph.mapper.d.ts +1 -1
- package/lib/graph/graph.mapper.d.ts.map +1 -1
- package/lib/group/custom/device-group.d.ts.map +1 -1
- package/lib/group/helper/group-g6.mapper.d.ts.map +1 -1
- package/lib/group/helper/group.mapper.d.ts.map +1 -1
- package/lib/layout/force.d.ts +9 -0
- package/lib/layout/force.d.ts.map +1 -0
- package/lib/layout/index.d.ts +1 -1
- package/lib/layout/index.d.ts.map +1 -1
- package/lib/model/behavior.model.d.ts +1 -1
- package/lib/model/behavior.model.d.ts.map +1 -1
- package/lib/model/layout.model.d.ts +2 -2
- package/lib/model/layout.model.d.ts.map +1 -1
- package/lib/model/theme.model.d.ts +59 -0
- package/lib/model/theme.model.d.ts.map +1 -1
- package/lib/node/custom/device-node.d.ts.map +1 -1
- package/lib/node/helper/key-style.d.ts +3 -2
- package/lib/node/helper/key-style.d.ts.map +1 -1
- package/lib/node/helper/node-g6.mapper.d.ts +1 -2
- package/lib/node/helper/node-g6.mapper.d.ts.map +1 -1
- package/lib/plugin/history.d.ts.map +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.d.ts.map +1 -1
- package/lib/utils/theme.helper.d.ts +3 -0
- package/lib/utils/theme.helper.d.ts.map +1 -0
- package/package.json +1 -1
- package/lib/layout/mesh.d.ts +0 -9
- package/lib/layout/mesh.d.ts.map +0 -1
- package/lib/themes/light.theme.d.ts +0 -3
- package/lib/themes/light.theme.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NodeData, SingleLayoutOptions } from '@antv/g6';
|
|
2
2
|
import { MxAlignLayoutConfig, MxRingLayoutConfig } from '../layout';
|
|
3
|
+
import { MxForceLayoutConfig } from '../layout/force';
|
|
3
4
|
import { MxGridLayoutConfig } from '../layout/grid';
|
|
4
|
-
import { MxMeshLayoutConfig } from '../layout/mesh';
|
|
5
5
|
import { MxTreeLayoutConfig } from '../layout/tree';
|
|
6
6
|
export declare enum MxLayout {
|
|
7
7
|
ALIGN = "align",
|
|
@@ -14,7 +14,7 @@ export type MxLayoutItem<T = any, C = any> = MxLayoutConfigBase & Partial<C> & {
|
|
|
14
14
|
type: T;
|
|
15
15
|
};
|
|
16
16
|
export type MxLayoutFunction = (config?: MxLayoutConfigBase) => SingleLayoutOptions;
|
|
17
|
-
export type MxLayoutItems = MxLayoutItem<typeof MxLayout.ALIGN, MxAlignLayoutConfig> | MxLayoutItem<typeof MxLayout.TREE, MxTreeLayoutConfig> | MxLayoutItem<typeof MxLayout.MESH,
|
|
17
|
+
export type MxLayoutItems = MxLayoutItem<typeof MxLayout.ALIGN, MxAlignLayoutConfig> | MxLayoutItem<typeof MxLayout.TREE, MxTreeLayoutConfig> | MxLayoutItem<typeof MxLayout.MESH, MxForceLayoutConfig> | MxLayoutItem<typeof MxLayout.GRID, MxGridLayoutConfig> | MxLayoutItem<typeof MxLayout.RING, MxRingLayoutConfig>;
|
|
18
18
|
export type MxLayoutType = MxLayoutItems['type'];
|
|
19
19
|
export type MxLayoutConfig = MxLayoutType | MxLayoutItems;
|
|
20
20
|
export type MxLayoutConfigBase = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.model.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/model/layout.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"layout.model.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/model/layout.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,GAAG,GAAG,IAAI,kBAAkB,GAC7D,OAAO,CAAC,CAAC,CAAC,GAAG;IACX,IAAI,EAAE,CAAC,CAAC;CACT,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,CAC7B,MAAM,CAAC,EAAE,kBAAkB,KACxB,mBAAmB,CAAC;AAEzB,MAAM,MAAM,aAAa,GACrB,YAAY,CAAC,OAAO,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC,GACxD,YAAY,CAAC,OAAO,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC,GACtD,YAAY,CAAC,OAAO,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC,GACvD,YAAY,CAAC,OAAO,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC,GACtD,YAAY,CAAC,OAAO,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;AAE3D,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;AAEjD,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,aAAa,CAAC;AAE1D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC,CAAC;CACxD,CAAC"}
|
|
@@ -1,3 +1,62 @@
|
|
|
1
1
|
export type MxUserThemeType = 'light' | 'dark';
|
|
2
2
|
export type MxThemeType = `mx-${MxUserThemeType}`;
|
|
3
|
+
export type MxTokenConfig = {
|
|
4
|
+
light: MxTokenValues;
|
|
5
|
+
dark: MxTokenValues;
|
|
6
|
+
};
|
|
7
|
+
export type MxTokenValues = {
|
|
8
|
+
'background-neutral-default': string;
|
|
9
|
+
'text-neutral-default': string;
|
|
10
|
+
'text-neutral-default-subtle': string;
|
|
11
|
+
'background-neutral-subtle': string;
|
|
12
|
+
'background-neutral-inverse': string;
|
|
13
|
+
'text-neutral-inverse': string;
|
|
14
|
+
'icon-primary-default': string;
|
|
15
|
+
'icon-error-default': string;
|
|
16
|
+
'icon-warning-default': string;
|
|
17
|
+
'icon-success-default': string;
|
|
18
|
+
'icon-info-default': string;
|
|
19
|
+
'border-primary-default': string;
|
|
20
|
+
'border-error-default': string;
|
|
21
|
+
'border-warning-default': string;
|
|
22
|
+
'border-success-default': string;
|
|
23
|
+
'border-info-default': string;
|
|
24
|
+
'path/outline-neutral-default': string;
|
|
25
|
+
'guides/outline-accent': string;
|
|
26
|
+
'background-primary-default': string;
|
|
27
|
+
'background-primary-hovered': string;
|
|
28
|
+
'background-neutral-hovered': string;
|
|
29
|
+
'background-error-default': string;
|
|
30
|
+
'background-error-hovered': string;
|
|
31
|
+
'background-warning-default': string;
|
|
32
|
+
'background-warning-hovered': string;
|
|
33
|
+
'background-success-default': string;
|
|
34
|
+
'background-success-hovered': string;
|
|
35
|
+
'background-info-default': string;
|
|
36
|
+
'background-info-hovered': string;
|
|
37
|
+
};
|
|
38
|
+
export type DesignTokenConfig = {
|
|
39
|
+
version: string;
|
|
40
|
+
metadata?: any;
|
|
41
|
+
collections: DesignCollection[];
|
|
42
|
+
};
|
|
43
|
+
export type DesignCollection = {
|
|
44
|
+
name: string;
|
|
45
|
+
modes: DesignCollectionMode[];
|
|
46
|
+
};
|
|
47
|
+
export type DesignCollectionMode = {
|
|
48
|
+
name: string;
|
|
49
|
+
variables: DesignModeValue[];
|
|
50
|
+
};
|
|
51
|
+
export type DesignModeValue = {
|
|
52
|
+
name: string;
|
|
53
|
+
type: 'color' | 'number' | 'typography';
|
|
54
|
+
isAlias: boolean;
|
|
55
|
+
value: DesignCollectionValue | DesignStyleValue | number | string;
|
|
56
|
+
};
|
|
57
|
+
export type DesignCollectionValue = {
|
|
58
|
+
collection: 'color-palettes';
|
|
59
|
+
name: string;
|
|
60
|
+
};
|
|
61
|
+
export type DesignStyleValue = Record<string, string | number>;
|
|
3
62
|
//# sourceMappingURL=theme.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.model.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/model/theme.model.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,CAAC;AAE/C,MAAM,MAAM,WAAW,GAAG,MAAM,eAAe,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"theme.model.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/model/theme.model.ts"],"names":[],"mappings":"AAAA,MAA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IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,WAAW,EAAE,gBAAgB,EAAE,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,oBAAoB,EAAE,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,eAAe,EAAE,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,YAAY,CAAC;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,qBAAqB,GAAG,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAC;CACnE,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-node.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/custom/device-node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,iBAAiB,EACrC,KAAK,EACL,KAAK,EACL,eAAe,EACf,IAAI,EACJ,cAAc,EACd,IAAI,EACJ,cAAc,EACf,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,MAAM,EACN,gBAAgB,EAEhB,cAAc,EAEd,KAAK,EAEN,MAAM,UAAU,CAAC;AAClB,OAAO,EAIL,YAAY,EACZ,WAAW,EACZ,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"device-node.d.ts","sourceRoot":"","sources":["../../../../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C,oBAAoB,CAAC,GACpC,cAAc,GAAG,KAAK;IAezB,uBAAuB,CACrB,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GACpC,cAAc,GAAG,KAAK;IAmCzB,cAAc,CAAC,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,SAAS,EAAE,KAAK;IAItE,eAAe,CAAC,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,SAAS,EAAE,KAAK;IASvE,wBAAwB,CACtB,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACrC,SAAS,EAAE,KAAK;IAUlB,wBAAwB,CACtB,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EACrC,SAAS,EAAE,KAAK;IAUT,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,SAAS,EAAE,KAAK;CAOxE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseStyleProps } from '@antv/g';
|
|
2
2
|
import { State } from '@antv/g6';
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { MxGraph } from '../../graph/index.ts';
|
|
4
|
+
import { MxNodeConfig } from '../../model/index.ts';
|
|
5
|
+
export declare const getKeyStyleByTheme: (graph: MxGraph, states: State[], status?: MxNodeConfig['highlight']) => BaseStyleProps;
|
|
5
6
|
//# sourceMappingURL=key-style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-style.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/key-style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"key-style.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/key-style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGjD,eAAO,MAAM,kBAAkB,UACtB,OAAO,UACN,KAAK,EAAE,WACN,YAAY,CAAC,WAAW,CAAC,KACjC,cAwFF,CAAC"}
|
|
@@ -6,8 +6,7 @@ export declare const G6NodeMapper: {
|
|
|
6
6
|
toCommonStyle: (style: NodeData['style']) => Partial<MxNodeConfig>;
|
|
7
7
|
toNodeType: (type: NodeData['type']) => Partial<MxNodeConfig>;
|
|
8
8
|
toPosition: (style: NodeData['style']) => Partial<MxNodeConfig>;
|
|
9
|
-
|
|
10
|
-
toLabelData: (style: NodeData['style']) => Partial<MxNodeConfig>;
|
|
9
|
+
toLabelData: (style: NodeData['style'], type: 'label' | 'title') => Partial<MxNodeConfig>;
|
|
11
10
|
toIconData: (style: NodeData['style']) => Partial<MxNodeConfig>;
|
|
12
11
|
};
|
|
13
12
|
//# sourceMappingURL=node-g6.mapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-g6.mapper.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/node-g6.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAiB,MAAM,UAAU,CAAC;AACnE,OAAO,EAAuB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAEL,YAAY,EACZ,UAAU,EAGX,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"node-g6.mapper.d.ts","sourceRoot":"","sources":["../../../../../libs/graph/src/lib/node/helper/node-g6.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAiB,MAAM,UAAU,CAAC;AACnE,OAAO,EAAuB,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAEL,YAAY,EACZ,UAAU,EAGX,MAAM,mBAAmB,CAAC;AAmH3B,eAAO,MAAM,YAAY;uBAjHC,oBAAoB,QAAQ,CAAC,KAAG,UAAU;2BA4BtC,QAAQ,CAAC,OAAO,CAAC,KAAG,QAAQ,YAAY,CAAC;uBAW7C,QAAQ,CAAC,MAAM,CAAC,KAAG,QAAQ,YAAY,CAAC;wBAWvC,QAAQ,CAAC,OAAO,CAAC,KAAG,QAAQ,YAAY,CAAC;yBAW3D,QAAQ,CAAC,OAAO,CAAC,QAClB,OAAO,GAAG,OAAO,KACtB,QAAQ,YAAY,CAAC;wBAkCG,QAAQ,CAAC,OAAO,CAAC,KAAG,QAAQ,YAAY,CAAC;CAuBnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/history.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/plugin/history.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EAIjB,cAAc,EACf,MAAM,UAAU,CAAC;AAClB,OAAO,EAAY,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,EAAE,gBAAgB,CAC9C,gBAAgB,EAChB,cAAc,CAaf,CAAC"}
|
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.helper.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/utils/theme.helper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAiB,MAAM,UAAU,CAAC;AAQ3E,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,GAAG,aAAa,CAuEzE"}
|
package/package.json
CHANGED
package/lib/layout/mesh.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SingleLayoutOptions } from '@antv/g6';
|
|
2
|
-
import { MxLayoutConfigBase } from '../model';
|
|
3
|
-
export type MxMeshLayoutConfig = MxLayoutConfigBase & {
|
|
4
|
-
linkDistance: number;
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
};
|
|
8
|
-
export declare const getMeshLayoutOptions: (config?: Partial<MxMeshLayoutConfig>) => SingleLayoutOptions;
|
|
9
|
-
//# sourceMappingURL=mesh.d.ts.map
|
package/lib/layout/mesh.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mesh.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/layout/mesh.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAY,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGxD,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,GAAG;IACpD,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAOF,eAAO,MAAM,oBAAoB,YACtB,QAAQ,kBAAkB,CAAC,KACnC,mBAkBF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"light.theme.d.ts","sourceRoot":"","sources":["../../../../libs/graph/src/lib/themes/light.theme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,eAAO,MAAM,WAAW,EAAE,KAczB,CAAC"}
|