All Apps and Add-ons

Forced directed graph node color customization based on behaviour

Path Finder

Hi, is it possible to have more control on colors of node for forced directed graphs please?

For example,
if node A only has incoming edges, then I make it red;
if node B only has outgoing edges, I make it green;
and if node C has both incoming and outgoing edges, I make it black.

Thank you.

0 Karma

New Member

Hello all, Am trying to apply drilldown for this viz on node selection, unfortunately not working. Any ways around?

Looking for any answers.

Thanks

0 Karma

Splunk Employee
Splunk Employee

Hi h52huang,

Mickey here and I am the developer of the app.

So what you are asking could be done technically but it would break the exisiting functionality.

Colouring is dynamic at this point in time so the viz will try and colour groups of nodes together

If you could describe why you want to distinguish these types of connections that would help me understand the problem

0 Karma

Path Finder

@dperre
Thanks so much for answering this. Really appreciate. 🙂
In my case, I use the nodes to represent certain hosts in a network. It would be nice to distinguish visually among hosts that only has incoming traffic, outgoing traffic, or both.
Thanks again!!

0 Karma

Splunk Employee
Splunk Employee

Have you tried enabling arrows on the visualisation? That will show you link direction 🙂

0 Karma

Path Finder

Thank you very much @dperre
I enabled arrows and the link direction are great. There are fancy color controls on it too.

I just noticed there are colors on node too!!! But I am not sure what each color means. Is there a way to have custom control on the node colors please? I can only find the 'Line Color' control from form visualization.

Thanks again!!! Great tool!!

0 Karma

SplunkTrust
SplunkTrust

@h52huang, you should try the Sankey Diagram Custom Visualization for this. If you use Categorical colors it should show you color starting from one node to other i.e. source to destination depending on your first column and seconds column respectively. Hope this helps 🙂

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma