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

refactor: weighted graph #387

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

miparnisari
Copy link
Member

@miparnisari miparnisari commented Nov 22, 2024

Description

Add ability to generate the DOT of a weighted graph and visualize it.

A follow-up PR needs to be sent to add tests. The current string output from the DOT generator produce flaky tests (the IDs for each edge and node vary between runs, but verified manually that the actual content is correct). I believe the root cause is that we are not using gonum's graph builder.

References

Most of the code was adapted from #351.

@miparnisari miparnisari requested a review from a team as a code owner November 22, 2024 17:56
@miparnisari miparnisari force-pushed the refactor-weighted-graph branch from 953d9fb to e5e60f0 Compare November 22, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant