Feature Request
Add support within the Modern LaTeX Editor to:
- Render TikZ diagrams directly in the document preview area.
- Provide an interactive visual editor for TikZ diagrams, allowing users to modify diagrams using a GUI (drag, resize, add/remove elements) with real-time updates to the underlying LaTeX source.
Motivation
TikZ is widely used for creating high-quality diagrams in LaTeX documents. Making TikZ content both viewable and visually editable will improve user productivity and lower the barrier for editing complex graphics, especially for users less comfortable with coding TikZ directly.
Acceptance Criteria
- TikZ graphics are rendered accurately in the preview pane.
- Users can switch between code and visual editing modes for TikZ diagrams.
- Edits made visually are reflected in the LaTeX source, and vice versa.
- Common TikZ primitives (nodes, axes, edges, shapes) are supported in the visual editor.
- Updates should be performant for real-time editing.
Additional Notes
- Consider using or integrating with libraries like JsTikz or related open-source projects as a foundation.
- Ensure fallback or error message if TikZ content cannot be rendered or parsed.
Feature Request
Add support within the Modern LaTeX Editor to:
Motivation
TikZ is widely used for creating high-quality diagrams in LaTeX documents. Making TikZ content both viewable and visually editable will improve user productivity and lower the barrier for editing complex graphics, especially for users less comfortable with coding TikZ directly.
Acceptance Criteria
Additional Notes