Code Visiualization

Everything about development and the OpenMW source code.
Post Reply
User avatar
EmperorArthur
Posts: 33
Joined: 17 May 2014, 07:52

Code Visiualization

Post by EmperorArthur »

Here's some graphs showing the #include relationships of components and the actual game.

I've deliberately left osg, boost, and the standard libraries out of them to prevent clutter, though I might find all the osg headers at some point just to show how big of a task the switch was.

Generated using:

Code: Select all

cinclude2dot.pl --paths --merge module --groups --include . --src ./components > openmw.dot
neato -Tsvg -Gsize="8.5,11" openmw.dot -o openmw.svg
You'll need to zoom to see the modules images. They're pretty big.

http://imgh.us/openmw_apps_openmw_modules.svg
http://imgh.us/openmw_components_modules.svg
Image
Image
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Code Visiualization

Post by scrawl »

This is so cool. Our components relationships aren't half bad. The main game... eh, no comment.
User avatar
EmperorArthur
Posts: 33
Joined: 17 May 2014, 07:52

Re: Code Visiualization

Post by EmperorArthur »

Just a quick note that there are actually 4 images.
I just linked to the other two because they didn't display properly on the forum.
Post Reply