Images Directory - Agent Guide¶
Purpose¶
This directory contains visual assets for documentation, including UI mockups, architecture diagrams, screenshots, and SVG diagrams organized by topic.
Directory Structure¶
images/
AGENTS.md # This file
SCREENSHOT_GUIDE.md # Screenshot capture guidelines
style-guide.md # SVG diagram style guide
.gitkeep # Ensures directory is tracked in git
# Root-level Images
alerts.png # Alerts page screenshot
arch-model-zoo.png # Model Zoo architecture diagram
arch-system-overview.png # System overview architecture diagram
arch-websocket-flow.png # WebSocket communication flow diagram
dashboard-full.png # Full dashboard screenshot
dashboard-mockup.svg # Main dashboard UI mockup (vector)
dashboard.png # Dashboard screenshot
deploy-docker-topology.png # Docker deployment topology diagram
erd-data-model.png # Entity-Relationship data model diagram
first-run-devmode.png # First run dev mode screenshot
flow-ai-pipeline.png # AI pipeline flow diagram
flow-batch-aggregator.png # Batch aggregator flow diagram
ftp-ingestion-flow.png # FTP camera ingestion flow
gpu-compatibility-matrix.png # GPU compatibility matrix
info-camera-to-event.png # Camera to event flow infographic
info-detection-types.png # Detection types infographic
info-risk-scoring.png # Risk scoring infographic
installation-workflow.png # Installation workflow diagram
local-ai-concept.png # Local AI concept diagram
quickstart-decision-tree.png # Quickstart decision tree
service-dependencies-mermaid.png # Service dependencies (Mermaid)
timeline.png # Event timeline page screenshot
troubleshooting-decision-tree.png # Troubleshooting decision tree
# Subdirectories
admin/ # Admin guide diagrams
ai-pipeline/ # AI pipeline SVG diagrams
architecture/ # Architecture diagrams (PNG and SVG)
data-model/ # Data model SVG diagrams
real-time/ # Real-time/WebSocket SVG diagrams
resilience/ # Resilience pattern SVG diagrams
user-guide/ # User guide images
Subdirectory Contents¶
admin/¶
Admin guide diagrams:
alert-delivery-pipeline.png- Alert delivery pipelineauthentication-flow.png- Authentication flowcleanup-sequence.png- Cleanup sequence diagramconfiguration-hierarchy.png- Configuration hierarchymonitoring-stack.png- Monitoring stacknetwork-isolation.png- Network isolationretention-policies.png- Retention policiessecurity-architecture.png- Security architecture
ai-pipeline/¶
AI pipeline SVG diagrams:
ai-service-interaction.svg- AI service interaction diagrambatch-lifecycle-state.svg- Batch lifecycle state machinedetection-errors.svg- Detection error handlingdetection-event-transform.svg- Detection to event transformationfast-path-decision.svg- Fast path decision treepipeline-sequence.svg- Pipeline sequence diagram
architecture/¶
Architecture diagrams (PNG and SVG):
overview-*.svg- System overview diagramsai-pipeline-*.png- AI pipeline diagramscircuit-breaker-*.png- Circuit breaker diagramsdeployment-*.png- Deployment diagramsdatabase-*.png- Database diagramsfrontend-*.png- Frontend architectureresilience-*.png- Resilience patterns- Many more architecture visualizations
data-model/¶
Data model SVG diagrams:
cleanup-service-sequence.svg- Cleanup service sequencedata-lifecycle-state.svg- Data lifecycle statesentity-relationship.svg- Entity-relationship diagramstorage-architecture.svg- Storage architecture
real-time/¶
Real-time/WebSocket SVG diagrams:
events-channel-sequence.svg- Events channel sequenceredis-pubsub-flow.svg- Redis pub/sub flowsystem-channel-sequence.svg- System channel sequencewebsocket-architecture.svg- WebSocket architecture
resilience/¶
Resilience pattern SVG diagrams:
circuit-breaker-registry.svg- Circuit breaker registrycircuit-breaker-states.svg- Circuit breaker state machinedlq-architecture.svg- Dead letter queue architecturefrontend-state-machine.svg- Frontend state machinegraceful-degradation.svg- Graceful degradation flowhealth-check-flow.svg- Health check flowrecovery-flow.svg- Recovery flow diagramresilience-overview.svg- Resilience overviewretry-handler-flow.svg- Retry handler flowwebsocket-circuit-breaker.svg- WebSocket circuit breakerwebsocket-manager.svg- WebSocket manager
screenshots/¶
Application screenshots for documentation:
ai-performance.png- AI Performance pagealerts.png- Alerts pageanalytics.png- Analytics pageaudit-log.png- Audit Log pagedashboard.png- Dashboard pagedashboard-tour.gif- Dashboard tour animationentities.png- Entities pagejobs.png- Background Jobs pagelogs.png- Logs pageoperations.png- System Operations pagesettings.png- Settings pagesystem.png- System pagetimeline.png- Event Timeline pagetrash.png- Trash page
user-guide/¶
User guide images:
decision-flowchart.png- User decision flowchartentity-reid-flow.png- Entity re-identification flowrisk-scale.png- Risk scale visualization
Color Scheme¶
Dashboard uses NVIDIA-themed dark design:
- Background:
#1a1a2e(dark blue-gray) - Card backgrounds:
#0f3460(darker blue) - Text: White/gray
- Low risk:
#4ade80(green) - Medium risk:
#fbbf24(amber) - Accent:
#3b82f6(blue),#8b5cf6(purple) - NVIDIA Green:
#76B900
File Types¶
| Extension | Purpose | Tools |
|---|---|---|
.svg | Vector graphics (mockups, diagrams) | Inkscape, Figma, browser |
.png | Screenshots, raster images | Any image viewer |
.gif | Animated demos | Browser, image viewer |
Adding New Images¶
Naming Convention¶
- Lowercase with hyphens:
feature-name-mockup.svg - Include type suffix:
-mockup,-diagram,-screenshot - Be descriptive:
event-detail-modal-mockup.svg
Subdirectory Organization¶
Place images in the appropriate subdirectory:
admin/- Admin guide diagramsai-pipeline/- AI pipeline diagramsarchitecture/- System architecture diagramsdata-model/- Database/data model diagramsreal-time/- WebSocket/real-time diagramsresilience/- Circuit breaker, retry, DLQ diagramsuser-guide/- End-user documentation images
Image Guidelines¶
- Vector preferred: Use SVG for mockups and diagrams when possible
- Reasonable size: Keep file sizes under 1MB for faster loading
- Include context: Show realistic data in mockups
- Document purpose: Add entry to this AGENTS.md when adding images
SVG Best Practices¶
- Use semantic groupings with
<g>elements - Include descriptive comments for complex sections
- Use consistent coordinate systems
- Keep text as actual text (not paths) for accessibility
Related Documentation¶
- docs/AGENTS.md: Documentation directory guide
- frontend/src/components/: React component implementations
- docs/images/style-guide.md: Detailed SVG style guidelines
- docs/images/SCREENSHOT_GUIDE.md: Screenshot capture instructions