UMLVisualizer is a Java-based tool that dynamically generates UML diagrams from Java code. It parses Java files, extracts key information, and displays it in an intuitive, navigable canvas. Designed to streamline code analysis and improve documentation, UMLVisualizer adapts to various project structures with minimal configuration.
- Automatic Parsing: UMLVisualizer scans Java files in the specified directory, extracting class hierarchies, methods, and fields with ease.
- Interactive Visualization: Displays UML diagrams with panning, zooming, and smooth movement for enhanced navigation.
- Customizable Display: Classes are color-coded based on hierarchy, with abstract classes and subclasses visually connected.
Import the UMLVisualizer package into your project. Initialize the tool with:
UMLVisualizer.init();UMLVisualizer will automatically parse Java files in the directory and onward, rendering a UML diagram on an interactive canvas.
UMLVisualizer provides developers with a user-friendly way to visualize class structures and relationships, making code reviews and design discussions 10x easier and faster. By providing a clear visual representation, it supports faster onboarding, code comprehension, and project documentation.
Multiple classes shown on the canvas
Example of how inheritance is shown