vizceral
vizceral copied to clipboard
Grouping nodes by type
Is it possible to group multiple nodes by 'type': { "name": "node1", "type": "user", "metadata": { "streaming": 1 }, "renderer": "focusedChild" }, { "name": "node2", "type": "storage", "metadata": { "streaming": 1 }, "renderer": "focusedChild" }, { "name": "node3", "type": "user", "metadata": { "streaming": 1 }, "renderer": "focusedChild" } "name": "node4", "type": "department", "metadata": { "streaming": 1 }, "renderer": "focusedChild" }
here node1 & node2 can be grouped and position at the left side, node3 at center & node4 would be at the right end.... It would be helpful if you can direct me on how to get this feature
This would be a great feature! It would definitely be something useful. You would have to make it a parameter to the layout functions and try to figure it out in the layout algorithm.
IMO, grouping should not be just made "by type". For example, I want my grouping to be done by, say, "node health" (normal/danger/warning, etc).
Here is I am grouping nodes by property "node_group":
https://www.dropbox.com/s/2cb44743s6wysqq/node_groups.png?dl=0&m=
group by can be driven by field, like 'type' or 'node health' which user can decide and it can be supported by input argument
I support this feature. Our infrastructure has more than 2 layers, so it would be great to sort by experience, application, service, etc.