Available Legacy Diagram Types
Cross-Section Diagram
Plot arbitrary cross-sections with section data like centroid and mesh
Free-Body Diagram
Display factored loads and reactions for specific load combinations
Load & Support Diagram
Show unfactored load types and supports on structural members
Reactions Diagram
Visualize all reactions for each support in a structural member
XY Plot
Create live XY line plots for engineering data visualization
Common Implementation Pattern
All legacy diagrams follow a consistent implementation pattern:Key Features
Standardized Visualization
- Consistent styling and formatting across all ClearCalcs templates
- Pre-configured for common engineering use cases
- Automatic unit handling and display
Dynamic Data Binding
- Real-time updates when calculation inputs change
- Integration with remote solvers and calculation results
- Conditional display based on template logic
Interactive Elements
- Tooltips with detailed information
- Clickable elements for navigation between related sheets
- Zoom and pan capabilities where appropriate
Migration to New Diagrams
While legacy diagrams continue to be supported, new template development should consider using the newer Interactive Diagrams for enhanced functionality and better user experience.
Best Practices
- Data Validation: Always validate input data before passing to diagram widgets
- Unit Consistency: Ensure all units are properly converted and labeled
- Conditional Display: Use
visibleIfconditions to show diagrams only when relevant - Performance: Minimize complex calculations within diagram equations
- User Experience: Provide clear labels and tooltips for diagram elements
Legacy diagrams are battle-tested and reliable for standard engineering visualizations. They provide consistent behavior across the platform and are well-suited for most template requirements.