I am currently visualizing a network where the nodes have an attribute of type list, example:
{"data": {"name": "b", "go": ["c", "d", "f"], "id": "n0"}, "group": "nodes"},
{"data": {"name": "a", "go": ["a", "b", "c"], "id": "n1"}, "group": "nodes"},
{"data": {"target": "n0", "source": "n1", "id": "e1"}, "group": "edges"}
Is it possible, using cytoscape.js, to select all the nodes whose list-attribute ('go' in the example) contains a certain value?
Something like:
cy.elements('node[go.contains("b")]')
which would select node n1...
Many thanks in advance