Skip to content

v0.0.3

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Jun 10:19
· 31 commits to main since this release

What’s New in v0.0.2

  • Interactive TikZ Editor (Visual Diagram Builder)

    • Graphical Editing Interface: Design TikZ diagrams visually using an integrated canvas instead of writing raw code from scratch.
    • Shape Tooling: Create and manipulate common elements like lines, arrows, circles, rectangles, and triangles with ease.
    • Live TikZ Code Generation: Automatically generates clean TikZ code in real-time as you edit diagrams.
    • Keyboard Shortcut Tooltips: Every tool includes discoverable shortcuts for faster workflows.
    • Thickness Control Slider: Easily adjust stroke widths and element thickness directly from the UI.
  • Precision Editing & Multi-Selection

    • Lasso Selection: Select multiple vertices or elements at once using intuitive drag selection.
    • Batch Editing: Apply shared style updates (color, thickness, etc.) across multiple selected elements simultaneously.
    • Improved Selection Model: Refactored editor internals to support multi-element operations and cleaner state updates.
  • Advanced Snapping System

    • Multiple Snapping Modes:
      • Grid snapping for structured layouts
      • Half-step snapping for finer control
      • Free mode for unrestricted positioning
    • Improved Alignment: Ensures consistent spacing and cleaner diagram geometry.
  • Major TikZ Rendering Improvements

    • Accurate Symbol Rendering: Fixes incorrect glyph mappings (e.g. Γ, Ω, ⊗) caused by DVI parsing issues.
    • Font Handling Overhaul: Uses corrected character offset mappings from TikZJax for consistent output.
    • Robust Package Loading: Automatically resolves dependencies for advanced libraries like:
      • tikz-cd
      • tikz-feynhand
      • pgfcalendar
    • Improved Error Handling: More resilient rendering pipeline for malformed or complex diagrams.
  • Enhanced Layout & Responsiveness

    • Dynamic Column Sizing: Automatically adjusts diagram widths for better alignment in multi-diagram layouts.
    • Improved Row Layout System: More consistent spacing and responsive structure across different screen sizes.
    • Compact Rendering Mode: Reduced margins and padding for tighter, cleaner document layouts.
    • SVG Clipping Fix: Prevents diagrams from being cut off at the top by adjusting overflow and positioning behavior.
  • UI & Performance Refinements

    • Cleaner Component Architecture: Refactored core editor components (CanvasGrid, Sidebar, Modal) for maintainability and performance.
    • Consistent Styling System: Replaced scattered inline styles with centralized style helpers.
    • Improved Accessibility: Better tooltips, clearer button labels, and more consistent interaction feedback.
    • Optimized Asset Handling: Improved compatibility and reliability using safer async loading patterns.

Full Changelog: 0.0.1...0.0.3


Usage

  1. Update the plugin via Obsidian Community Plugins or manually replace:

    • main.js
    • manifest.json
    • styles.css
  2. Reload Obsidian to initialize the updated TikZ rendering engine and editor components.

  3. Open the TikZ Editor:

    • Use the command palette or UI entry point.
    • Start building diagrams visually using the canvas tools.
  4. Customize your editing workflow:

    • Toggle snapping modes (grid / half / free).
    • Adjust thickness and styles from the right sidebar.
    • Use multi-selection for faster bulk edits.
  5. Continue writing TikZ manually if preferred — rendering is now more accurate, faster, and supports more packages out-of-the-box.