This is a page for information on Grouper Visualization an item that has been requested by the community and is on the Grouper roadmap.
We will start with groups which are members of a group, and go from there
Visualization form
Before visualizing, the user can pick some options which would change the representation
Representing objects
Group
Show display name
Group types: loader, ref, policy, etc
Number of members (cached in attribute?)
Folder
Show display name
Folder types: ref, basis, etc
Connectors
From | To | Description |
---|---|---|
Folder | Group | Arrow from folder to group, means group is in folder |
Visualizations
Groups as members of a group
This visualization will show groups which are members of a group.
Input form: constrain output to a certain folder?
Groups that use a group
Show groups which have this group as a member
Include privileges?
Groups in a folder
In a folder, show all groups and their relationships
Include groups outside the folder if the groups relate to them?
Include a representation of what folder groups are in?
Groups for user
For a user, show the groups the user has
Include privileges?
Groups for user in folder
Focus on a user in a folder and show the groups and relationships among groups
Include privileges?
Notes from recent emails on the visualization topic are below:
There are two parts here (at least), the grouper part which is needed either way (in groovy or java), and the visualization part. You have the visualization part in graphviz which has two downsides:
1. Command line,
2. (is this true?) non-interactive. Nick has used D3 a bit I believe and thinks it could work (right?)
examples:
- https://github.com/d3/d3/wiki/Gallery
- This one looks good, auto-lays out, draggable, on mouseover it puts metadata and links on the left
http://languagenetwork.cotrino.com/ - Clickable
http://ramblings.mcpher.com/Home/excelquirks/gassites/d3nodefocus - Draggable and metadata on right
http://visualdataweb.de/webvowl/# - D-3 graphviz
https://github.com/magjac/d3-graphviz - D-3 graphviz example
https://bl.ocks.org/magjac/4acffdb3afbc4f71b448a210b5060bca
See https://github.com/gettes/grouper-graph
from Chad Nov 30, 2018 |
---|
I just tried out the grouper-graph code last night. Just for kicks I grabbed a Grouper Training Environment image for it to work on some sample data. It works great! I just needed to escape the & in the urls in the svg but otherwise no problems. it's an amazing way to get a quick understanding of the whole system (and may be useful to add to GTE docs as well). Great work! I took a quick look at the code, and to me it looks in great shape already :) Maybe where I can help is plugging this into the UI. If you have design ideas, I can implement whatever you come up with. Also, I could help converting the groovy code to Java. But I think groovy has a compiler to create a Java class from a script, so there is that option too. I don't know yet how the graph-viz js will work -- hopefully it will just build a standalone js file that can be added to the project. |