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

Edge repr layers #1809

Merged
merged 8 commits into from
Oct 10, 2024
Merged

Edge repr layers #1809

merged 8 commits into from
Oct 10, 2024

Conversation

narnolddd
Copy link
Collaborator

What changes were proposed in this pull request?

Add layers to the edge repr to show what layers an edge/exploded edge is present in, e.g.

Edge(source=A, target=B, earliest_time=1, latest_time=6, properties={greeting: yo, greeting: yo}, layer(s)=[layer 1, layer 2])

Why are the changes needed?

Useful to be displayed in the edge summary.

Does this PR introduce any user-facing change? If yes is this documented?

No.

How was this patch tested?

Added a python test file to check the output seems sane on the two types of graph.

Are there any further changes required?

Issue #1808 is a bit related since it involves how properties are displayed across layers. Could do a two-in-one if the solution is not too hard.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: ffbf9dc Previous: 41282d0 Ratio
lotr_graph_window_100/has_node_existing 44 ns/iter (± 5) 20 ns/iter (± 0) 2.20

This comment was automatically generated by workflow using github-action-benchmark.

@narnolddd narnolddd added the Python Features/Fixes with Raphtory's python client label Oct 4, 2024
@miratepuffin miratepuffin merged commit efacf5a into master Oct 10, 2024
19 checks passed
@miratepuffin miratepuffin deleted the edge-repr-layers branch October 10, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python Features/Fixes with Raphtory's python client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants