@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
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ import { ObservablesGraph } from "@cyvest/cyvest-vis";
|
|
|
85
85
|
|
|
86
86
|
#### `InvestigationGraph`
|
|
87
87
|
|
|
88
|
-
Hierarchical graph showing root →
|
|
88
|
+
Hierarchical graph showing root → tags → checks structure.
|
|
89
89
|
|
|
90
90
|
```tsx
|
|
91
91
|
import { InvestigationGraph } from "@cyvest/cyvest-vis";
|
|
@@ -95,7 +95,7 @@ import { InvestigationGraph } from "@cyvest/cyvest-vis";
|
|
|
95
95
|
height={600}
|
|
96
96
|
width="100%"
|
|
97
97
|
onNodeClick={(nodeId, nodeType) => {
|
|
98
|
-
// nodeType: "root" | "check" | "
|
|
98
|
+
// nodeType: "root" | "check" | "tag"
|
|
99
99
|
}}
|
|
100
100
|
/>
|
|
101
101
|
```
|
|
@@ -116,7 +116,7 @@ const Icon = getObservableIcon("ipv4-addr"); // Returns GlobeIcon
|
|
|
116
116
|
<MailIcon size={16} color="#ef4444" />
|
|
117
117
|
```
|
|
118
118
|
|
|
119
|
-
Available icons: `GlobeIcon`, `DomainIcon`, `LinkIcon`, `MailIcon`, `EnvelopeIcon`, `FileIcon`, `HashIcon`, `UserIcon`, `IdCardIcon`, `GearIcon`, `AppIcon`, `RegistryIcon`, `ThreatActorIcon`, `BugIcon`, `SwordIcon`, `TargetIcon`, `AlertIcon`, `FlaskIcon`, `CertificateIcon`, `WifiIcon`, `WorldIcon`, `QuestionIcon`, `CheckIcon`, `
|
|
119
|
+
Available icons: `GlobeIcon`, `DomainIcon`, `LinkIcon`, `MailIcon`, `EnvelopeIcon`, `FileIcon`, `HashIcon`, `UserIcon`, `IdCardIcon`, `GearIcon`, `AppIcon`, `RegistryIcon`, `ThreatActorIcon`, `BugIcon`, `SwordIcon`, `TargetIcon`, `AlertIcon`, `FlaskIcon`, `CertificateIcon`, `WifiIcon`, `WorldIcon`, `QuestionIcon`, `CheckIcon`, `TagIcon`, `CrosshairIcon`
|
|
120
120
|
|
|
121
121
|
## Types
|
|
122
122
|
|