Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

Feature Request: getLabeledNodes to accept "starts with", "ends with", "contains" #79

Open
graham-macleod opened this issue Jun 13, 2018 · 0 comments

Comments

@graham-macleod
Copy link

graham-macleod commented Jun 13, 2018

It's great that you can filter the list, but unfortunately you can only filter by complete strings.

Changing the getLabeledNodes code to accept "starts with", "ends with", "contains" would improve usability.

Currently you can do the following

getLabeledNodes(graph, "LabelName", attribute = "searchvalue")

to improve functionality this could be altered to accept up to 5 parameters, still ensuring only one attribute is filtered on.

getLabeledNodes(graph, "LabelName", attribute, "starts with", "sear")
getLabeledNodes(graph, "LabelName", attribute, "ends with", "alue")
getLabeledNodes(graph, "LabelName", attribute, "contains", "chva")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant