brendan-w / cgraph

Function call graphing utility for C

Home Page:http://cgraph.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cgraph

Function call graphing utility for C

Authors: Brendan Whitfield and Will Paul

C-Graph takes a given Github repo, extracts the C files, and generates a function call graph. It then displays this as a force directed graph on the right and a panel of code on the left. This allows programmers to work their way through a code base as it would be executed (network) instead of how it is written (linear).

Released under GPL 2.1 License

Current version accessible at cgraph.herokuapp.com

Run locally

Requires Node.

Clone this repo then:

npm install

Add Github credentials as environment variables (github gives better rate limiting if you're authenticated). For example if you are using bash or zsh add to ~/.bashrc or ~/.zshrc:

export GITHUB_USER='your_username'
export GITHUB_PASS='your_password'

Then to run on port 8000:

node server/app.js

Then point your browser to 0.0.0.0:8000

About

Function call graphing utility for C

http://cgraph.herokuapp.com/

License:GNU General Public License v2.0


Languages

Language:JavaScript 78.3%Language:CSS 13.9%Language:HTML 7.8%