Skip to content

Conversation

@jvm123
Copy link
Contributor

@jvm123 jvm123 commented Jun 6, 2025

The scripts/visualizer.py starts a flask webserver. In the web browser, a visualization of the evolution tree is available, with individual program data apparent in a tooltip. Live update and zoom is supported for large graphs. Upon double click, the program info opens in a new tab.

The script watches a folder structure (default examples/) for the newest checkpoint directory. A specific checkpoint directory can also be passed to the script.

The script is fully independent from the remaining code base and relies on the existing checkpoint files.

@jvm123 jvm123 changed the title Visualization script for the evolution tree from a checkpoint Feature: Visualization script for the evolution tree from a checkpoint Jun 6, 2025
@jvm123 jvm123 force-pushed the feat-evolution-graph-visualizer branch from 3021103 to 55348de Compare June 6, 2025 07:00
@jvm123
Copy link
Contributor Author

jvm123 commented Jun 6, 2025

Note for another day or for a D3 wizard out there:
Other visualizations may be more useful, e.g., the nodes on a scale that shows overall metric score vs generation.
Some filter/highlight options may be nice.
Also not visualized is the migration between islands, etc.

@codelion
Copy link
Member

codelion commented Jun 6, 2025

Thanks for adding this, I actualy built this https://evovisual-advanced-evolutionary-concepts-577160257370.us-west1.run.app/ to explain about GA and AlphaEvolve at a talk recently. Having a good visualization can really help users figure out what is happening.

@jvm123
Copy link
Contributor Author

jvm123 commented Jun 7, 2025

Nice work! And thanks for the input / inspiration.
I am working on more features for this.

…at shows score progression of programs during the evolution. MAP-elites view and choosable metrics added.
@jvm123 jvm123 force-pushed the feat-evolution-graph-visualizer branch from 7ade42c to 4fc4605 Compare June 8, 2025 15:44
@jvm123
Copy link
Contributor Author

jvm123 commented Jun 8, 2025

I added many new features to the frontend. A new visualization shows the score of the program nodes on a graph.
View a static export with a demo dataset at https://jvm123.github.io/openevolve/.

@codelion codelion merged commit ed874ab into algorithmicsuperintelligence:main Jun 9, 2025
3 checks passed
@jvm123 jvm123 deleted the feat-evolution-graph-visualizer branch June 9, 2025 07:57
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.

2 participants