Skip to content

Concerning testing visualize(::AtomGraph) #6

@jonathanmfung

Description

@jonathanmfung

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions