M0WER - Math 0nce, Write/Work Everywhere, Really
M0WER is the vision became reality of math once as a blueprint that writes and works everywhere.

Features
- Visualizes your entire codebase as an interactive graph (force & radial)
- Entity tree view for folders, files, and functions
- Click or double-click file nodes to highlight and jump to code in the editor
- Metrics panel shows complexity, utility, cost, and line count for each node
- UML class diagram overlays for files and classes - not functioning correctly
- Dependency, import, and call relationships visualized as edges - not functioning correctly
- D3 layouts: force and radial
- Resizable and dockable panels, just like native VS Code
- Quick side panel access to all visualization options (no need for Ctrl+Shift+P)
- Works with multiple languages and in any codebase
Usage
- Install the extension from the VSIX.
- Open a folder or workspace in VS Code.
- Click the "M0WER" icon in the side panel to open the visualizer and entity tree.
- Click "Visualize Codebase Structure" or "Generate Diagram" from the side panel options.
- Explore your codebase using the interactive diagram and entity tree.
- Click or double-click any node or entity to highlight and jump to its code in the editor.
- Select a node to view detailed metrics and UML info in the Metrics panel.
- Use the layout dropdown to switch between force, tree, cluster, radial, and other views.
- Drag the panel dividers to resize the diagram, info, and toolbar areas as needed.
Language Compatibility
The following screenshots demonstrate M0WER's visualization of "Hello World" programs in different programming languages. Languages that display an extra node after the filename are currently compatible with the visualizer's function detection - these extra nodes represent detected functions within the file. Languages without this extra node are not yet fully compatible with the visualizer's token-based function detection pattern.

Metrics
Each file node in the diagram displays several metrics:
- complexity – approximate nesting depth discovered during analysis.
- utility – number of detected functions in the file.
- cost – placeholder cost metric.
- lineCount – total number of lines in the file.
Select a node in the diagram to view these values in the information panel.