Skip to content

Generate a visualization of the editor's hierarchical message system tree #2499

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

MohdMohsin97
Copy link

This PR add a HierarchicalTree trait that allows enums to be visualized in a tree-like structure. The generate_hierarchical_tree give Vec.

Example:
BroadcastMessage::generate_hierarchical_tree give Vec when printed gives:
BroadcastMessage
├──TriggerEvent
│ ├──AnimationFrame
│ ├──CanvasTransformed
│ ├──ToolAbort
│ ├──SelectionChanged
│ └──WorkingColorChanged
├──SubscribeEvent
└──UnsubscribeEvent

@Keavon Keavon force-pushed the master branch 4 times, most recently from aa7ff13 to e11b57a Compare April 6, 2025 11:41
@Keavon Keavon changed the title Feat: implement the hierarchical tree for visualization Generate a visualization of the editor's hierarchical message system tree Apr 13, 2025
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