{% extends "base.html" %} {% block title %}Features - Programming Visualization{% endblock %} {% block content %}

Abstract Syntax Tree Visualization

Generate interactive AST trees using real Python AST parsing. Zoom in, collapse branches, and explore the structure of your code visually.

  • Real AST generation using Python's ast module
  • Interactive Plotly visualization
  • Color-coded node types by depth
  • Hover tooltips with node details

Function Call Graphs

Visualize how functions call each other with dynamic NetworkX graphs. Identify dependencies and code hotspots at a glance.

  • Directed graph of function calls
  • Node size based on cyclomatic complexity
  • Color-coded by complexity level
  • Interactive zoom and pan

Automatic Flowchart Generation

Convert your code into Mermaid flowcharts showing execution flow, loops, conditions, and function relationships.

  • Loop flowcharts
  • Condition flowcharts
  • Function flowcharts
  • Program-level flowcharts

Multi-Level Explanations

Get explanations tailored to your skill level - from beginner-friendly to advanced technical details.

  • Beginner: Simple, analogy-based explanations
  • Intermediate: Technical but accessible
  • Advanced: Detailed complexity and architecture
  • Per-function explanations

Line-by-Line Analysis

Understand every single line of your code with detailed breakdowns of purpose, variables, and effects.

  • Line number and code display
  • Purpose description
  • Variable usage tracking
  • Output effect analysis

Complexity Analysis

Estimate time and space complexity with detailed explanations of why your code has a certain complexity class.

  • Time complexity estimation
  • Space complexity estimation
  • Cyclomatic complexity per function
  • Detailed complexity explanations

Report Generation

Export comprehensive reports in multiple formats for documentation, sharing, or archiving.

  • PDF reports with visualizations
  • HTML reports for web viewing
  • JSON for programmatic access
  • TXT for quick reference

Multi-Language Support

Real parsing and analysis for Python, Java, C, and C++ using industry-standard parsers.

  • Python: ast module
  • Java: javalang parser
  • C: pycparser
  • C++: Advanced regex + heuristic analysis
{% endblock %}