@cyvest/cyvest-vis 4.4.0 → 5.0.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/README.md +3 -3
- package/dist/{index.mjs → index.cjs} +384 -355
- package/dist/{index.d.mts → index.d.cts} +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +372 -367
- package/package.json +16 -3
- package/src/components/Icons.tsx +3 -3
- package/src/components/InvestigationGraph.tsx +79 -57
- package/src/components/InvestigationNode.tsx +2 -2
- package/src/types.ts +4 -4
|
@@ -42,14 +42,14 @@ interface ObservableEdgeData extends Record<string, unknown> {
|
|
|
42
42
|
/**
|
|
43
43
|
* Node types for the investigation graph view.
|
|
44
44
|
*/
|
|
45
|
-
type InvestigationNodeType = "root" | "check" | "
|
|
45
|
+
type InvestigationNodeType = "root" | "check" | "tag";
|
|
46
46
|
/**
|
|
47
47
|
* Data attached to investigation graph nodes.
|
|
48
48
|
*/
|
|
49
49
|
interface InvestigationNodeData extends Record<string, unknown> {
|
|
50
50
|
/** Display label */
|
|
51
51
|
label: string;
|
|
52
|
-
/** Node type (root, check, or
|
|
52
|
+
/** Node type (root, check, or tag) */
|
|
53
53
|
nodeType: InvestigationNodeType;
|
|
54
54
|
/** Security level */
|
|
55
55
|
level: Level;
|
|
@@ -57,8 +57,8 @@ interface InvestigationNodeData extends Record<string, unknown> {
|
|
|
57
57
|
score: number;
|
|
58
58
|
/** Description (for checks) */
|
|
59
59
|
description?: string;
|
|
60
|
-
/**
|
|
61
|
-
|
|
60
|
+
/** Name (for tags) */
|
|
61
|
+
name?: string;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Configuration options for d3-force layout.
|
|
@@ -159,7 +159,7 @@ declare const ObservablesGraph: React.FC<ObservablesGraphProps>;
|
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* InvestigationGraph component - displays investigation structure with Dagre layout.
|
|
162
|
-
* Shows root observable, checks, and
|
|
162
|
+
* Shows root observable, checks, and tags in a hierarchical view.
|
|
163
163
|
*/
|
|
164
164
|
|
|
165
165
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -42,14 +42,14 @@ interface ObservableEdgeData extends Record<string, unknown> {
|
|
|
42
42
|
/**
|
|
43
43
|
* Node types for the investigation graph view.
|
|
44
44
|
*/
|
|
45
|
-
type InvestigationNodeType = "root" | "check" | "
|
|
45
|
+
type InvestigationNodeType = "root" | "check" | "tag";
|
|
46
46
|
/**
|
|
47
47
|
* Data attached to investigation graph nodes.
|
|
48
48
|
*/
|
|
49
49
|
interface InvestigationNodeData extends Record<string, unknown> {
|
|
50
50
|
/** Display label */
|
|
51
51
|
label: string;
|
|
52
|
-
/** Node type (root, check, or
|
|
52
|
+
/** Node type (root, check, or tag) */
|
|
53
53
|
nodeType: InvestigationNodeType;
|
|
54
54
|
/** Security level */
|
|
55
55
|
level: Level;
|
|
@@ -57,8 +57,8 @@ interface InvestigationNodeData extends Record<string, unknown> {
|
|
|
57
57
|
score: number;
|
|
58
58
|
/** Description (for checks) */
|
|
59
59
|
description?: string;
|
|
60
|
-
/**
|
|
61
|
-
|
|
60
|
+
/** Name (for tags) */
|
|
61
|
+
name?: string;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Configuration options for d3-force layout.
|
|
@@ -159,7 +159,7 @@ declare const ObservablesGraph: React.FC<ObservablesGraphProps>;
|
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* InvestigationGraph component - displays investigation structure with Dagre layout.
|
|
162
|
-
* Shows root observable, checks, and
|
|
162
|
+
* Shows root observable, checks, and tags in a hierarchical view.
|
|
163
163
|
*/
|
|
164
164
|
|
|
165
165
|
/**
|