@ltm-blueverse/alpha-semantic-hub 0.7.0 → 0.7.2
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/README.md +307 -1567
- package/explorer/src/App.tsx +83 -83
- package/explorer/src/index.css +3 -3
- package/explorer/src/ui/primitives.css +25 -25
- package/explorer/src/workspaces/DecisionWorkspace/DecisionWorkspace.tsx +7 -7
- package/explorer/src/workspaces/DiffMergeWorkspace/DiffMergeWorkspace.tsx +4 -4
- package/explorer/src/workspaces/EnrichWorkspace/EntityResolutionTab.tsx +24 -24
- package/explorer/src/workspaces/EnrichWorkspace/RegistryTab.tsx +22 -22
- package/explorer/src/workspaces/GraphWorkspace/GraphCanvas.tsx +1 -1
- package/explorer/src/workspaces/GraphWorkspace/GraphInspectorPanel.tsx +18 -18
- package/explorer/src/workspaces/GraphWorkspace/GraphLoadingOverlay.tsx +25 -25
- package/explorer/src/workspaces/GraphWorkspace/GraphWorkspace.tsx +28 -28
- package/explorer/src/workspaces/GraphWorkspace/MarkdownContentViewer.tsx +15 -15
- package/explorer/src/workspaces/GraphWorkspace/graphAnalytics.ts +1 -1
- package/explorer/src/workspaces/GraphWorkspace/graphConfig.ts +15 -15
- package/explorer/src/workspaces/GraphWorkspace/graphSceneLayers.ts +8 -8
- package/explorer/src/workspaces/GraphWorkspace/graphSceneState.ts +11 -11
- package/explorer/src/workspaces/GraphWorkspace/graphTheme.ts +66 -66
- package/explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPlugin.tsx +17 -17
- package/explorer/src/workspaces/GraphWorkspace/plugins/explorationEffectsPluginPhaseC.tsx +22 -22
- package/explorer/src/workspaces/GraphWorkspace/plugins/legendPlugin.tsx +7 -7
- package/explorer/src/workspaces/GraphWorkspace/plugins/neighborhoodPanelPlugin.tsx +10 -10
- package/explorer/src/workspaces/GraphWorkspace/plugins/temporalOverlayPlugin.tsx +9 -9
- package/explorer/src/workspaces/ImportExportWorkspace/ImportExportWorkspace.tsx +4 -4
- package/explorer/src/workspaces/LineageWorkspace/LineageDiagram.tsx +8 -8
- package/explorer/src/workspaces/ManageWorkspace/KGOverviewTab.tsx +5 -5
- package/explorer/src/workspaces/ManageWorkspace/OntologySummaryTab.tsx +19 -19
- package/explorer/src/workspaces/MemoryWorkspace.tsx +2 -2
- package/explorer/src/workspaces/OntologyWorkspace/AlignmentsTab.tsx +30 -30
- package/explorer/src/workspaces/OntologyWorkspace/HealthTab.tsx +26 -26
- package/explorer/src/workspaces/OntologyWorkspace/OntologyEditor.tsx +32 -32
- package/explorer/src/workspaces/OntologyWorkspace/OntologyLoader.tsx +22 -22
- package/explorer/src/workspaces/OntologyWorkspace/OntologyManager.tsx +40 -40
- package/explorer/src/workspaces/OntologyWorkspace/OntologySearch.tsx +22 -22
- package/explorer/src/workspaces/OntologyWorkspace/ProposalReview.tsx +31 -31
- package/explorer/src/workspaces/OntologyWorkspace/SKOSVocabularyManager.tsx +26 -26
- package/explorer/src/workspaces/OntologyWorkspace/ShaclStudio.tsx +21 -21
- package/explorer/src/workspaces/OntologyWorkspace/VersionsTab.tsx +38 -38
- package/explorer/src/workspaces/OntologyWorkspace/ontologyEditorModel.ts +3 -3
- package/explorer/src/workspaces/ReasoningWorkspace.tsx +4 -4
- package/explorer/src/workspaces/SparqlWorkspace/SparqlWorkspace.tsx +3 -3
- package/explorer/src/workspaces/VocabularyWorkspace/ConceptTree.tsx +3 -3
- package/explorer/src/workspaces/VocabularyWorkspace/ImportDropzone.tsx +4 -4
- package/explorer/src/workspaces/VocabularyWorkspace/PropertyPanel.tsx +8 -8
- package/explorer/src/workspaces/VocabularyWorkspace/Sidebar.tsx +4 -4
- package/explorer/src/workspaces/VocabularyWorkspace/VocabularyWorkspace.tsx +3 -3
- package/package.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
export const GRAPH_THEME = {
|
|
2
2
|
background: {
|
|
3
|
-
canvas: "#
|
|
4
|
-
shell: "#
|
|
5
|
-
panel: "#
|
|
3
|
+
canvas: "#f6f6f7",
|
|
4
|
+
shell: "#f7f7f7",
|
|
5
|
+
panel: "#f8f8f8",
|
|
6
6
|
grid: "rgba(93, 124, 168, 0.08)",
|
|
7
|
-
vignette: "rgba(
|
|
7
|
+
vignette: "rgba(255, 255, 255, 0.88)",
|
|
8
8
|
},
|
|
9
9
|
nodes: {
|
|
10
10
|
palette: [
|
|
11
|
-
"#
|
|
12
|
-
"#
|
|
13
|
-
"#
|
|
14
|
-
"#
|
|
15
|
-
"#
|
|
16
|
-
"#
|
|
17
|
-
"#
|
|
11
|
+
"#0989ad",
|
|
12
|
+
"#0c8577",
|
|
13
|
+
"#5da9ff",
|
|
14
|
+
"#6d3ae0",
|
|
15
|
+
"#c026d3",
|
|
16
|
+
"#ff9a3c",
|
|
17
|
+
"#4d7c0f",
|
|
18
18
|
],
|
|
19
|
-
selected: "#
|
|
19
|
+
selected: "#955e0a",
|
|
20
20
|
selectedGlow: "rgba(255, 200, 87, 0.36)",
|
|
21
21
|
hoverGlow: "rgba(60, 231, 255, 0.32)",
|
|
22
|
-
border: "#
|
|
22
|
+
border: "#f6f7f7",
|
|
23
23
|
subduedAlpha: 0.1,
|
|
24
24
|
},
|
|
25
25
|
edges: {
|
|
@@ -73,7 +73,7 @@ export function hashString(value: string): number {
|
|
|
73
73
|
|
|
74
74
|
export function withAlpha(color: string | undefined, alpha: number): string {
|
|
75
75
|
if (!color) {
|
|
76
|
-
return `rgba(
|
|
76
|
+
return `rgba(95, 110, 130, ${alpha})`;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
if (color.startsWith("#")) {
|
|
@@ -98,5 +98,5 @@ export function withAlpha(color: string | undefined, alpha: number): string {
|
|
|
98
98
|
return color.replace("rgb(", "rgba(").replace(")", `, ${alpha})`);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
return `rgba(
|
|
101
|
+
return `rgba(95, 110, 130, ${alpha})`;
|
|
102
102
|
}
|
|
@@ -266,9 +266,9 @@ function renderDensityField(
|
|
|
266
266
|
(GRAPH_THEME.effects.semanticRegions.splatRadius + sample.size * 0.9) * scale,
|
|
267
267
|
);
|
|
268
268
|
const gradient = context.createRadialGradient(x, y, 0, x, y, radius);
|
|
269
|
-
gradient.addColorStop(0, "rgba(
|
|
270
|
-
gradient.addColorStop(0.58, "rgba(
|
|
271
|
-
gradient.addColorStop(1, "rgba(
|
|
269
|
+
gradient.addColorStop(0, "rgba(28, 20, 24,0.05)");
|
|
270
|
+
gradient.addColorStop(0.58, "rgba(28, 20, 24,0.02)");
|
|
271
|
+
gradient.addColorStop(1, "rgba(28, 20, 24,0)");
|
|
272
272
|
context.fillStyle = gradient;
|
|
273
273
|
context.beginPath();
|
|
274
274
|
context.arc(x, y, radius, 0, Math.PI * 2);
|
|
@@ -393,10 +393,10 @@ function drawMaskContour(
|
|
|
393
393
|
|
|
394
394
|
function buildRegionRenderColors(color: string) {
|
|
395
395
|
return {
|
|
396
|
-
fogColor: blendHex("#
|
|
397
|
-
innerContourColor: blendHex("#
|
|
398
|
-
outerContourColor: blendHex("#
|
|
399
|
-
labelBorderColor: blendHex("#
|
|
396
|
+
fogColor: blendHex("#f7f8f8", color, 0.46),
|
|
397
|
+
innerContourColor: blendHex("#fafafa", color, 0.78),
|
|
398
|
+
outerContourColor: blendHex("#f8f9f9", color, 0.6),
|
|
399
|
+
labelBorderColor: blendHex("#2b3f57", color, 0.78),
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
402
|
|
|
@@ -446,7 +446,7 @@ function drawRegionLabel(
|
|
|
446
446
|
const left = x - width / 2;
|
|
447
447
|
const top = y - height / 2;
|
|
448
448
|
|
|
449
|
-
context.fillStyle = "rgba(
|
|
449
|
+
context.fillStyle = "rgba(255, 255, 255, 0.84)";
|
|
450
450
|
context.strokeStyle = withAlpha(color, 0.24);
|
|
451
451
|
context.lineWidth = 1;
|
|
452
452
|
context.beginPath();
|
|
@@ -132,18 +132,18 @@ export type ResolvedEdgeStyle = {
|
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
export function getDistanceBandColor(distance: number): string {
|
|
135
|
-
if (distance <= 0) return "#
|
|
136
|
-
if (distance <= 1) return "#
|
|
135
|
+
if (distance <= 0) return "#7cff9b";
|
|
136
|
+
if (distance <= 1) return "#178a4c";
|
|
137
137
|
if (distance <= 2) return "#ff2d4b";
|
|
138
|
-
if (distance <= 3) return "#
|
|
139
|
-
if (distance <= 6) return "#
|
|
140
|
-
return "#
|
|
138
|
+
if (distance <= 3) return "#7d5c14";
|
|
139
|
+
if (distance <= 6) return "#7d5c14";
|
|
140
|
+
return "#ec2315";
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
function getSemanticScoreColor(score: number): string {
|
|
144
|
-
if (score >= 0.7) return "#
|
|
145
|
-
if (score >= 0.4) return "#
|
|
146
|
-
return "#
|
|
144
|
+
if (score >= 0.7) return "#178a4c";
|
|
145
|
+
if (score >= 0.4) return "#9a6700";
|
|
146
|
+
return "#ec2315";
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
export function buildStructuralDistanceSnapshot(
|
|
@@ -481,7 +481,7 @@ export function resolveDistanceEdgeStyle(
|
|
|
481
481
|
|
|
482
482
|
return {
|
|
483
483
|
hidden: true,
|
|
484
|
-
color: withAlpha("#
|
|
484
|
+
color: withAlpha("#f9f9fa", 0.02),
|
|
485
485
|
size: Math.min(baseStyle.size ?? 0.35, 0.2),
|
|
486
486
|
zIndex: 0,
|
|
487
487
|
};
|
|
@@ -2448,8 +2448,8 @@ function buildCommunityGroupedGraph(): GraphDisplayResult {
|
|
|
2448
2448
|
arrowVisibilityPolicy: "hidden",
|
|
2449
2449
|
baseSize,
|
|
2450
2450
|
size: baseSize,
|
|
2451
|
-
color: withAlpha("#
|
|
2452
|
-
mutedColor: withAlpha("#
|
|
2451
|
+
color: withAlpha("#9bb7d6", GRAPH_THEME.grouped.style.edgeAlpha),
|
|
2452
|
+
mutedColor: withAlpha("#9bb7d6", Math.max(0.14, GRAPH_THEME.grouped.style.edgeAlpha * 0.4)),
|
|
2453
2453
|
visualPriority: Math.min(1.05, 0.38 + Math.log2(aggregateCount + 1) * 0.14),
|
|
2454
2454
|
});
|
|
2455
2455
|
});
|
|
@@ -393,19 +393,19 @@ export interface GraphTheme {
|
|
|
393
393
|
export const GRAPH_THEME: GraphTheme = {
|
|
394
394
|
palette: {
|
|
395
395
|
semantic: [
|
|
396
|
-
"#
|
|
396
|
+
"#3e79f2",
|
|
397
397
|
"#149287",
|
|
398
|
-
"#
|
|
399
|
-
"#
|
|
400
|
-
"#
|
|
401
|
-
"#
|
|
402
|
-
"#
|
|
398
|
+
"#2f9f61",
|
|
399
|
+
"#555fd6",
|
|
400
|
+
"#6d28d9",
|
|
401
|
+
"#b65473",
|
|
402
|
+
"#8a5a10",
|
|
403
403
|
],
|
|
404
404
|
overview: {
|
|
405
|
-
nodeBase: "#
|
|
406
|
-
nodeCore: "#
|
|
407
|
-
nodeMuted: "#
|
|
408
|
-
nodeBorder: "#
|
|
405
|
+
nodeBase: "#f7f7f7",
|
|
406
|
+
nodeCore: "#5a7a9e",
|
|
407
|
+
nodeMuted: "#f8f8f8",
|
|
408
|
+
nodeBorder: "#7a92ae",
|
|
409
409
|
nodeTintMix: 0.14,
|
|
410
410
|
nodeCoreMix: 0.72,
|
|
411
411
|
nodeShellAlpha: 0.97,
|
|
@@ -415,82 +415,82 @@ export const GRAPH_THEME: GraphTheme = {
|
|
|
415
415
|
edgeInspection: "rgba(76, 102, 128, 0.12)",
|
|
416
416
|
},
|
|
417
417
|
accent: {
|
|
418
|
-
selected: "#
|
|
419
|
-
hovered: "#
|
|
420
|
-
path: "#
|
|
421
|
-
temporal: "#
|
|
422
|
-
provenance: "#
|
|
423
|
-
inferred: "#
|
|
418
|
+
selected: "#7d5c14",
|
|
419
|
+
hovered: "#0f92bd",
|
|
420
|
+
path: "#93481a",
|
|
421
|
+
temporal: "#0a86ad",
|
|
422
|
+
provenance: "#8b5cf6",
|
|
423
|
+
inferred: "#a04a1e",
|
|
424
424
|
},
|
|
425
425
|
muted: {
|
|
426
426
|
fallback: "rgba(96, 112, 136, 0.18)",
|
|
427
427
|
nodeAlpha: 0.12,
|
|
428
|
-
edgeOverview: "rgba(
|
|
428
|
+
edgeOverview: "rgba(255, 255, 255, 0.035)",
|
|
429
429
|
edgeStructure: "rgba(42, 58, 72, 0.055)",
|
|
430
430
|
edgeInspection: "rgba(62, 84, 104, 0.075)",
|
|
431
431
|
edgeFocus: "rgba(132, 178, 202, 0.26)",
|
|
432
432
|
},
|
|
433
433
|
background: {
|
|
434
|
-
canvas: "#
|
|
435
|
-
shell: "rgba(
|
|
434
|
+
canvas: "#f6f6f7",
|
|
435
|
+
shell: "rgba(255, 255, 255, 0.82)",
|
|
436
436
|
shellBorder: "rgba(170, 184, 205, 0.14)",
|
|
437
437
|
shellGlow: "rgba(0, 0, 0, 0.28)",
|
|
438
438
|
grid: "rgba(170, 184, 205, 0.026)",
|
|
439
|
-
vignette: "rgba(
|
|
440
|
-
nodeBorder: "#
|
|
439
|
+
vignette: "rgba(255, 255, 255, 0.76)",
|
|
440
|
+
nodeBorder: "#f6f6f7",
|
|
441
441
|
},
|
|
442
442
|
},
|
|
443
443
|
ui: {
|
|
444
444
|
text: {
|
|
445
|
-
strong: "#
|
|
446
|
-
body: "#
|
|
447
|
-
muted: "#
|
|
448
|
-
subtle: "#
|
|
449
|
-
inverse: "#
|
|
445
|
+
strong: "#28251c",
|
|
446
|
+
body: "#3b4045",
|
|
447
|
+
muted: "#9aa3ae",
|
|
448
|
+
subtle: "#6f7a86",
|
|
449
|
+
inverse: "#f6f6f7",
|
|
450
450
|
},
|
|
451
451
|
surface: {
|
|
452
|
-
app: "#
|
|
453
|
-
stage: "#
|
|
454
|
-
card: "linear-gradient(180deg, rgba(
|
|
455
|
-
cardSubtle: "linear-gradient(180deg, rgba(
|
|
456
|
-
cardStrong: "linear-gradient(180deg, rgba(
|
|
457
|
-
panel: "linear-gradient(180deg, rgba(
|
|
458
|
-
panelBorder: "rgba(
|
|
459
|
-
divider: "rgba(
|
|
460
|
-
shadow: "0 22px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(
|
|
452
|
+
app: "#f5f5f6",
|
|
453
|
+
stage: "#f6f6f7",
|
|
454
|
+
card: "linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.78))",
|
|
455
|
+
cardSubtle: "linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.64))",
|
|
456
|
+
cardStrong: "linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9))",
|
|
457
|
+
panel: "linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.9))",
|
|
458
|
+
panelBorder: "rgba(70, 60, 48, 0.13)",
|
|
459
|
+
divider: "rgba(70, 60, 48, 0.1)",
|
|
460
|
+
shadow: "0 22px 60px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(28, 20, 24, 0.045)",
|
|
461
461
|
},
|
|
462
462
|
scene: {
|
|
463
|
-
background: "linear-gradient(180deg, #
|
|
463
|
+
background: "linear-gradient(180deg, #f6f6f7 0%, #f5f5f6 100%)",
|
|
464
464
|
radialGlow: "radial-gradient(circle at 50% 18%, rgba(88, 224, 204, 0.07), transparent 30%), radial-gradient(circle at 78% 0%, rgba(217, 168, 92, 0.055), transparent 26%)",
|
|
465
|
-
grid: "rgba(
|
|
466
|
-
gridStrong: "rgba(
|
|
467
|
-
vignette: "radial-gradient(ellipse at center, transparent 42%, rgba(
|
|
465
|
+
grid: "rgba(70, 62, 50, 0.024)",
|
|
466
|
+
gridStrong: "rgba(70, 62, 50, 0.052)",
|
|
467
|
+
vignette: "radial-gradient(ellipse at center, transparent 42%, rgba(255, 255, 255, 0.82) 100%)",
|
|
468
468
|
},
|
|
469
469
|
control: {
|
|
470
|
-
defaultBg: "rgba(
|
|
471
|
-
defaultBorder: "rgba(
|
|
472
|
-
defaultText: "#
|
|
473
|
-
hoverBg: "rgba(
|
|
470
|
+
defaultBg: "rgba(28, 20, 24, 0.035)",
|
|
471
|
+
defaultBorder: "rgba(70, 60, 48, 0.11)",
|
|
472
|
+
defaultText: "#3c372d",
|
|
473
|
+
hoverBg: "rgba(28, 20, 24, 0.065)",
|
|
474
474
|
activeBg: "linear-gradient(180deg, rgba(74, 181, 166, 0.24), rgba(38, 118, 116, 0.18))",
|
|
475
475
|
activeBorder: "rgba(98, 226, 205, 0.42)",
|
|
476
|
-
activeText: "#
|
|
476
|
+
activeText: "#162e28",
|
|
477
477
|
primaryBg: "linear-gradient(180deg, rgba(55, 145, 132, 0.42), rgba(24, 86, 88, 0.28))",
|
|
478
478
|
primaryBorder: "rgba(99, 228, 206, 0.34)",
|
|
479
|
-
primaryText: "#
|
|
479
|
+
primaryText: "#162d26",
|
|
480
480
|
disabledText: "rgba(154, 163, 174, 0.42)",
|
|
481
|
-
inputBg: "rgba(
|
|
482
|
-
inputBorder: "rgba(
|
|
481
|
+
inputBg: "rgba(255, 255, 255, 0.52)",
|
|
482
|
+
inputBorder: "rgba(70, 60, 48, 0.13)",
|
|
483
483
|
focusRing: "rgba(98, 226, 205, 0.16)",
|
|
484
|
-
dangerText: "#
|
|
484
|
+
dangerText: "#3f1f1b",
|
|
485
485
|
},
|
|
486
486
|
timeline: {
|
|
487
|
-
background: "linear-gradient(180deg, rgba(
|
|
487
|
+
background: "linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.92))",
|
|
488
488
|
border: "rgba(170, 184, 205, 0.12)",
|
|
489
489
|
gridMinor: "rgba(170, 184, 205, 0.04)",
|
|
490
490
|
gridMajor: "rgba(170, 184, 205, 0.09)",
|
|
491
|
-
text: "#
|
|
492
|
-
textStrong: "#
|
|
493
|
-
playhead: "#
|
|
491
|
+
text: "#7a92ae",
|
|
492
|
+
textStrong: "#a5b7cd",
|
|
493
|
+
playhead: "#0f92bd",
|
|
494
494
|
playheadSoft: "rgba(143, 231, 255, 0.12)",
|
|
495
495
|
},
|
|
496
496
|
},
|
|
@@ -551,10 +551,10 @@ export const GRAPH_THEME: GraphTheme = {
|
|
|
551
551
|
radius: 6,
|
|
552
552
|
offsetX: 12,
|
|
553
553
|
offsetY: 10,
|
|
554
|
-
background: "rgba(
|
|
554
|
+
background: "rgba(255, 255, 255, 0.9)",
|
|
555
555
|
borderColor: "rgba(154, 181, 212, 0.16)",
|
|
556
556
|
borderAlpha: 0.28,
|
|
557
|
-
textColor: "#
|
|
557
|
+
textColor: "#16202d",
|
|
558
558
|
shadowColor: "rgba(0, 0, 0, 0.6)",
|
|
559
559
|
shadowAlpha: 0.26,
|
|
560
560
|
shadowBlur: 12,
|
|
@@ -571,11 +571,11 @@ export const GRAPH_THEME: GraphTheme = {
|
|
|
571
571
|
offsetX: 16,
|
|
572
572
|
offsetY: 16,
|
|
573
573
|
metaGap: 5,
|
|
574
|
-
background: "rgba(
|
|
574
|
+
background: "rgba(255, 255, 255, 0.94)",
|
|
575
575
|
borderColor: "rgba(154, 181, 212, 0.18)",
|
|
576
576
|
borderAlpha: 0.32,
|
|
577
|
-
textColor: "#
|
|
578
|
-
metaColor: "rgba(
|
|
577
|
+
textColor: "#16232d",
|
|
578
|
+
metaColor: "rgba(25, 90, 175, 0.58)",
|
|
579
579
|
shadowColor: "rgba(0, 0, 0, 0.62)",
|
|
580
580
|
shadowAlpha: 0.34,
|
|
581
581
|
shadowBlur: 15,
|
|
@@ -668,24 +668,24 @@ export const GRAPH_THEME: GraphTheme = {
|
|
|
668
668
|
},
|
|
669
669
|
},
|
|
670
670
|
selectedRing: {
|
|
671
|
-
color: "#
|
|
671
|
+
color: "#8a6414",
|
|
672
672
|
width: 1.9,
|
|
673
673
|
nativeSize: 2.2,
|
|
674
674
|
glowAlpha: 0.2,
|
|
675
675
|
visibleFrom: "overview",
|
|
676
676
|
},
|
|
677
677
|
badges: {
|
|
678
|
-
inferred: { color: "#
|
|
679
|
-
temporal: { color: "#
|
|
680
|
-
provenance: { color: "#
|
|
678
|
+
inferred: { color: "#7d4420", label: "I" },
|
|
679
|
+
temporal: { color: "#0f7fa6", label: "T" },
|
|
680
|
+
provenance: { color: "#a289d0", label: "P" },
|
|
681
681
|
},
|
|
682
682
|
badge: {
|
|
683
683
|
radius: 7,
|
|
684
684
|
offset: 3,
|
|
685
685
|
fontSize: 8,
|
|
686
|
-
textColor: "#
|
|
687
|
-
background: "rgba(
|
|
688
|
-
stroke: "rgba(
|
|
686
|
+
textColor: "#f6f7f7",
|
|
687
|
+
background: "rgba(255, 255, 255, 0.84)",
|
|
688
|
+
stroke: "rgba(28, 20, 24,0.14)",
|
|
689
689
|
glowAlpha: 0.24,
|
|
690
690
|
},
|
|
691
691
|
},
|
|
@@ -984,7 +984,7 @@ export function clamp(min: number, value: number, max: number): number {
|
|
|
984
984
|
|
|
985
985
|
export function withAlpha(color: string | undefined, alpha: number): string {
|
|
986
986
|
if (!color) {
|
|
987
|
-
return `rgba(
|
|
987
|
+
return `rgba(95, 110, 130, ${alpha})`;
|
|
988
988
|
}
|
|
989
989
|
|
|
990
990
|
if (color.startsWith("#")) {
|
|
@@ -1009,7 +1009,7 @@ export function withAlpha(color: string | undefined, alpha: number): string {
|
|
|
1009
1009
|
return color.replace("rgb(", "rgba(").replace(")", `, ${alpha})`);
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
-
return `rgba(
|
|
1012
|
+
return `rgba(95, 110, 130, ${alpha})`;
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
export function darkenHex(hexColor: string, amount: number): string {
|
|
@@ -180,7 +180,7 @@ export const explorationEffectsPlugin: GraphPlugin = {
|
|
|
180
180
|
style={{
|
|
181
181
|
...legendSwatchStyle,
|
|
182
182
|
background: item.color,
|
|
183
|
-
boxShadow: `0 0 0 1px rgba(
|
|
183
|
+
boxShadow: `0 0 0 1px rgba(28, 20, 24,0.06), 0 0 14px ${item.color}40`,
|
|
184
184
|
}}
|
|
185
185
|
/>
|
|
186
186
|
<div style={{ minWidth: 0, flex: 1 }}>
|
|
@@ -235,7 +235,7 @@ const panelBodyStyle: CSSProperties = {
|
|
|
235
235
|
};
|
|
236
236
|
|
|
237
237
|
const panelEyebrowStyle: CSSProperties = {
|
|
238
|
-
color: "#
|
|
238
|
+
color: "#aa485b",
|
|
239
239
|
fontSize: 11,
|
|
240
240
|
fontWeight: 700,
|
|
241
241
|
letterSpacing: "0.08em",
|
|
@@ -248,12 +248,12 @@ const sectionStyle: CSSProperties = {
|
|
|
248
248
|
gap: 8,
|
|
249
249
|
padding: "10px 12px",
|
|
250
250
|
borderRadius: 14,
|
|
251
|
-
border: "1px solid rgba(
|
|
252
|
-
background: "rgba(
|
|
251
|
+
border: "1px solid rgba(28, 20, 24,0.06)",
|
|
252
|
+
background: "rgba(28, 20, 24,0.025)",
|
|
253
253
|
};
|
|
254
254
|
|
|
255
255
|
const sectionTitleStyle: CSSProperties = {
|
|
256
|
-
color: "#
|
|
256
|
+
color: "#2e161a",
|
|
257
257
|
fontSize: 12,
|
|
258
258
|
fontWeight: 700,
|
|
259
259
|
};
|
|
@@ -266,7 +266,7 @@ const toggleRowStyle: CSSProperties = {
|
|
|
266
266
|
};
|
|
267
267
|
|
|
268
268
|
const rowTitleStyle: CSSProperties = {
|
|
269
|
-
color: "#
|
|
269
|
+
color: "#2d1619",
|
|
270
270
|
fontSize: 13,
|
|
271
271
|
fontWeight: 600,
|
|
272
272
|
};
|
|
@@ -278,7 +278,7 @@ const rowDescriptionStyle: CSSProperties = {
|
|
|
278
278
|
};
|
|
279
279
|
|
|
280
280
|
const rowMetaStyle: CSSProperties = {
|
|
281
|
-
color: "#
|
|
281
|
+
color: "#2f7fd6",
|
|
282
282
|
fontSize: 11,
|
|
283
283
|
lineHeight: 1.45,
|
|
284
284
|
};
|
|
@@ -287,9 +287,9 @@ const toggleButtonStyle: CSSProperties = {
|
|
|
287
287
|
minWidth: 52,
|
|
288
288
|
padding: "8px 10px",
|
|
289
289
|
borderRadius: 999,
|
|
290
|
-
border: "1px solid rgba(
|
|
291
|
-
background: "rgba(
|
|
292
|
-
color: "#
|
|
290
|
+
border: "1px solid rgba(28, 20, 24,0.08)",
|
|
291
|
+
background: "rgba(28, 20, 24,0.03)",
|
|
292
|
+
color: "#17222f",
|
|
293
293
|
fontSize: 12,
|
|
294
294
|
fontWeight: 700,
|
|
295
295
|
cursor: "pointer",
|
|
@@ -299,7 +299,7 @@ const toggleButtonActiveStyle: CSSProperties = {
|
|
|
299
299
|
...toggleButtonStyle,
|
|
300
300
|
background: "rgba(31, 111, 235, 0.24)",
|
|
301
301
|
border: "1px solid rgba(255, 107, 129, 0.28)",
|
|
302
|
-
color: "#
|
|
302
|
+
color: "#16212d",
|
|
303
303
|
};
|
|
304
304
|
|
|
305
305
|
const legendRowStyle: CSSProperties = {
|
|
@@ -308,8 +308,8 @@ const legendRowStyle: CSSProperties = {
|
|
|
308
308
|
gap: 10,
|
|
309
309
|
padding: "8px 10px",
|
|
310
310
|
borderRadius: 12,
|
|
311
|
-
border: "1px solid rgba(
|
|
312
|
-
background: "rgba(
|
|
311
|
+
border: "1px solid rgba(28, 20, 24,0.06)",
|
|
312
|
+
background: "rgba(28, 20, 24,0.025)",
|
|
313
313
|
};
|
|
314
314
|
|
|
315
315
|
const legendSwatchStyle: CSSProperties = {
|
|
@@ -321,7 +321,7 @@ const legendSwatchStyle: CSSProperties = {
|
|
|
321
321
|
|
|
322
322
|
const detailsStyle: CSSProperties = {
|
|
323
323
|
borderRadius: 12,
|
|
324
|
-
border: "1px solid rgba(
|
|
324
|
+
border: "1px solid rgba(28, 20, 24,0.05)",
|
|
325
325
|
background: "rgba(0,0,0,0.14)",
|
|
326
326
|
overflow: "hidden",
|
|
327
327
|
};
|
|
@@ -329,7 +329,7 @@ const detailsStyle: CSSProperties = {
|
|
|
329
329
|
const summaryStyle: CSSProperties = {
|
|
330
330
|
cursor: "pointer",
|
|
331
331
|
padding: "10px 12px",
|
|
332
|
-
color: "#
|
|
332
|
+
color: "#602b34",
|
|
333
333
|
fontSize: 12,
|
|
334
334
|
fontWeight: 700,
|
|
335
335
|
letterSpacing: "0.04em",
|
|
@@ -339,7 +339,7 @@ const summaryStyle: CSSProperties = {
|
|
|
339
339
|
const diagnosticsPreStyle: CSSProperties = {
|
|
340
340
|
margin: 0,
|
|
341
341
|
padding: "0 12px 12px",
|
|
342
|
-
color: "#
|
|
342
|
+
color: "#2e161a",
|
|
343
343
|
fontSize: 11,
|
|
344
344
|
lineHeight: 1.55,
|
|
345
345
|
whiteSpace: "pre-wrap",
|
|
@@ -347,7 +347,7 @@ const diagnosticsPreStyle: CSSProperties = {
|
|
|
347
347
|
};
|
|
348
348
|
|
|
349
349
|
const emptyTextStyle: CSSProperties = {
|
|
350
|
-
color: "#
|
|
350
|
+
color: "#aa485b",
|
|
351
351
|
fontSize: 12,
|
|
352
352
|
lineHeight: 1.5,
|
|
353
353
|
};
|
|
@@ -174,7 +174,7 @@ function renderRegionsAndSignals(
|
|
|
174
174
|
style={{
|
|
175
175
|
...legendSwatchStyle,
|
|
176
176
|
background: region.color,
|
|
177
|
-
boxShadow: `0 0 0 1px rgba(
|
|
177
|
+
boxShadow: `0 0 0 1px rgba(28, 20, 24,0.06), 0 0 14px ${region.color}40`,
|
|
178
178
|
}}
|
|
179
179
|
/>
|
|
180
180
|
<div style={{ minWidth: 0, flex: 1 }}>
|
|
@@ -249,7 +249,7 @@ function renderRegionsAndSignals(
|
|
|
249
249
|
style={{
|
|
250
250
|
...legendSwatchStyle,
|
|
251
251
|
background: item.color,
|
|
252
|
-
boxShadow: `0 0 0 1px rgba(
|
|
252
|
+
boxShadow: `0 0 0 1px rgba(28, 20, 24,0.06), 0 0 14px ${item.color}40`,
|
|
253
253
|
}}
|
|
254
254
|
/>
|
|
255
255
|
<div style={{ minWidth: 0, flex: 1 }}>
|
|
@@ -375,7 +375,7 @@ const panelBodyStyle: CSSProperties = {
|
|
|
375
375
|
};
|
|
376
376
|
|
|
377
377
|
const panelEyebrowStyle: CSSProperties = {
|
|
378
|
-
color: "#
|
|
378
|
+
color: "#aa485b",
|
|
379
379
|
fontSize: 11,
|
|
380
380
|
fontWeight: 700,
|
|
381
381
|
letterSpacing: "0.08em",
|
|
@@ -388,18 +388,18 @@ const sectionStyle: CSSProperties = {
|
|
|
388
388
|
gap: 8,
|
|
389
389
|
padding: "10px 12px",
|
|
390
390
|
borderRadius: 14,
|
|
391
|
-
border: "1px solid rgba(
|
|
392
|
-
background: "rgba(
|
|
391
|
+
border: "1px solid rgba(28, 20, 24,0.06)",
|
|
392
|
+
background: "rgba(28, 20, 24,0.025)",
|
|
393
393
|
};
|
|
394
394
|
|
|
395
395
|
const sectionTitleStyle: CSSProperties = {
|
|
396
|
-
color: "#
|
|
396
|
+
color: "#2e161a",
|
|
397
397
|
fontSize: 12,
|
|
398
398
|
fontWeight: 700,
|
|
399
399
|
};
|
|
400
400
|
|
|
401
401
|
const subsectionTitleStyle: CSSProperties = {
|
|
402
|
-
color: "#
|
|
402
|
+
color: "#1a2b3c",
|
|
403
403
|
fontSize: 11,
|
|
404
404
|
fontWeight: 700,
|
|
405
405
|
letterSpacing: "0.05em",
|
|
@@ -414,7 +414,7 @@ const toggleRowStyle: CSSProperties = {
|
|
|
414
414
|
};
|
|
415
415
|
|
|
416
416
|
const rowTitleStyle: CSSProperties = {
|
|
417
|
-
color: "#
|
|
417
|
+
color: "#2d1619",
|
|
418
418
|
fontSize: 13,
|
|
419
419
|
fontWeight: 600,
|
|
420
420
|
};
|
|
@@ -426,7 +426,7 @@ const rowDescriptionStyle: CSSProperties = {
|
|
|
426
426
|
};
|
|
427
427
|
|
|
428
428
|
const rowMetaStyle: CSSProperties = {
|
|
429
|
-
color: "#
|
|
429
|
+
color: "#2f7fd6",
|
|
430
430
|
fontSize: 11,
|
|
431
431
|
lineHeight: 1.45,
|
|
432
432
|
};
|
|
@@ -435,9 +435,9 @@ const toggleButtonStyle: CSSProperties = {
|
|
|
435
435
|
minWidth: 52,
|
|
436
436
|
padding: "8px 10px",
|
|
437
437
|
borderRadius: 999,
|
|
438
|
-
border: "1px solid rgba(
|
|
439
|
-
background: "rgba(
|
|
440
|
-
color: "#
|
|
438
|
+
border: "1px solid rgba(28, 20, 24,0.08)",
|
|
439
|
+
background: "rgba(28, 20, 24,0.03)",
|
|
440
|
+
color: "#17222f",
|
|
441
441
|
fontSize: 12,
|
|
442
442
|
fontWeight: 700,
|
|
443
443
|
cursor: "pointer",
|
|
@@ -447,7 +447,7 @@ const toggleButtonActiveStyle: CSSProperties = {
|
|
|
447
447
|
...toggleButtonStyle,
|
|
448
448
|
background: "rgba(31, 111, 235, 0.24)",
|
|
449
449
|
border: "1px solid rgba(255, 107, 129, 0.28)",
|
|
450
|
-
color: "#
|
|
450
|
+
color: "#16212d",
|
|
451
451
|
};
|
|
452
452
|
|
|
453
453
|
const legendRowStyle: CSSProperties = {
|
|
@@ -456,8 +456,8 @@ const legendRowStyle: CSSProperties = {
|
|
|
456
456
|
gap: 10,
|
|
457
457
|
padding: "8px 10px",
|
|
458
458
|
borderRadius: 12,
|
|
459
|
-
border: "1px solid rgba(
|
|
460
|
-
background: "rgba(
|
|
459
|
+
border: "1px solid rgba(28, 20, 24,0.06)",
|
|
460
|
+
background: "rgba(28, 20, 24,0.025)",
|
|
461
461
|
};
|
|
462
462
|
|
|
463
463
|
const legendSwatchStyle: CSSProperties = {
|
|
@@ -473,8 +473,8 @@ const signalRowStyle: CSSProperties = {
|
|
|
473
473
|
gap: 10,
|
|
474
474
|
padding: "8px 10px",
|
|
475
475
|
borderRadius: 12,
|
|
476
|
-
border: "1px solid rgba(
|
|
477
|
-
background: "rgba(
|
|
476
|
+
border: "1px solid rgba(28, 20, 24,0.05)",
|
|
477
|
+
background: "rgba(28, 20, 24,0.02)",
|
|
478
478
|
};
|
|
479
479
|
|
|
480
480
|
const signalBadgeStyle: CSSProperties = {
|
|
@@ -482,7 +482,7 @@ const signalBadgeStyle: CSSProperties = {
|
|
|
482
482
|
borderRadius: 999,
|
|
483
483
|
background: "rgba(31, 111, 235, 0.16)",
|
|
484
484
|
border: "1px solid rgba(255, 107, 129, 0.16)",
|
|
485
|
-
color: "#
|
|
485
|
+
color: "#2e161a",
|
|
486
486
|
fontSize: 11,
|
|
487
487
|
fontWeight: 700,
|
|
488
488
|
whiteSpace: "nowrap",
|
|
@@ -490,7 +490,7 @@ const signalBadgeStyle: CSSProperties = {
|
|
|
490
490
|
|
|
491
491
|
const detailsStyle: CSSProperties = {
|
|
492
492
|
borderRadius: 12,
|
|
493
|
-
border: "1px solid rgba(
|
|
493
|
+
border: "1px solid rgba(28, 20, 24,0.05)",
|
|
494
494
|
background: "rgba(0,0,0,0.14)",
|
|
495
495
|
overflow: "hidden",
|
|
496
496
|
};
|
|
@@ -498,7 +498,7 @@ const detailsStyle: CSSProperties = {
|
|
|
498
498
|
const summaryStyle: CSSProperties = {
|
|
499
499
|
cursor: "pointer",
|
|
500
500
|
padding: "10px 12px",
|
|
501
|
-
color: "#
|
|
501
|
+
color: "#602b34",
|
|
502
502
|
fontSize: 12,
|
|
503
503
|
fontWeight: 700,
|
|
504
504
|
letterSpacing: "0.04em",
|
|
@@ -508,7 +508,7 @@ const summaryStyle: CSSProperties = {
|
|
|
508
508
|
const diagnosticsPreStyle: CSSProperties = {
|
|
509
509
|
margin: 0,
|
|
510
510
|
padding: "0 12px 12px",
|
|
511
|
-
color: "#
|
|
511
|
+
color: "#2e161a",
|
|
512
512
|
fontSize: 11,
|
|
513
513
|
lineHeight: 1.55,
|
|
514
514
|
whiteSpace: "pre-wrap",
|
|
@@ -516,7 +516,7 @@ const diagnosticsPreStyle: CSSProperties = {
|
|
|
516
516
|
};
|
|
517
517
|
|
|
518
518
|
const emptyTextStyle: CSSProperties = {
|
|
519
|
-
color: "#
|
|
519
|
+
color: "#aa485b",
|
|
520
520
|
fontSize: 12,
|
|
521
521
|
lineHeight: 1.5,
|
|
522
522
|
};
|