Enhanced Illustration Features
The Desktop Runner extends Brobot's core illustration capabilities with advanced visualization, analytics, and sharing features designed for comprehensive automation analysis and documentation.
Overview
The enhanced illustration system in Desktop Runner provides:
- Interactive Viewer - Zoom, pan, and layer control for detailed analysis
- Real-time Streaming - Live visualization during automation execution
- Analytics Dashboard - Performance metrics and pattern analysis
- Web Gallery - Shareable HTML galleries for documentation
- Export & Sharing - Multiple export formats and sharing options
Interactive Illustration Viewer
Features
The interactive viewer provides rich visualization capabilities:
// Using the illustration viewer
IllustrationViewer viewer = new IllustrationViewer();
// Load an illustration with metadata
viewer.loadIllustration(image, metadata);
// Control layers
viewer.addLayer(new IllustrationLayer("Search Regions", 1));
viewer.addLayer(new IllustrationLayer("Matches", 2));
viewer.addLayer(new IllustrationLayer("Actions", 3));
// Zoom and pan programmatically
viewer.setZoomLevel(2.0); // 200% zoom
viewer.setPanX(100);
viewer.setPanY(50);
// Export current view
viewer.export(exportedImage -> {
// Handle exported image
saveImage(exportedImage);
});
Layer Management
Layers enable composition of complex visualizations:
IllustrationLayer matchLayer = new IllustrationLayer("Matches", 2);
matchLayer.setDrawingConsumer(gc -> {
// Custom drawing logic
gc.setStroke(Color.MAGENTA);
gc.setLineWidth(3.0);
matches.forEach(match ->
gc.strokeRect(match.getX(), match.getY(),
match.getWidth(), match.getHeight())
);
});
matchLayer.setOpacity(0.8); // Semi-transparent
viewer.addLayer(matchLayer);
User Interactions
-
Mouse Controls:
- Left-click drag: Pan the view
- Scroll wheel: Zoom in/out around cursor
- Double-click: Fit illustration to canvas
-
Keyboard Shortcuts:
+
/-
: Zoom in/out- Arrow keys: Pan view
Space
: Toggle layer visibilityEsc
: Reset view