Overview
TheTTreeEditor component provides a complete visual designer for editing TeeTree diagrams. It offers a comprehensive interface with toolbars, property editors, and visual tools for creating and modifying tree structures.
Components
TTreeEditor
The main editor form that provides a full-featured tree diagram designer.- Full visual tree editor with toolbars and property panels
- Shape palette with standard and custom shapes
- Node tree view for hierarchical navigation
- Property inspector for detailed editing
- Undo/redo functionality
- Grid and ruler support
- Zoom and pan controls
TTreeEdit
Non-visual component to invoke the Tree Editor dialog.Hide- Set of windows to hide from the editor interfaceMaximized- Whether to show the editor maximizedPersistOptions- Save/load editor settings from registryPosition- Initial position of the editor windowTitle- Custom title for the editor window
TTreeEditorPanel
Embeddable editor panel for hosting the tree editor within your application.Edit Windows
Usage Examples
Show Editor Dialog
Show Editor Without About Box
Using TTreeEdit Component
Embedded Editor Panel
Custom Editor Event
Register Custom Shapes
Persist Editor Settings
Helper Functions
EditTree
Shows the Tree Editor dialog with About box.EditTreeNoAbout
Shows the Tree Editor dialog without About box.EditTreeEvent
Shows the Tree Editor dialog and calls a customization event.Features
Visual Design Tools
- Shape selection palette
- Drawing mode for creating shapes
- Connection drawing mode
- Grid snapping
- Alignment tools
- Z-order management
Property Editing
- Property inspector panel
- Font toolbar (face, size, style, alignment)
- Border toolbar (color, width, style)
- Format tools (gradient, shadow, transparency)
- Node-specific editors
Navigation
- Node tree view showing hierarchy
- Zoom controls (trackbar and buttons)
- Pan and scroll
- Rulers with units
- Page navigator for multi-page diagrams
Clipboard Operations
- Cut, Copy, Paste nodes
- Duplicate shapes
- Delete with confirmation
File Operations
- New, Open, Save, Save As
- Recent files list
- Import/Export support
Related Components
- TTreeExport - Export tree to various formats
- TTreeNavigator - Page navigation controls
- TTreeAnimate - Animation features
