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 curve is not preserved by saving, applying rewrites, etc. #270

Open
Tracked by #317
RazinShaikh opened this issue Jun 29, 2024 · 0 comments
Open
Tracked by #317

Edge curve is not preserved by saving, applying rewrites, etc. #270

RazinShaikh opened this issue Jun 29, 2024 · 0 comments
Labels
Priority: High Type: bug Something is not right

Comments

@RazinShaikh
Copy link
Collaborator

The curve distance for the edge is stored in EItem but not in side the PyZX graph. As a result, the curve information is often lost such as when applying a rewrite or saving to a file. One possible fix would be to introduce edge_data dictionary in the PyZX graph class. This is similar to vdata for vertices, which is currently supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Type: bug Something is not right
Projects
None yet
Development

No branches or pull requests

1 participant