@visualli/core 0.2.14 → 0.2.16
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/constants/index.js +3 -3
- package/dist/index.js +63 -63
- package/package.json +2 -2
package/dist/constants/index.js
CHANGED
|
@@ -10,6 +10,9 @@ import {
|
|
|
10
10
|
getRenderConfigForQuality,
|
|
11
11
|
isFeatureEnabled
|
|
12
12
|
} from "../chunk-4R5LZUVK.js";
|
|
13
|
+
import {
|
|
14
|
+
LAYOUT_SPACING
|
|
15
|
+
} from "../chunk-N7HCYULH.js";
|
|
13
16
|
import {
|
|
14
17
|
CIRCULAR_REFERENCE_MAX_DEPTH,
|
|
15
18
|
CLICK_THRESHOLD,
|
|
@@ -53,9 +56,6 @@ import {
|
|
|
53
56
|
ZOOM_MAX,
|
|
54
57
|
ZOOM_MIN
|
|
55
58
|
} from "../chunk-COKCN5NW.js";
|
|
56
|
-
import {
|
|
57
|
-
LAYOUT_SPACING
|
|
58
|
-
} from "../chunk-N7HCYULH.js";
|
|
59
59
|
export {
|
|
60
60
|
CIRCULAR_REFERENCE_MAX_DEPTH,
|
|
61
61
|
CLICK_THRESHOLD,
|
package/dist/index.js
CHANGED
|
@@ -29,6 +29,69 @@ import {
|
|
|
29
29
|
optimizeLayout,
|
|
30
30
|
resolveCollisions
|
|
31
31
|
} from "./chunk-LI3BVD6H.js";
|
|
32
|
+
import {
|
|
33
|
+
VisualliParseError,
|
|
34
|
+
calculateDistance,
|
|
35
|
+
convertLayerToFlatNodes,
|
|
36
|
+
convertVisualliToFlatNodes,
|
|
37
|
+
countLayersBeneath,
|
|
38
|
+
createMindMapConfig,
|
|
39
|
+
fetchAndParseVisualli,
|
|
40
|
+
flattenNodes,
|
|
41
|
+
generateSampleConfig,
|
|
42
|
+
getChildLayers,
|
|
43
|
+
getNodeConnections,
|
|
44
|
+
getNodesForLayer,
|
|
45
|
+
getSemanticAnchors,
|
|
46
|
+
getTopLevelConnections,
|
|
47
|
+
getVisibleNodes,
|
|
48
|
+
loadVisualliFileFromFile,
|
|
49
|
+
parseVisualliFile,
|
|
50
|
+
parseVisualliFromMongoDB,
|
|
51
|
+
resolveNodeOverlaps
|
|
52
|
+
} from "./chunk-C5IC52GJ.js";
|
|
53
|
+
import {
|
|
54
|
+
BLOB_SHAPES,
|
|
55
|
+
ELLIPSE,
|
|
56
|
+
IDEA,
|
|
57
|
+
LABEL_GROWTH,
|
|
58
|
+
MAX_RINGS,
|
|
59
|
+
RINGS,
|
|
60
|
+
SHAPE,
|
|
61
|
+
approximateMeasure,
|
|
62
|
+
arrowPath,
|
|
63
|
+
blobPath,
|
|
64
|
+
blobProfile,
|
|
65
|
+
blobRadius,
|
|
66
|
+
connectorGeometry,
|
|
67
|
+
drawBlob,
|
|
68
|
+
edgePath,
|
|
69
|
+
ideaKindOf,
|
|
70
|
+
ideaSize,
|
|
71
|
+
labelGrowth,
|
|
72
|
+
labelLayout,
|
|
73
|
+
layoutGrowth,
|
|
74
|
+
lineWidthsInShape,
|
|
75
|
+
nodeBounds,
|
|
76
|
+
nodeRadii,
|
|
77
|
+
outlineRadius,
|
|
78
|
+
ringCount,
|
|
79
|
+
ringsFor,
|
|
80
|
+
shapeForLevel,
|
|
81
|
+
shapeOfLevel,
|
|
82
|
+
wrapInShape,
|
|
83
|
+
wrapLines
|
|
84
|
+
} from "./chunk-EASI6BW7.js";
|
|
85
|
+
import {
|
|
86
|
+
LAYOUT_SPACING
|
|
87
|
+
} from "./chunk-N7HCYULH.js";
|
|
88
|
+
import {
|
|
89
|
+
applyCircularLayout,
|
|
90
|
+
applyLinearHorizontalLayout,
|
|
91
|
+
applyLinearVerticalLayout,
|
|
92
|
+
calculateMinimumRadius,
|
|
93
|
+
calculateOptimalRadiusPercentage
|
|
94
|
+
} from "./chunk-GQMFBYLK.js";
|
|
32
95
|
import {
|
|
33
96
|
FPSMonitor,
|
|
34
97
|
MemoryMonitor,
|
|
@@ -95,69 +158,6 @@ import {
|
|
|
95
158
|
pointerModeFor,
|
|
96
159
|
zoomAround
|
|
97
160
|
} from "./chunk-COKCN5NW.js";
|
|
98
|
-
import {
|
|
99
|
-
VisualliParseError,
|
|
100
|
-
calculateDistance,
|
|
101
|
-
convertLayerToFlatNodes,
|
|
102
|
-
convertVisualliToFlatNodes,
|
|
103
|
-
countLayersBeneath,
|
|
104
|
-
createMindMapConfig,
|
|
105
|
-
fetchAndParseVisualli,
|
|
106
|
-
flattenNodes,
|
|
107
|
-
generateSampleConfig,
|
|
108
|
-
getChildLayers,
|
|
109
|
-
getNodeConnections,
|
|
110
|
-
getNodesForLayer,
|
|
111
|
-
getSemanticAnchors,
|
|
112
|
-
getTopLevelConnections,
|
|
113
|
-
getVisibleNodes,
|
|
114
|
-
loadVisualliFileFromFile,
|
|
115
|
-
parseVisualliFile,
|
|
116
|
-
parseVisualliFromMongoDB,
|
|
117
|
-
resolveNodeOverlaps
|
|
118
|
-
} from "./chunk-C5IC52GJ.js";
|
|
119
|
-
import {
|
|
120
|
-
BLOB_SHAPES,
|
|
121
|
-
ELLIPSE,
|
|
122
|
-
IDEA,
|
|
123
|
-
LABEL_GROWTH,
|
|
124
|
-
MAX_RINGS,
|
|
125
|
-
RINGS,
|
|
126
|
-
SHAPE,
|
|
127
|
-
approximateMeasure,
|
|
128
|
-
arrowPath,
|
|
129
|
-
blobPath,
|
|
130
|
-
blobProfile,
|
|
131
|
-
blobRadius,
|
|
132
|
-
connectorGeometry,
|
|
133
|
-
drawBlob,
|
|
134
|
-
edgePath,
|
|
135
|
-
ideaKindOf,
|
|
136
|
-
ideaSize,
|
|
137
|
-
labelGrowth,
|
|
138
|
-
labelLayout,
|
|
139
|
-
layoutGrowth,
|
|
140
|
-
lineWidthsInShape,
|
|
141
|
-
nodeBounds,
|
|
142
|
-
nodeRadii,
|
|
143
|
-
outlineRadius,
|
|
144
|
-
ringCount,
|
|
145
|
-
ringsFor,
|
|
146
|
-
shapeForLevel,
|
|
147
|
-
shapeOfLevel,
|
|
148
|
-
wrapInShape,
|
|
149
|
-
wrapLines
|
|
150
|
-
} from "./chunk-EASI6BW7.js";
|
|
151
|
-
import {
|
|
152
|
-
LAYOUT_SPACING
|
|
153
|
-
} from "./chunk-N7HCYULH.js";
|
|
154
|
-
import {
|
|
155
|
-
applyCircularLayout,
|
|
156
|
-
applyLinearHorizontalLayout,
|
|
157
|
-
applyLinearVerticalLayout,
|
|
158
|
-
calculateMinimumRadius,
|
|
159
|
-
calculateOptimalRadiusPercentage
|
|
160
|
-
} from "./chunk-GQMFBYLK.js";
|
|
161
161
|
import {
|
|
162
162
|
CUSTOM,
|
|
163
163
|
IMMERSION,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visualli/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "Framework-agnostic core logic, types, and engines for Visualli",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"test": "vitest run"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@visualli/bindings": "0.2.
|
|
77
|
+
"@visualli/bindings": "0.2.16",
|
|
78
78
|
"rbush": "^3.0.1"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|