Skip to content
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

Bring graph property queries inline with node/edges #1779

Open
miratepuffin opened this issue Sep 13, 2024 · 0 comments
Open

Bring graph property queries inline with node/edges #1779

miratepuffin opened this issue Sep 13, 2024 · 0 comments
Labels
Semantics/API Changes to the way we interact with Raphtory or the results which are returned

Comments

@miratepuffin
Copy link
Collaborator

g = PersistentGraph()
g.add_node(1,1)
g.node(1).add_updates(1,{"weight":10})
g.node(1).add_updates(3,{"weight":20})
g.window(5,7).node(1).properties.temporal.get("weight")
#Returns (5,20)
g = PersistentGraph()
g.add_property(1,{"weight":10})
g.add_property(3,{"weight":20})
g.window(5,7).properties.temporal.get("weight").values()
#Returns nothing
@miratepuffin miratepuffin added the Semantics/API Changes to the way we interact with Raphtory or the results which are returned label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Semantics/API Changes to the way we interact with Raphtory or the results which are returned
Projects
None yet
Development

No branches or pull requests

1 participant