sequence.plantuml 604 B

123456789101112131415161718
  1. @startuml
  2. title Flyfish File Viewer renderer pipeline
  3. actor User
  4. participant "Framework Component" as Component
  5. participant "@file-viewer/core" as Core
  6. participant "Renderer Plugin" as Renderer
  7. database "Browser Cache" as Cache
  8. User -> Component: choose file
  9. Component -> Core: load(source, options)
  10. Core -> Core: resolve extension and renderer
  11. Core -> Renderer: render(buffer, target, context)
  12. Renderer -> Cache: read optional assets/cache
  13. Renderer --> Core: rendered instance + providers
  14. Core --> Component: lifecycle hooks and operations
  15. Component --> User: preview with toolbar/search/zoom
  16. @enduml