🌳 Overview
Add an alternative tree-based representation of the document's module hierarchy.
The current box-based module representation becomes increasingly difficult to use as documents contain many modules and nested modules.
Provide a tree view that users can toggle alongside the existing module editor representation.
🎯 Goals
- Provide a hierarchical tree representation of the document.
- Clearly represent parent/submodule relationships.
- Allow the user to toggle between the existing module view and tree view.
- Allow modules to be selected from the tree.
- Keep selection synchronized between both views.
Example
Document
├── Title
├── Introduction
├── Section
│ ├── Paragraph
│ ├── Image
│ └── Formula
└── Conclusion
📦 Requirements
The tree should reflect the actual Core module hierarchy.
The tree must not become a separate representation of the document state.
🌳 Overview
Add an alternative tree-based representation of the document's module hierarchy.
The current box-based module representation becomes increasingly difficult to use as documents contain many modules and nested modules.
Provide a tree view that users can toggle alongside the existing module editor representation.
🎯 Goals
Example