Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grouping nodes by type #96

Open
prabhurangan opened this issue Nov 1, 2017 · 4 comments
Open

Grouping nodes by type #96

prabhurangan opened this issue Nov 1, 2017 · 4 comments

Comments

@prabhurangan
Copy link

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

@jrsquared
Copy link
Contributor

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.

@vshamgin
Copy link
Contributor

vshamgin commented Nov 2, 2017

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=

@prabhurangan
Copy link
Author

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

@benzvan
Copy link

benzvan commented Apr 6, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants