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

Concerning testing visualize(::AtomGraph) #6

Open
jonathanmfung opened this issue Apr 13, 2022 · 0 comments
Open

Concerning testing visualize(::AtomGraph) #6

jonathanmfung opened this issue Apr 13, 2022 · 0 comments

Comments

@jonathanmfung
Copy link

Re:

# TODO: figure out a way to test visualize_graph itself?

GraphPlot.jl relies on VisualRegressionTests.jl to do their image testing.

This could be a potential way to implement these tests. However, in my experience, using visualize(::AtomGraph) produces graphs at random rotations. I believe this is caused by gplot's default layout function.

As I'm not familiar with graphs, I'm not sure which layout function would best suit this atomic context. It seems that circular_layout, shell_layout, and spectral_layout are deterministic.

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

No branches or pull requests

1 participant