@dxos/react-ui-graph 0.8.4-main.fffef41 → 0.9.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/LICENSE +102 -5
- package/README.md +5 -7
- package/dist/lib/browser/chunk-EASNZZ7B.mjs +52 -0
- package/dist/lib/browser/chunk-EASNZZ7B.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +2729 -592
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +16 -16
- package/dist/lib/browser/testing/index.mjs.map +3 -3
- package/dist/lib/node-esm/chunk-JSE2X4ML.mjs +54 -0
- package/dist/lib/node-esm/chunk-JSE2X4ML.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +2729 -592
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/testing/index.mjs +16 -16
- package/dist/lib/node-esm/testing/index.mjs.map +3 -3
- package/dist/types/src/components/Graph/Graph.d.ts +23 -6
- package/dist/types/src/components/Graph/Graph.d.ts.map +1 -1
- package/dist/types/src/components/Graph/Graph.stories.d.ts +6 -6
- package/dist/types/src/components/Graph/Graph.stories.d.ts.map +1 -1
- package/dist/types/src/components/Mesh/Mesh.d.ts.map +1 -1
- package/dist/types/src/components/Mesh/Mesh.stories.d.ts.map +1 -1
- package/dist/types/src/components/SVG/FPS.d.ts +20 -0
- package/dist/types/src/components/SVG/FPS.d.ts.map +1 -0
- package/dist/types/src/components/SVG/Grid.d.ts.map +1 -1
- package/dist/types/src/components/SVG/Markers.d.ts.map +1 -1
- package/dist/types/src/components/SVG/Root.d.ts +8 -4
- package/dist/types/src/components/SVG/Root.d.ts.map +1 -1
- package/dist/types/src/components/SVG/SVG.d.ts +17 -18
- package/dist/types/src/components/SVG/SVG.d.ts.map +1 -1
- package/dist/types/src/components/SVG/Svg.stories.d.ts +1 -1
- package/dist/types/src/components/SVG/Svg.stories.d.ts.map +1 -1
- package/dist/types/src/fx/fx.stories.d.ts +3 -3
- package/dist/types/src/fx/fx.stories.d.ts.map +1 -1
- package/dist/types/src/fx/pulsar.d.ts.map +1 -1
- package/dist/types/src/graph/markers.d.ts.map +1 -1
- package/dist/types/src/graph/projector/graph-bundle-projector.d.ts +47 -0
- package/dist/types/src/graph/projector/graph-bundle-projector.d.ts.map +1 -0
- package/dist/types/src/graph/projector/graph-cluster-projector.d.ts +65 -0
- package/dist/types/src/graph/projector/graph-cluster-projector.d.ts.map +1 -0
- package/dist/types/src/graph/projector/graph-drag.d.ts.map +1 -1
- package/dist/types/src/graph/projector/graph-force-projector.d.ts +1 -1
- package/dist/types/src/graph/projector/graph-force-projector.d.ts.map +1 -1
- package/dist/types/src/graph/projector/graph-forces.d.ts.map +1 -1
- package/dist/types/src/graph/projector/graph-hierarchical-projector.d.ts +1 -1
- package/dist/types/src/graph/projector/graph-hierarchical-projector.d.ts.map +1 -1
- package/dist/types/src/graph/projector/graph-lattice-projector.d.ts +23 -0
- package/dist/types/src/graph/projector/graph-lattice-projector.d.ts.map +1 -0
- package/dist/types/src/graph/projector/graph-plexus-projector.d.ts +67 -0
- package/dist/types/src/graph/projector/graph-plexus-projector.d.ts.map +1 -0
- package/dist/types/src/graph/projector/graph-plexus-projector.test.d.ts +2 -0
- package/dist/types/src/graph/projector/graph-plexus-projector.test.d.ts.map +1 -0
- package/dist/types/src/graph/projector/graph-projector.d.ts +10 -2
- package/dist/types/src/graph/projector/graph-projector.d.ts.map +1 -1
- package/dist/types/src/graph/projector/graph-radial-projector.d.ts +7 -1
- package/dist/types/src/graph/projector/graph-radial-projector.d.ts.map +1 -1
- package/dist/types/src/graph/projector/graph-relational-projector.d.ts +1 -1
- package/dist/types/src/graph/projector/graph-relational-projector.d.ts.map +1 -1
- package/dist/types/src/graph/projector/graph-swarm-projector.d.ts +72 -0
- package/dist/types/src/graph/projector/graph-swarm-projector.d.ts.map +1 -0
- package/dist/types/src/graph/projector/index.d.ts +5 -0
- package/dist/types/src/graph/projector/index.d.ts.map +1 -1
- package/dist/types/src/graph/projector/projector.d.ts +10 -1
- package/dist/types/src/graph/projector/projector.d.ts.map +1 -1
- package/dist/types/src/graph/renderer/bullets.d.ts.map +1 -1
- package/dist/types/src/graph/renderer/graph-renderer.d.ts +41 -1
- package/dist/types/src/graph/renderer/graph-renderer.d.ts.map +1 -1
- package/dist/types/src/graph/renderer/index.d.ts +1 -0
- package/dist/types/src/graph/renderer/index.d.ts.map +1 -1
- package/dist/types/src/graph/renderer/labels.d.ts +33 -0
- package/dist/types/src/graph/renderer/labels.d.ts.map +1 -0
- package/dist/types/src/graph/renderer/renderer.d.ts +12 -1
- package/dist/types/src/graph/renderer/renderer.d.ts.map +1 -1
- package/dist/types/src/graph/types.d.ts +15 -1
- package/dist/types/src/graph/types.d.ts.map +1 -1
- package/dist/types/src/hooks/useGrid.d.ts.map +1 -1
- package/dist/types/src/hooks/useStateRef.d.ts.map +1 -1
- package/dist/types/src/hooks/useSvgContext.d.ts.map +1 -1
- package/dist/types/src/hooks/useZoom.d.ts.map +1 -1
- package/dist/types/src/stories/experimental.stories.d.ts +7 -0
- package/dist/types/src/stories/experimental.stories.d.ts.map +1 -0
- package/dist/types/src/stories/hooks.stories.d.ts +4 -3
- package/dist/types/src/stories/hooks.stories.d.ts.map +1 -1
- package/dist/types/src/testing/data.d.ts +5 -5
- package/dist/types/src/testing/data.d.ts.map +1 -1
- package/dist/types/src/testing/hooks.d.ts +2 -16
- package/dist/types/src/testing/hooks.d.ts.map +1 -1
- package/dist/types/src/testing/model.d.ts +4 -8
- package/dist/types/src/testing/model.d.ts.map +1 -1
- package/dist/types/src/util/events.d.ts.map +1 -1
- package/dist/types/src/util/fraction.d.ts +1 -1
- package/dist/types/src/util/fraction.d.ts.map +1 -1
- package/dist/types/src/util/points.d.ts.map +1 -1
- package/dist/types/src/util/scale.d.ts.map +1 -1
- package/dist/types/src/util/screen.d.ts.map +1 -1
- package/dist/types/src/util/vector.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +33 -35
- package/src/components/Graph/Graph.stories.tsx +45 -39
- package/src/components/Graph/Graph.tsx +126 -23
- package/src/components/Mesh/Mesh.stories.tsx +8 -7
- package/src/components/Mesh/Mesh.tsx +43 -35
- package/src/components/SVG/FPS.tsx +91 -0
- package/src/components/SVG/Grid.tsx +1 -1
- package/src/components/SVG/Root.tsx +42 -9
- package/src/components/SVG/SVG.tsx +14 -3
- package/src/components/SVG/Svg.stories.tsx +4 -5
- package/src/fx/fx.stories.tsx +7 -8
- package/src/graph/projector/graph-bundle-projector.ts +210 -0
- package/src/graph/projector/graph-cluster-projector.ts +337 -0
- package/src/graph/projector/graph-drag.ts +0 -1
- package/src/graph/projector/graph-force-projector.ts +7 -3
- package/src/graph/projector/graph-hierarchical-projector.ts +4 -4
- package/src/graph/projector/graph-lattice-projector.ts +86 -0
- package/src/graph/projector/graph-plexus-projector.test.ts +102 -0
- package/src/graph/projector/graph-plexus-projector.ts +309 -0
- package/src/graph/projector/graph-projector.ts +24 -4
- package/src/graph/projector/graph-radial-projector.ts +31 -4
- package/src/graph/projector/graph-relational-projector.ts +4 -4
- package/src/graph/projector/graph-swarm-projector.ts +373 -0
- package/src/graph/projector/index.ts +5 -0
- package/src/graph/projector/projector.ts +12 -3
- package/src/graph/renderer/graph-renderer.ts +289 -31
- package/src/graph/renderer/index.ts +1 -0
- package/src/graph/renderer/labels.ts +138 -0
- package/src/graph/renderer/renderer.ts +15 -4
- package/src/graph/types.ts +15 -1
- package/src/stories/experimental.stories.tsx +446 -0
- package/src/stories/hooks.stories.tsx +21 -10
- package/src/testing/data.ts +14 -14
- package/src/testing/hooks.ts +3 -4
- package/src/testing/model.ts +6 -6
- package/src/util/fraction.ts +1 -1
- package/styles/graph.css +341 -43
- package/dist/lib/browser/chunk-XWA2XJDX.mjs +0 -955
- package/dist/lib/browser/chunk-XWA2XJDX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-3RLSFEEV.mjs +0 -957
- package/dist/lib/node-esm/chunk-3RLSFEEV.mjs.map +0 -7
package/styles/graph.css
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
/* TODO(burdon): Move into theme? */
|
|
2
|
+
@reference "../../ui-theme/src/main.css";
|
|
3
|
+
|
|
1
4
|
/**
|
|
2
5
|
* Graph styles.
|
|
3
6
|
*/
|
|
4
7
|
|
|
5
|
-
/* TODO(burdon): Implement light/dark theme or use semantic tokens. */
|
|
8
|
+
/* TODO(burdon): Implement light/dark theme or use semantic tokens. light-dark. */
|
|
6
9
|
|
|
7
10
|
svg {
|
|
8
11
|
marker {
|
|
@@ -17,37 +20,110 @@ svg {
|
|
|
17
20
|
|
|
18
21
|
g.dx-grid {
|
|
19
22
|
path.dx-axis {
|
|
20
|
-
@apply stroke-neutral-
|
|
23
|
+
@apply stroke-neutral-300;
|
|
24
|
+
|
|
25
|
+
.dark & {
|
|
26
|
+
@apply stroke-neutral-800;
|
|
27
|
+
}
|
|
21
28
|
}
|
|
22
29
|
path.dx-major {
|
|
23
|
-
@apply stroke-neutral-
|
|
30
|
+
@apply stroke-neutral-200;
|
|
31
|
+
|
|
32
|
+
.dark & {
|
|
33
|
+
@apply stroke-neutral-900;
|
|
34
|
+
}
|
|
24
35
|
}
|
|
25
36
|
path.dx-minor {
|
|
26
|
-
@apply stroke-neutral-
|
|
37
|
+
@apply stroke-neutral-200;
|
|
38
|
+
|
|
39
|
+
.dark & {
|
|
40
|
+
@apply stroke-neutral-950;
|
|
41
|
+
}
|
|
27
42
|
}
|
|
28
|
-
}
|
|
43
|
+
}
|
|
29
44
|
|
|
30
45
|
g.dx-graph {
|
|
31
46
|
g.dx-guides {
|
|
32
47
|
circle {
|
|
33
|
-
@apply fill-neutral-
|
|
48
|
+
@apply fill-neutral-400 stroke-neutral-600 opacity-10;
|
|
49
|
+
|
|
50
|
+
.dark & {
|
|
51
|
+
@apply fill-neutral-800 stroke-neutral-950;
|
|
52
|
+
}
|
|
34
53
|
}
|
|
35
54
|
}
|
|
36
55
|
|
|
37
56
|
g.dx-subgraphs {
|
|
38
57
|
path.dx-subgraph {
|
|
39
|
-
@apply stroke-red-500 fill-neutral-
|
|
58
|
+
@apply stroke-red-500 fill-neutral-200 [stroke-dasharray:4_4];
|
|
59
|
+
|
|
60
|
+
.dark & {
|
|
61
|
+
@apply fill-neutral-950;
|
|
62
|
+
}
|
|
40
63
|
}
|
|
41
64
|
}
|
|
42
65
|
|
|
43
66
|
g.dx-nodes {
|
|
44
67
|
g.dx-node {
|
|
68
|
+
/* Hover feedback — every variant (force / lattice / cluster / bundle) wraps its
|
|
69
|
+
consumer-drawn shape in `g.dx-node`, so a single rule covers all four. Dim the
|
|
70
|
+
whole node group on hover; the `transition` smooths the in/out. */
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
transition: opacity 150ms ease-out;
|
|
73
|
+
&:hover {
|
|
74
|
+
opacity: 0.65;
|
|
75
|
+
}
|
|
76
|
+
/* Cluster collapse: hidden leaves stay in the layout (so they tween to/from their
|
|
77
|
+
parent), but the d3 hide-transition fades their opacity attribute to 0 and we
|
|
78
|
+
drop pointer events so they don't catch clicks during the fade. */
|
|
79
|
+
&.dx-hidden {
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
}
|
|
45
82
|
circle {
|
|
46
|
-
@apply fill-neutral-
|
|
83
|
+
@apply fill-neutral-300 stroke-neutral-800;
|
|
84
|
+
|
|
85
|
+
.dark & {
|
|
86
|
+
@apply fill-neutral-600 stroke-none;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
/* Radial cluster labels — small, neutral, no fill swatch since these are SVG
|
|
90
|
+
text nodes (not HTML). Stroke + paint-order halos the text for legibility against
|
|
91
|
+
edges or color-coded nodes drawn beneath it. */
|
|
92
|
+
text.dx-cluster-label {
|
|
93
|
+
@apply fill-neutral-700 text-[10px];
|
|
94
|
+
paint-order: stroke;
|
|
95
|
+
stroke: var(--surface-bg, white);
|
|
96
|
+
stroke-width: 3px;
|
|
97
|
+
stroke-linejoin: round;
|
|
98
|
+
|
|
99
|
+
.dark & {
|
|
100
|
+
@apply fill-neutral-300;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/* Group label sits inward of the ring — slightly stronger so the typename labels
|
|
104
|
+
the cluster of leaves they introduce. */
|
|
105
|
+
text.dx-cluster-label-group {
|
|
106
|
+
@apply fill-neutral-500 text-[11px] font-medium;
|
|
107
|
+
|
|
108
|
+
.dark & {
|
|
109
|
+
@apply fill-neutral-400;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
/* Root label is a centered caption — larger, slightly bolder. */
|
|
113
|
+
text.dx-cluster-label-root {
|
|
114
|
+
@apply fill-neutral-600 text-xs font-semibold;
|
|
115
|
+
|
|
116
|
+
.dark & {
|
|
117
|
+
@apply fill-neutral-300;
|
|
118
|
+
}
|
|
47
119
|
}
|
|
48
120
|
&.dx-selected {
|
|
49
121
|
circle {
|
|
50
|
-
@apply !fill-red-500 stroke-2 stroke-neutral-
|
|
122
|
+
@apply !fill-red-500 stroke-2 stroke-neutral-950;
|
|
123
|
+
|
|
124
|
+
.dark & {
|
|
125
|
+
@apply stroke-neutral-300;
|
|
126
|
+
}
|
|
51
127
|
}
|
|
52
128
|
}
|
|
53
129
|
|
|
@@ -56,26 +132,135 @@ svg {
|
|
|
56
132
|
}
|
|
57
133
|
}
|
|
58
134
|
|
|
59
|
-
g[data-color=
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
g[data-color=
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
135
|
+
g[data-color='orange'].dx-node {
|
|
136
|
+
circle {
|
|
137
|
+
@apply fill-orange-300;
|
|
138
|
+
.dark & {
|
|
139
|
+
@apply fill-orange-500;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
g[data-color='amber'].dx-node {
|
|
144
|
+
circle {
|
|
145
|
+
@apply fill-amber-300;
|
|
146
|
+
.dark & {
|
|
147
|
+
@apply fill-amber-500;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
g[data-color='yellow'].dx-node {
|
|
152
|
+
circle {
|
|
153
|
+
@apply fill-yellow-300;
|
|
154
|
+
.dark & {
|
|
155
|
+
@apply fill-yellow-500;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
g[data-color='lime'].dx-node {
|
|
160
|
+
circle {
|
|
161
|
+
@apply fill-lime-300;
|
|
162
|
+
.dark & {
|
|
163
|
+
@apply fill-lime-500;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
g[data-color='green'].dx-node {
|
|
168
|
+
circle {
|
|
169
|
+
@apply fill-green-300;
|
|
170
|
+
.dark & {
|
|
171
|
+
@apply fill-green-500;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
g[data-color='emerald'].dx-node {
|
|
176
|
+
circle {
|
|
177
|
+
@apply fill-emerald-300;
|
|
178
|
+
.dark & {
|
|
179
|
+
@apply fill-emerald-500;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
g[data-color='teal'].dx-node {
|
|
184
|
+
circle {
|
|
185
|
+
@apply fill-teal-300;
|
|
186
|
+
.dark & {
|
|
187
|
+
@apply fill-teal-500;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
g[data-color='cyan'].dx-node {
|
|
192
|
+
circle {
|
|
193
|
+
@apply fill-cyan-300;
|
|
194
|
+
.dark & {
|
|
195
|
+
@apply fill-cyan-500;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
g[data-color='sky'].dx-node {
|
|
200
|
+
circle {
|
|
201
|
+
@apply fill-sky-300;
|
|
202
|
+
.dark & {
|
|
203
|
+
@apply fill-sky-500;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
g[data-color='indigo'].dx-node {
|
|
208
|
+
circle {
|
|
209
|
+
@apply fill-indigo-300;
|
|
210
|
+
.dark & {
|
|
211
|
+
@apply fill-indigo-500;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
g[data-color='violet'].dx-node {
|
|
216
|
+
circle {
|
|
217
|
+
@apply fill-violet-300;
|
|
218
|
+
.dark & {
|
|
219
|
+
@apply fill-violet-500;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
g[data-color='purple'].dx-node {
|
|
224
|
+
circle {
|
|
225
|
+
@apply fill-purple-300;
|
|
226
|
+
.dark & {
|
|
227
|
+
@apply fill-purple-500;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
g[data-color='fuchsia'].dx-node {
|
|
232
|
+
circle {
|
|
233
|
+
@apply fill-fuchsia-300;
|
|
234
|
+
.dark & {
|
|
235
|
+
@apply fill-fuchsia-500;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
g[data-color='rose'].dx-node {
|
|
240
|
+
circle {
|
|
241
|
+
@apply fill-rose-300;
|
|
242
|
+
.dark & {
|
|
243
|
+
@apply fill-rose-500;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
g[data-color='pink'].dx-node {
|
|
248
|
+
circle {
|
|
249
|
+
@apply fill-pink-300;
|
|
250
|
+
.dark & {
|
|
251
|
+
@apply fill-pink-500;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
74
255
|
|
|
75
256
|
g.dx-dragging,
|
|
76
257
|
g.dx-highlight {
|
|
77
258
|
circle {
|
|
78
|
-
@apply stroke-2 stroke-neutral-900
|
|
259
|
+
@apply stroke-2 stroke-neutral-900 cursor-pointer;
|
|
260
|
+
|
|
261
|
+
.dark & {
|
|
262
|
+
@apply stroke-neutral-200;
|
|
263
|
+
}
|
|
79
264
|
}
|
|
80
265
|
|
|
81
266
|
g.dx-label {
|
|
@@ -85,10 +270,10 @@ svg {
|
|
|
85
270
|
@apply stroke-2 stroke-neutral-500;
|
|
86
271
|
}
|
|
87
272
|
rect {
|
|
88
|
-
@apply stroke-1 stroke-neutral-500 fill-
|
|
273
|
+
@apply stroke-1 stroke-neutral-500 fill-inverse-surface;
|
|
89
274
|
}
|
|
90
275
|
text {
|
|
91
|
-
@apply fill-
|
|
276
|
+
@apply fill-inverse-fg;
|
|
92
277
|
}
|
|
93
278
|
}
|
|
94
279
|
}
|
|
@@ -98,7 +283,15 @@ svg {
|
|
|
98
283
|
g.dx-edge {
|
|
99
284
|
path {
|
|
100
285
|
/** NOTE: Set text- so that current color is picked up by marker. */
|
|
101
|
-
@apply stroke-1 stroke-neutral-700
|
|
286
|
+
@apply stroke-1 stroke-neutral-700 fill-none;
|
|
287
|
+
/* Force higher-quality tessellation. Some browsers' default `auto` shape-rendering
|
|
288
|
+
produces visible gaps in stroked bezier curves at certain curvature / stroke-width
|
|
289
|
+
combinations — geometricPrecision avoids the heuristic and uses precise math. */
|
|
290
|
+
shape-rendering: geometricPrecision;
|
|
291
|
+
|
|
292
|
+
.dark & {
|
|
293
|
+
@apply stroke-neutral-700;
|
|
294
|
+
}
|
|
102
295
|
}
|
|
103
296
|
|
|
104
297
|
&.dx-dashed {
|
|
@@ -108,21 +301,126 @@ svg {
|
|
|
108
301
|
}
|
|
109
302
|
}
|
|
110
303
|
|
|
111
|
-
g[data-color=
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
g[data-color=
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
304
|
+
g[data-color='orange'].dx-edge {
|
|
305
|
+
path {
|
|
306
|
+
@apply stroke-orange-300;
|
|
307
|
+
.dark & {
|
|
308
|
+
@apply stroke-orange-500;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
g[data-color='amber'].dx-edge {
|
|
313
|
+
path {
|
|
314
|
+
@apply stroke-amber-300;
|
|
315
|
+
.dark & {
|
|
316
|
+
@apply stroke-amber-500;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
g[data-color='yellow'].dx-edge {
|
|
321
|
+
path {
|
|
322
|
+
@apply stroke-yellow-300;
|
|
323
|
+
.dark & {
|
|
324
|
+
@apply stroke-yellow-500;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
g[data-color='lime'].dx-edge {
|
|
329
|
+
path {
|
|
330
|
+
@apply stroke-lime-300;
|
|
331
|
+
.dark & {
|
|
332
|
+
@apply stroke-lime-500;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
g[data-color='green'].dx-edge {
|
|
337
|
+
path {
|
|
338
|
+
@apply stroke-green-300;
|
|
339
|
+
.dark & {
|
|
340
|
+
@apply stroke-green-500;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
g[data-color='emerald'].dx-edge {
|
|
345
|
+
path {
|
|
346
|
+
@apply stroke-emerald-300;
|
|
347
|
+
.dark & {
|
|
348
|
+
@apply stroke-emerald-500;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
g[data-color='teal'].dx-edge {
|
|
353
|
+
path {
|
|
354
|
+
@apply stroke-teal-300;
|
|
355
|
+
.dark & {
|
|
356
|
+
@apply stroke-teal-500;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
g[data-color='cyan'].dx-edge {
|
|
361
|
+
path {
|
|
362
|
+
@apply stroke-cyan-300;
|
|
363
|
+
.dark & {
|
|
364
|
+
@apply stroke-cyan-500;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
g[data-color='sky'].dx-edge {
|
|
369
|
+
path {
|
|
370
|
+
@apply stroke-sky-300;
|
|
371
|
+
.dark & {
|
|
372
|
+
@apply stroke-sky-500;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
g[data-color='indigo'].dx-edge {
|
|
377
|
+
path {
|
|
378
|
+
@apply stroke-indigo-300;
|
|
379
|
+
.dark & {
|
|
380
|
+
@apply stroke-indigo-500;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
g[data-color='violet'].dx-edge {
|
|
385
|
+
path {
|
|
386
|
+
@apply stroke-violet-300;
|
|
387
|
+
.dark & {
|
|
388
|
+
@apply stroke-violet-500;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
g[data-color='purple'].dx-edge {
|
|
393
|
+
path {
|
|
394
|
+
@apply stroke-purple-300;
|
|
395
|
+
.dark & {
|
|
396
|
+
@apply stroke-purple-500;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
g[data-color='fuchsia'].dx-edge {
|
|
401
|
+
path {
|
|
402
|
+
@apply stroke-fuchsia-300;
|
|
403
|
+
.dark & {
|
|
404
|
+
@apply stroke-fuchsia-500;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
g[data-color='rose'].dx-edge {
|
|
409
|
+
path {
|
|
410
|
+
@apply stroke-rose-300;
|
|
411
|
+
.dark & {
|
|
412
|
+
@apply stroke-rose-500;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
g[data-color='pink'].dx-edge {
|
|
417
|
+
path {
|
|
418
|
+
@apply stroke-pink-300;
|
|
419
|
+
.dark & {
|
|
420
|
+
@apply stroke-pink-500;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}
|
|
126
424
|
}
|
|
127
425
|
|
|
128
426
|
.dx-linker {
|