You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial version of allowing grouping for visualization for Gremlin
* Added code to allow for grouping Gremlin output. When not specified it will group by the label (if it exists). Yo can also specify the property to groupby using the switch --groupby or -g followed by the property name
* Initial version of allowing grouping for visualization for Gremlin
* Added code to allow for grouping Gremlin output. When not specified it will group by the label (if it exists). Yo can also specify the property to groupby using the switch --groupby or -g followed by the property name
* Fixed several issues that were causing CI tests to fail as well as found an incorrect case of grouping which was fixed and a test added
* Fixed merge conflict that was missed in the last push
* Fixed unit test test_add_vertex_with_callback which broke becasue the group field was not in the expected results
* Addressed comments from akline PR review which included mainly cleaning up the code to simplify the group assignment and adjusting the switch to better match the standard. This required updating the unit tests as well
* Fixed merge issues
* Updated per PR feedback to simplify the groupby assignment to GremlinNetwork and bumped versions
* Updated grouping to properly handle highlighting etc on selection and search as well as added option to ignore grouping
* Added the functionality to sort the values in the details box by key
* Updated Air-Routes-Visualization notebook to discuss the group by functionality
Co-authored-by: Dave Bechberger <[email protected]>
"To group vertices together by color we us the `-g` or `--group-by` switch for the `%%gremlin` command. This specifies the property of the vertex to use to group items together. If no property is specified than items will be grouped by the `T.label` property if it exists. If it does not exist, or the property specified does not exist for a particular vertex then the vertex is added to a default group. Grouping of items is enabled by default but can be disabled using the `--ignore-groups` switch. "
311
+
]
312
+
},
282
313
{
283
314
"cell_type": "markdown",
284
315
"metadata": {},
@@ -853,6 +884,55 @@
853
884
" limit(5)"
854
885
]
855
886
},
887
+
{
888
+
"cell_type": "markdown",
889
+
"metadata": {},
890
+
"source": [
891
+
"### Changing Group Colors and Adding Icons\n",
892
+
"\n",
893
+
"One of the features that is also available is the ability to change the color, add an image, or associate a particular icon representation for a group. Run the two cells below and you will see that all airports in Mexico are shown with the Mexican flag, all airports in the US are shown as a blue flag, and all airports in Canada are shown in red."
0 commit comments