AND & OR operators on nodes

64 views
Skip to first unread message

ma...@lotuselise.org.uk

unread,
Sep 7, 2015, 10:02:20 AM9/7/15
to Popotojs alpha
Hi,

Firstly, great work on Popoto!

I'm looking to use the library to create a graphical search function on a Neo4j database. It all works out of the box, but I do have a question. Is it possible to do AND or OR operations on a node? So for example in the movie DB, could we create a query such as "I'm looking for a person who has acted in The Matrix OR A Few Good Men and wrote Top Gun AND Jerry Maguire"?

Thanks

Popotojs alpha

unread,
Sep 10, 2015, 12:33:44 PM9/10/15
to Popotojs alpha
Hi Matt,

Unfortunately it is not possible today to use different constraint operators.
Today Popoto.js uses an exact match on the attribute value defined in configuration for a given label.

So it's not possible in graph to add multiple value or use different operator on a node.
In future I would like to add more nodes types which could be used for example with a context menu, or advanced UI, add a constraint on a specific attribute, use AND or OR operators.

But my main focus is still on usability, I target non technical users and don't want the UI to be too complex.

The predefined constraints maybe can help you in some specific uses cases.

Let me know if you need more info.
Reply all
Reply to author
Forward
0 new messages