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

Potential fix to the tooltip with special characters bug #1203

Merged
merged 25 commits into from
Jun 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b5c395e
Potential solution
anushkrishnav May 30, 2024
e1c93e1
Push update
anushkrishnav May 31, 2024
e6fdc4c
Fixed linting issues
anushkrishnav Jun 1, 2024
a33216f
Fix to linting issues
anushkrishnav Jun 1, 2024
0e91fcd
minor fix
anushkrishnav Jun 1, 2024
62c5330
using serde_json instead of manually escaping
anushkrishnav Jun 1, 2024
1198483
fix import, and added test case
anushkrishnav Jun 3, 2024
779cf41
Updated test logic
anushkrishnav Jun 4, 2024
08db533
updated test to check to_dot
anushkrishnav Jun 6, 2024
e34992d
fix clippy issues
anushkrishnav Jun 6, 2024
eada72e
created release notes
anushkrishnav Jun 6, 2024
5d80799
fix release notes
anushkrishnav Jun 6, 2024
c4b08b7
fix linting issue in test
anushkrishnav Jun 8, 2024
8efa8f5
remove unused import
anushkrishnav Jun 9, 2024
2f61dcd
fixing quotes issue
anushkrishnav Jun 10, 2024
90b147b
fixing "\" issue and updating tests
anushkrishnav Jun 10, 2024
15dd143
updating more test to have quotes
anushkrishnav Jun 10, 2024
ea682d7
Update dot_utils.rs
anushkrishnav Jun 11, 2024
98549c8
Apply suggestions from code review
IvanIsCoding Jun 11, 2024
fc3d0e6
Collect vector of results in Rust
IvanIsCoding Jun 11, 2024
d69397f
Fix error handling
IvanIsCoding Jun 11, 2024
f75b894
Merge branch 'main' into anush_unitary
IvanIsCoding Jun 11, 2024
ddbe304
Update releasenotes/notes/fix-graphviz-draw-tooltip-3f697d71c4b79e60.…
IvanIsCoding Jun 11, 2024
84f800e
Update releasenotes/notes/fix-graphviz-draw-tooltip-3f697d71c4b79e60.…
IvanIsCoding Jun 11, 2024
01cd323
Update releasenotes/notes/fix-graphviz-draw-tooltip-3f697d71c4b79e60.…
IvanIsCoding Jun 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rustworkx/visualization/graphviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ def node_attr(node):
"instructions."
)

print(graph.to_dot(node_attr_fn, edge_attr_fn, graph_attr))

dot_str = cast(str, graph.to_dot(node_attr_fn, edge_attr_fn, graph_attr))
if image_type is None:
output_format = "png"
Expand Down