Skip to content

Commit

Permalink
Adjust title and add legend
Browse files Browse the repository at this point in the history
  • Loading branch information
miloyip committed Dec 1, 2016
1 parent 63e4581 commit a7a7213
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 11 deletions.
50 changes: 39 additions & 11 deletions game-programmer.dot
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
digraph {
compound=true
fontname="Inconsolata"
fontname="Futura"
fontsize=20
margin="0,0"
ranksep=0.25
Expand All @@ -18,32 +18,56 @@ digraph {
subgraph cluster_toc {
style=invis;

toctop [fixedsize=true,width=8, height=1, shape=plaintext,fontsize=30,label=<<TABLE BORDER="0"><TR><TD>Game Programmer's Study Path</TD></TR></TABLE>>]
toctop [fixedsize=true,width=8, height=3, shape=plaintext,label=<
<TABLE BORDER="0">
<TR><TD><FONT FACE="Futura" POINT-SIZE="40">A STUDY PATH FOR</FONT></TD></TR>
<TR><TD><FONT FACE="Futura-Bold" POINT-SIZE="40">GAME PROGRAMMER</FONT></TD></TR>
<TR><TD><FONT FACE="Futura" POINT-SIZE="20">Milo Yip<br/>2016/12</FONT></TD></TR>
<TR><TD>http://github/miloyip/game-programmer</TD></TR>
</TABLE>
>]
tocbottom [fixedsize=true,width=8,height=0.1,style=invis,label=""]

{
node [shape="box", style="rounded,filled", fixedsize=true, width=3, height=0.75, fontsize=15]
node [shape="box", style="rounded,filled", fixedsize=true, width=3, height=0.5, fontname="Futura", fontsize=10]

kid [color="#edc5ce", label=<0. Game Programming<br/>for Kids>]
kid [color="#edc5ce", label=<0. Game Programming for Kids>]
cs [color="#edc5c5", label="1. Computer Science"]
proglang [color="#eddac5", label="2. Programming Languages"]
softwaredev [color="#ebebc6", label="3. Software Development"]
math [color="#d9ebc6", label=<4. Mathematics for<br/>Game Porgramming>]
math [color="#d9ebc6", label=<4. Mathematics for Game Porgramming>]
gameprog [color="#c5edc5", label="5. Game Programming"]
gameengine [color="#c5ede1", label=<6. Game Engine<br/>Development>]
gameengine [color="#c5ede1", label=<6. Game Engine Development>]
cg [color="#c5e1ed", label="7. Computer Graphics"]
audio [color="#c5cbed", label="8. Game Audio"]
phyanim [color="#d7c5ed", label=<9. Game Physics<br/> and Animation>]
ai [color="#edc5ed", label=<10. Game Artificial<br/>Intelligence>]
multiplayer [color="#edc5d7", label=<11. Multiplayer Game<br/>Programming>]
phyanim [color="#d7c5ed", label=<9. Game Physics and Animation>]
ai [color="#edc5ed", label=<10. Game Artificial Intelligence>]
multiplayer [color="#edc5d7", label=<11. Multiplayer Game Programming>]
}
kid -> cs -> proglang -> softwaredev -> math -> gameprog -> gameengine
cg -> audio -> phyanim -> ai -> multiplayer[style=invis]
gameengine -> { cg; phyanim; ai; audio; multiplayer}
cg -> audio [style=invis]

toctop -> kid [style=invis]
multiplayer-> tocbottom [style=invis]
multiplayer -> tocbottom [style=invis]
}

subgraph cluster_legend {
label=<<TABLE BORDER="0" CELLPADDING="10"><TR><TD>Legends</TD></TR></TABLE>>
node [shape=none, fixedsize=true, width=2, height=0.25]

legendA1 [label="Recommended Path"]
legendB1 [label="Normal Path"]
legendA2 [label="", height=0.1]
legendB2 [label="", height=0.1]
legendA1 -> legendA2 [penwidth=2, arrowhead=normal]
legendB1 -> legendB2

legendtop [fixedsize=true,width=8,height=0.1,style=invis,label=""]
legendbottom [fixedsize=true,width=8,height=0.1,style=invis,label=""]
legendtop -> { legendA1; legendB1 } [style=invis]
{ legendA2; legendB2 } -> legendbottom [style=invis]
}

subgraph cluster_kid {
Expand Down Expand Up @@ -684,9 +708,12 @@ digraph {
massivelymultiplayergd2 -> multiplayerbottom [style=invis]
}

ccsa [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="CC-BY-SA_icon.png"/></TD></TR></TABLE>>]

{
edge [style=invis]
tocbottom -> kidtop
tocbottom -> legendtop
legendbottom -> kidtop
kidbottom -> cstop
csbottom -> progtop
progbottom -> setop
Expand All @@ -698,5 +725,6 @@ digraph {
audiobottom -> phytop
phybottom -> aitop
aibottom -> multiplayertop
multiplayerbottom -> ccsa
}
}
Binary file added images/CC-BY-SA_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a7a7213

Please sign in to comment.