How pavol-humeny/figurio works
Figurio is a browser-based image editor for preparing screenshots, diagrams, and illustrations for technical and academic documents. Users open or drop image/PDF files, edit them with image and annotation tools, then export the result; workspace tabs and undo/redo support continued editing. Image processing is documented as local, with vector PDF handling where possible. The graph also includes the documented usage-statistics capability. Edges reflect the supplied excerpts, index references, or README; unsampled feature wiring is intentionally left unspecified.
Main entry points: imageStore.js Image state · workspaceStore.js Workspace tabs · useImagePipeline.js Image pipeline · useApi.js Usage statistics API
Components 20
Application
- App shell
src/App.vue - Page routing
src/router/index.js - Editor page
src/views/EditorView.vue
Editing Workflow
- File drop UI
src/components/editor/DragAndDropArea.vue - Import files
src/services/importFileService.js - Export files
src/services/exportFileService.js - Image tools
src/composables/tools - Frame tool
src/composables/tools/useFrameTool.js - Image pipeline
src/composables/editor/useImagePipeline.js - Image operations
src/composables/editor/operations - Tool panels
src/components/toolsSettings
Editor State
- Image state
src/stores/imageStore.js - Undo redo
src/stores/historyStore.js - Workspace tabs
src/stores/workspaceStore.js - Viewport state
src/stores/viewportStore.js - UI preferences
src/stores/uiStore.js
Usage Insights
- Statistics pages
src/views/StatisticsView.vue - Usage statistics API
src/composables/common/useApi.js - Statistics service
Other components
- Editor user
Connections 20
- Editor user → App shell: uses
- App shell → Page routing: loads routes
src/main.js - Page routing → Editor page: routes to
src/router/index.js - Editor user → File drop UI: drops files
- Editor page → File drop UI: includes
- File drop UI → Import files: delegates import
- Editor user → Image tools: edits image
- Tool panels → Image tools: configures tools
- Frame tool → Image pipeline: applies operations
src/composables/tools/useFrameTool.js - Image pipeline → Image operations: dispatches operations
src/composables/editor/useImagePipeline.js - Image pipeline → Image state: updates image
src/composables/editor/useImagePipeline.js - Image state → Frame tool: uses frame logic
src/stores/imageStore.js - Image state → Undo redo: uses history
src/stores/imageStore.js - Workspace tabs → Image state: snapshots state
src/stores/workspaceStore.js - Workspace tabs → Undo redo: snapshots history
src/stores/workspaceStore.js - Workspace tabs → Viewport state: snapshots viewport
src/stores/workspaceStore.js - Editor user → Export files: exports result
- Statistics pages → Usage statistics API: requests statistics
- Usage statistics API → UI preferences: reads user ID
src/composables/common/useApi.js - Usage statistics API → Statistics service: fetches statistics