Minotaur UI Flow Documentation
This document provides a comprehensive overview of all implemented UI pages in the Minotaur web application, focusing on the web deployment.
Generated: 2025-10-27 03:21:00 UTC
Updated: 2025-10-27 06:00:00 UTC
Overview
Minotaur is a powerful compiler-compiler platform with a comprehensive web-based UI built using Blazor. The application provides an intuitive interface for grammar development, code analysis, and project management.
Documentation Guides
Choose your focus:
- 📘 Code Development Guide - Use Minotaur to analyze and work with your application code (C#, Java, Python, etc.)
- 📊 Implementation Status - Track progress of visualization features (Phases 1-3)
- 📗 This Document - UI overview and grammar development workflows
Current Visualization Status
✅ Implemented Features
- Syntax highlighting in grammar editor
- Code analysis metrics and statistics
- Project structure browsing
- Step-by-step parsing visualization
- Symbol tables and dependency views
- Git integration with visual diff indicators
🚧 Planned IDE Enhancements
The following visualization features are planned for future releases:
- Railroad Diagrams: Visual representation of grammar rules as railroad diagrams for easier understanding of language syntax
- Full Project Loading: Complete project parsing and visualization (currently showing mockup data for demonstration)
- Interactive Cognitive Graph Editor: Visual graph manipulation for code transformation
- Advanced Grammar Visualization: Interactive syntax tree visualization with zoom and navigation
- Real-time Collaboration: Live multi-user editing with presence indicators
Note: The current screenshots show the UI framework and design. Some features display sample/mockup data to demonstrate the intended user experience. Full backend integration for grammar parsing, railroad diagram generation, and complete project loading is under active development.
Table of Contents
- Home
- Grammar Editor
- Marketplace
- StepParser Integration
- Plugin Manager
- Project Manager
- Symbolic Analyzer
- Interactive Tutorial
- Version Control
- Additional Pages
1. Home
URL: /
Description: Landing page with overview of Minotaur features and core library integration tests.
Key Features:
- Welcome message and application overview
- Core library integration status indicators
- Quick navigation to main features (Grammar Editor, Plugin Manager)
- Test functionality for core components (CognitiveGraphNode, SymbolicAnalysisResult)
Screenshot:

2. Grammar Editor
URL: /grammar-editor
Description: Interactive grammar editing and validation interface with syntax highlighting and real-time analysis.
Key Features:
- Grammar definition editor with line numbers
- Syntax highlighting support (toggleable)
- Grammar type selection (Lexer, Parser, Combined)
- Version management
- Actions: New, Open, Save, Marketplace integration, Detect Shifts, Parse
- Tabbed interface for Rules, Analysis, and Errors
- Pre-populated with sample grammar for demonstration
Analysis Features:
- Rules Tab: Lists all parser and lexer rules with references and alternatives count
- Analysis Tab: Displays grammar metrics (total rules, terminal/non-terminal rules, cyclomatic complexity)
- Errors Tab: Shows parsing errors with line/column information and context
Planned Enhancement: Railroad diagram visualization for grammar rules. This will provide a graphical representation of each rule’s syntax structure, making it easier to understand and validate grammar patterns at a glance. Users will be able to click on any rule to see its railroad diagram representation.
Screenshot:

3. Marketplace
URL: /marketplace
Description: Browse and download grammar templates, transpilers, and pipeline templates from the community.
Key Features:
- Category tabs: Grammars, Transpilers, Pipeline Templates
- Search functionality for finding specific grammars
- Filter options:
- Language selection (All Languages, C#, JavaScript, TypeScript, Python, Java, Go, Rust, C++, C, PHP, Ruby, Swift, Kotlin)
- Feature filters (Shift Detection, Multi-Version Support, Syntax Highlighting)
- Sort options (Relevance, Downloads, Rating, Last Updated, Name)
- Grammar cards showing:
- Title and rating (with star display)
- Download count
- Description
- Version, Author, Update date, Language
- Tags for features
- Install/Details/Remove actions
Sample Grammars Available:
- C# Advanced Grammar (45K downloads, 4.8★)
- TypeScript Modern Grammar (12K downloads, 4.6★) - Pre-installed
- Python Scientific Grammar (8K downloads, 4.7★)
- JavaScript ES2024 Grammar (28K downloads, 4.4★)
Screenshot:

4. StepParser Integration
URL: /step-parser
Description: Parse source code to cognitive graphs and visualize the parsing process step-by-step.
Key Features:
- Source code editor for input
- Parse and Clear action buttons
- Step-by-step parsing visualization panel
- Navigation controls for stepping through parsing process (disabled until parsing is performed)
- Pre-populated with sample grammar code
- Integration with DevelApp.StepParser for parsing capabilities
Screenshot:

5. Plugin Manager
URL: /plugin-manager
Description: Manage language plugins and extensions for extending Minotaur’s capabilities.
Key Features:
- Plugin discovery from configurable directories
- Plugin directory management (add/remove paths)
- Default directories: ./plugins, ~/plugins
- Available plugins list (5 plugins shown):
- Grammar Syntax Highlighter (Editor)
- ANTLR Parser Integration (Parser)
- Advanced Diagram Exporter (Visualization)
- LLM Grammar Assistant (AI)
- Performance Analyzer (Analysis)
- Plugin details panel (activated on selection)
- Loaded plugins panel with unload functionality
- Refresh capability for re-scanning directories
Screenshot:

6. Project Manager
URL: /project-manager
Description: Manage grammar projects and configurations with project browsing and analysis.
Key Features:
- Project browser with directory navigation
- Current directory display and navigation
- Project list showing:
- Sample .NET Project (DotNetProject)
- Node.js API (NodeProject)
- Project details panel (activated on selection)
- Analysis results panel for detailed project analysis
- Actions: Open Project, New Project, Refresh
Current Implementation:
The Project Manager currently displays a UI framework with sample projects. When fully integrated with the backend:
Planned Full Project Loading Features:
- Complete Project Parsing: Load entire codebases and parse all files at once
- Project-wide Analysis: Analyze relationships, dependencies, and architecture across the entire project
- Batch Grammar Application: Apply grammar rules to multiple files simultaneously
- Project Statistics: Display comprehensive metrics (total files, lines of code, complexity scores)
- Visual Project Graph: Interactive visualization of project structure and dependencies
- Incremental Parsing: Efficiently re-parse only changed files during development
Note: The current view shows the UI design and intended workflow. Full backend integration for complete project loading and parsing is in development. This will enable users to load entire projects and view comprehensive analysis results without stepping through files individually.
Screenshot:

7. Symbolic Analyzer
URL: /symbolic-analyzer
Description: Advanced code analysis and verification tools with deep symbolic analysis capabilities.
Key Features:
- Source code input area
- Language selection (C#, Java, Python, JavaScript, C++)
- Analysis options:
- Enable Deep Analysis (checked by default)
- Cross-Reference Analysis (checked by default)
- Semantic Analysis (optional)
- Sample templates for quick start:
- Class Definition
- Method Implementation
- Algorithm Example
- Tabbed results interface:
- Overview: Key metrics (total symbols, complexity score, dependencies, quality score)
- Symbol Table: Hierarchical view of all symbols in the code
- Dependencies: Dependency graph showing relationships between components
- Cognitive Graph: Visual representation of code structure
- Actions: Start Analysis, Clear, Export
Visualization Capabilities:
- Symbol distribution charts showing the breakdown of different symbol types
- Dependency graphs for understanding component relationships
- Quality metrics with progress bars
Enhanced Visualization Planned: The Cognitive Graph tab will feature an interactive, zoomable graph view showing the complete AST (Abstract Syntax Tree) with node selection, highlighting, and real-time editing capabilities. This will complement the text-based symbol table with a visual representation of code structure.
Screenshot:

8. Interactive Tutorial
URL: /tutorial
Description: Step-by-step interactive tutorial for learning Minotaur’s features and capabilities.
Key Features:
- Progress indicator (Step X of 6)
- Tutorial content area with rich information
- Tutorial steps sidebar:
- Welcome to Minotaur
- Cognitive Graph Editor
- StepParser Integration
- Symbolic Analysis
- Version Control
- Getting Started
- Feature highlights for each major component
- Quick tips panel with helpful hints
- Navigation controls (Previous/Next)
- Keyboard shortcut support (← → arrow keys)
Screenshot:

9. Version Control
URL: /version-control
Description: Grammar version control and history management with Git integration.
Key Features:
- Repository status panel showing:
- Repository name (minotaur-grammars)
- Current branch (main)
- Status (Clean)
- Last commit information
- Branch management:
- Switch between branches (main, feature/new-parser, hotfix/validation-bug, develop)
- Create new branch functionality
- Remote repositories management:
- origin: https://github.com/user/minotaur-grammars.git
- upstream: https://github.com/DevelApp-ai/minotaur-grammars.git
- Pull/Push actions for each remote
- Add new remote capability
- Tabbed interface:
- Changes (3 pending changes shown)
- History
- Branches
- Collaborate
- Changes panel features:
- Commit message editor
- Stage/Unstage controls
- Modified files list with:
- Checkbox for selective staging
- File path and status (Modified/Added)
- Line change statistics (+/-)
- Diff and Revert actions
- Actions: Initialize Repo, Clone Repo, Refresh
Screenshot:

10. Additional Pages
Counter Demo
URL: /counter
A simple counter demonstration page (Blazor template page).
Weather Demo
URL: /weather
Weather forecast demonstration page (Blazor template page).
Graph Unparser
URL: /graph-unparser
Graph unparsing functionality page (referenced in navigation but implementation pending).
Cognitive Graph Editor
URL: /cognitive-graph-editor
Visual editor for creating and manipulating cognitive graph structures (referenced in navigation).
Navigation Structure
The application features a persistent side navigation menu with the following structure:
Main Navigation:
- Home
- Grammar Editor
- Marketplace
- Interactive Tutorial
- Cognitive Graph Editor
- StepParser Integration
- Symbolic Analyzer
- Version Control
- Plugin Manager
- Project Manager
- Graph Unparser
- Counter
- Weather
Authenticated User Features:
The navigation menu also includes authentication-aware features:
- Sign In button (when not authenticated)
- User menu dropdown (when authenticated) with:
- Subscription badge (FREE/PRO/ENTERPRISE)
- Profile
- My Collections
- Downloads
- Settings
- Sign Out
UI Design Characteristics
Color Scheme
- Primary Navigation: Dark navy blue sidebar (#2c3e50 approximate)
- Active Links: Light purple/lavender highlight
- Primary Actions: Bright blue (#007bff)
- Content Area: Clean white background with subtle borders
Layout
- Responsive Design: Two-column layout with collapsible sidebar
- Navigation: Fixed left sidebar with scrollable content
- Content Area: Flexible main content area with tabbed interfaces
- Cards: Shadow-based cards for grouped content
Components
- Buttons: Rounded buttons with clear action labels
- Forms: Clean input fields with labels and placeholders
- Tables/Lists: Striped or bordered for readability
- Badges: Color-coded badges for status indicators
- Tabs: Horizontal tab navigation for multi-view interfaces
Technical Stack
- Framework: ASP.NET Core 8.0 Blazor Server
- Rendering: Server-side rendering with interactive components
- UI Library: Bootstrap 5
- Icons: Bootstrap Icons
- Real-time Updates: SignalR for server communication
Getting Started with the UI
- Start the Application:
cd src/Minotaur.UI.Blazor
dotnet run
-
Access the Application:
Navigate to http://localhost:5000 in your web browser
- Explore Features:
- Begin with the Interactive Tutorial to learn the basics
- Try the Grammar Editor to create or modify grammars
- Browse the Marketplace for pre-built grammar templates
- Use the StepParser Integration to analyze code
- Manage your projects with the Project Manager
Visualization Roadmap
The Minotaur development team is actively working on enhanced visualization features to make the IDE more intuitive and powerful for grammar development and code analysis:
Phase 1: Grammar Visualization (Planned Q1)
- Railroad Diagrams: Interactive railroad diagram generation for all grammar rules
- Automatic generation from ANTLR/EBNF grammar definitions
- Click-to-navigate between related rules
- Export diagrams as SVG/PNG for documentation
- Real-time diagram updates as grammar is edited
- Syntax Tree Visualization: Visual representation of parse trees
- Collapsible/expandable tree nodes
- Highlight matching rules when selecting nodes
- Export to GraphML for external tools
Phase 2: Full Project Analysis (Planned Q2)
- Bulk Project Loading: Load and parse entire projects at once
- Multi-threaded parsing for performance
- Progress indicators for large codebases
- File filtering and exclusion patterns
- Project-wide Metrics Dashboard: Comprehensive analytics across entire codebase
- Code coverage by grammar rules
- Complexity heatmaps
- Dependency visualization with interactive graphs
- Quality trends over time
Phase 3: Advanced IDE Features (Planned Q3)
- Interactive Cognitive Graph Editor: Visual graph manipulation interface
- Drag-and-drop node editing
- Real-time code generation from graph changes
- Undo/redo support
- Multi-user collaboration
- Enhanced StepParser Visualization:
- Animated parsing process
- Token highlighting during parsing
- Error recovery visualization
- Performance profiling overlay
Contributing to Visualization
If you’re interested in contributing to visualization features, see the Contributing Guide or open an issue tagged with visualization or ui-enhancement.
Future Enhancements
Based on the navigation structure, the following pages are referenced but may need further implementation:
- Cognitive Graph Editor (visual graph manipulation)
- Graph Unparser (code generation from graphs)
- Code Templates page (authenticated users)
- My Collections page (authenticated users)
This documentation was automatically generated using the UI Flow Documentation Tool. For updates, re-run the tool after making UI changes.