https://github.com/thesmallpixel/graphcsharp
Generates and visualizes C# code structure using graphs!
https://github.com/thesmallpixel/graphcsharp
Last synced: 2 months ago
JSON representation
Generates and visualizes C# code structure using graphs!
- Host: GitHub
- URL: https://github.com/thesmallpixel/graphcsharp
- Owner: TheSmallPixel
- Created: 2025-02-27T12:45:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-14T11:54:23.000Z (over 1 year ago)
- Last Synced: 2025-03-14T12:21:24.348Z (over 1 year ago)
- Language: C#
- Homepage: https://thesmallpixel.github.io/GraphCSharp/
- Size: 77.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# C# Code Graph
**C# Code Graph** uses Roslyn to analyze your C# source code and generates a JSON graph that is visualized with D3.js. Explore your project’s architecture!
Checkout this [Demo](https://thesmallpixel.github.io/GraphCSharp/).
---
## Quick Start Action
1. **Build & Analyze**
```yaml
name: "Generate Code Graph"
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
generate-graph:
runs-on: ubuntu-latest
steps:
- name: Code Graph
uses: TheSmallPixel/GraphCSharp@main
with:
source-path: "./"
docs-dir: "docs"
index-file: "index.html"
commit-changes: "true"
```