SpecterOps/BloodHound

Hide node name toggle

olafhartong opened this issue · 0 comments

Feature Description:

Please add a node name toggle, which makes it much easier to create screenshots for reports without sensitive data in it.

Current Behavior:

Currently all node names are visible, with no way to hide them

Desired Behavior:

A toggle to switch them on or off

Use Case:

Primarily safe to share screenshots in reports and presentations

Implementation Suggestions:

I'm not good at React, but the result should be something similar to what I changed in cmd/ui/src/Explore/utils.ts

export const initGraphNodes = (graph: MultiDirectedGraph, nodes: GraphNodes, nodeSize: number) => {
    Object.keys(nodes).forEach((key: string) => {
        const node = nodes[key];
        // Set default node parameters
        const nodeParams: Partial<NodeParams> = {
            color: '#FFFFFF',
            type: 'combined',
            // label: node.label,
            label: '',
            forceLabel: false,
        };

Additional Information:
example of the result
image