Code Visiualization

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

Code Visiualization

Post by EmperorArthur » 28 Nov 2015, 06:51

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
Contact:

Re: Code Visiualization

Post by scrawl » 28 Nov 2015, 16:57

This is so cool. Our components relationships aren't half bad. The main game... eh, no comment.

User avatar
EmperorArthur
Posts: 31
Joined: 17 May 2014, 07:52

Re: Code Visiualization

Post by EmperorArthur » 29 Nov 2015, 03:51

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

Who is online

Users browsing this forum: JDGBOLT and 7 guests