fix some visualize problems in detail page and add show ghost nodes feature #371
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ghost node
Ghost nodes occur when a parent program is removed from the archive (due to MAP-Elites replacement) while its children still exist, causing the evolution tree to break as the visualizer cannot resolve parent-child relationships.
The visualizer loads only programs listed in
metadata.json → archive, ignoring any program files that exist on disk but are not in the archive, so the evolution tree is broken.I think the only legal break in the evolutionary tree occurs when the population size exceeds the limit and individuals are eliminated.
I have modified the logic for adding nodes in the visualization process and added a toggle button to dynamically display and hide those "ghost nodes". I think this is very helpful for analyzing the evolutionary process
turn off the shift(default)

turn on the shift and the white node is the ghost node

unicode error in detail page
I have fix the sidebar error in #338 , but I ignore the detailed page so I supply it now(Because I just discovered this detailed feature now)
no prompts detailed page render error
Some programs (such as initialization and migration programs) do not have prompt items in their meta information, and clicking on them will result in rendering errors. I have fixed this issue