vizceral icon indicating copy to clipboard operation
vizceral copied to clipboard

Grouping nodes by type

Open prabhurangan opened this issue 7 years ago • 4 comments

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

prabhurangan avatar Nov 01 '17 07:11 prabhurangan

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.

jrsquared avatar Nov 01 '17 17:11 jrsquared

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=

vshamgin avatar Nov 02 '17 16:11 vshamgin

group by can be driven by field, like 'type' or 'node health' which user can decide and it can be supported by input argument

prabhurangan avatar Dec 14 '17 21:12 prabhurangan

I support this feature. Our infrastructure has more than 2 layers, so it would be great to sort by experience, application, service, etc.

benzvan avatar Apr 06 '18 19:04 benzvan