-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add (optional) properties to edges #38
Conversation
…ional properties + accept simple blocks too
…dge is "selected"
And... ready to merge! 🚀 What we've managed in this PRIn a few wordsNow, not only nodes by edges may have properties/data as well How do we set set this data?Let's say we have our helpers in place (e.g. lemma ~> 'means .:[as: "noun"] someMeaning ( How do we query this data?lemma [
means: |> [][
as: "noun"
]
] Word of caution: The above (the syntax mainly) may change. So, don't trust it 100%. (Better ask me, if you want to play and have questions - I'll be more than glad to help, if I can). Plus, the whole project is still in in-the-making stage, so different things could change. Sure thing is it needs an extreme cleanup & re-organization, which I hope to find the time for soon! 🚀 |
Until now, Grafito offers properties/data only for nodes.
However, adding this possibility for edges too would be really interesting and useful (most graph databases support, plus it could open the way for things like "weights graphs", etc), so... let's see how this goes! 🚀
P.S. Syntax-wise, especially in queries, this might get a tiny bit complicated, but remains to be seen!