Open
Description
Describe the bug
I'm working on a visualization setting for a gremlin query. I'm trying to create a visualization option for a vertex that has two labels.
g.addV('TAG::TAG_ANIMAL_CONTROL').property('name', 'animal_control').next()
g.addV('AGENT').property('name', fake.name()).next()
the visualization options are like this:
{
"groups": {
"['AGENT']": {
"shape": "icon",
"icon": {
"face": "'Font Awesome 5 Free'",
"weight": "900",
"code": "\uf007",
"color": "00FF00"
}
},
"['TAG']": {
"shape": "icon",
"icon": {
"face": "'Font Awesome 5 Free'",
"weight": "bold",
"code": "\uf02b",
"color": "00FF00"
}
}
},
"edges": {
"color": {
"inherit": false
},
"smooth": {
"enabled": true,
"type": "straightCross"
},
"arrows": {
"to": {
"enabled": false,
"type": "arrow"
}
},
"font": {
"face": "courier new"
}
}
}
While the visualization option is working for the AGENT
label it is not working for the TAG
label.
I have not found a documentation on how the groups
are meant to function. I would expect that if you add a property using []
that the values match with an OR
operator. From my tests I cannot see either an OR
or an AND
matching.
Expected behavior
I would like to understand how the matching is supposed to work so we can eventually adjust the documentation.
Thanks
Jan