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

Smart autocomplete on labels, relationship types, and properties #23

Open
nicolewhite opened this issue Sep 15, 2015 · 0 comments
Open

Comments

@nicolewhite
Copy link
Owner

Autocomplete can be smarter. On startup, in the background, query the graph for all the combinations of (:Label)-[:RELATIONSHIP]-(:Label) in the graph. Essentially the "what is related and how" query.

When recommending relationship names, only recommend relationships that are possibly attached to the node label to the left, if present. When recommending node labels, only recommend node labels attached to the relationship name to the left, if present. When recommending property keys, only recommend keys that are on the node label that the identifier was created with.

Whether or not cycli retrieves this data in the background should probably be an option, such as cycli -m or cycli --smart for smart autocomplete.

@nicolewhite nicolewhite added this to the v0.4.0 milestone Sep 15, 2015
@nicolewhite nicolewhite changed the title Smart autocomplete Smart autocomplete on labels, relationship types, and properties Oct 3, 2015
@nicolewhite nicolewhite removed this from the v0.4.0 milestone Oct 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant