digraph {
	// graph defaults
	rankdir=LR
	mclimit=50
	nodesep=.3 // changes horizontal separation of nodes
	ranksep=.4 // changes vertical separation of nodes
	node [height=.7
		width=.7
		shape=ellipse
		margin=0]
	edge[weight=5]
	
	subgraph ShopMenu {
		node [fontcolor = "purple" shape = "rect" margin = 0.1]
		menu
	}

	// a box for a graph label
	// note that you can override the defaults set above
	title [label = "Fighting Fantasy --: Title\n\n \
		Light Green Fill: Benefits\l \
		Pink Fill: Penalties\l \
		Red Fill: Death\l \
		Blue Text: Key Items/Events\l \
		Red Text: Lost Items\l \
		Purple Text: Shops\l \
		Blue Line: Forced Items/Events\l \
		Light Blue Text/Line: Optional Items/Events\l \
		Purple Line: Dice Events\l \
		Green Line: Stat Test Passed\l \
		Brown Line: Stat Test Failed\l \
		Magenta Line: Combat Related Events\l \
		Grey Text: Riddle Answer\l \
		Grey Line: Hidden Option\l \
		Orange Line: Spells\l \
		Red Line: Possible Error\l \
		Gold Fill: Required Nodes\l \
		Light Blue Fill: Recommended Nodes\l \
		Gold Outline: Recommended Path\l \
		Green Box: Combat\l \
		SK/ST/LK/PR/AT/AR/TM/CW/CL: Skill/Stamina/Luck/Presence/Attack Strength/Attack Round/Time/Consecutive Win Round/Consecutive Lose Round\l \
		?: Chance of this happening, depending on instructions in text\l \
		*: Special Combat Rules\l \
		-: Negative Status\l \
		+: Positive Status\l \
		^: Damage can be reduced by items\l \
		@: Take 2 items\l\l \
		Starts with:\l \
		Initial Skill: 1d6+6\l \
		Initial Stamina: 2d6+12\l \
		Initial Luck: 1d6+6\l\l \
		skill/stamina/luck potion: +all SK/ST/LK&1ILK\l \
		10 meal: +4ST\l \
		sword\l \
		leather armor\l \
		lantern\l \
		tinderbox\l \
		backpack\l \
		2d6+6 gold\l\l \
		Comments:\l \
		Order: item/gold/AT/SK/ST/LK\l \
		"
		shape = "box"
		margin = 0.1]

	subgraph Required {
		node [style = "filled" color = "gold" fillcolor = "gold" fontcolor = "blue" shape = "rect"]
		key3
		wrd3 [fontcolor = "grey"]
		boo5
		dam5
		monboo5
		mondam5
		mon5
		ending [fontcolor = "black" shape = "octagon"]
	}

	subgraph Required2 {
		node [style = "filled" color = "gold2" fillcolor = "gold2" fontcolor = "blue" shape = "rect"]
		req2
	}

	subgraph Recommended {
		node [penwidth = 3 color = "gold"]
		txt2
		key2 [shape = "rect" fontcolor = "blue"]
		wrd2 [shape = "rect" fontcolor = "grey"]
		boo3 [style = "filled" fillcolor = "greenyellow"]
		boo4 [style = "filled" fillcolor = "greenyellow"]
		dam3 [style = "filled" fillcolor = "pink"]
		dam4 [style = "filled" fillcolor = "pink"]
		monboo3 [style = "filled" fillcolor = "greenyellow"]
		monboo4 [style = "filled" fillcolor = "greenyellow"]
		mondam3 [style = "filled" fillcolor = "pink"]
		mondam4 [style = "filled" fillcolor = "pink"]
		mon3
		mon4
	}
	
	subgraph Optional {
		node [style = "filled" color = "paleturquoise1" fillcolor = "paleturquoise1" fontcolor = "blue" shape = "rect"]
		opt
	}

	subgraph Combat {
		style = "filled" color = "palegreen"
		subgraph cluster_00 {
			label = "Monster\n 0/0\n 0/0"
			mon1 [label = "\N\n text"]
			mon2 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
			mon3 [label = "\N\n text"]
			mon4 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
			mon5 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
			monboo1 [style = "filled" color = "greenyellow" label = "\N\n text"]
			monboo2 [shape = "rect" style = "filled" color = "greenyellow" fontcolor = "blue" label = "\N\n text"]
			monboo3 [label = "\N\n text"]
			monboo4 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
			monboo5 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
			mondam1 [style = "filled" color = "pink" label = "\N\n text"]
			mondam2 [shape = "rect" style = "filled" color = "pink" fontcolor = "blue" label = "\N\n text"]
			mondam3 [label = "\N\n text"]
			mondam4 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
			mondam5 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
		}
		
		subgraph cluster_01 {
			label = "Sea Zombie\n 6/7"
			001
		}
		
		subgraph cluster_02 {
			label = "Homunculus\n 8/5"
			007
		}
		
		subgraph cluster_03 {
			label = "Stonewight\n 9/10"
			014
		}
		
		cbt
	}

	subgraph Death {
		node [style = "filled" color = "red"]
		005
		022
		ddt
	}

	subgraph Boost {
		node [style = "filled" color = "greenyellow"]
		bst
		004 [shape = "rect" fontcolor = "blue" label = "\N\n ignore 2 spells\n +1LK"]
		010 [label = "\N\n +5ST\n +1PR"]
		021 [shape = "rect" fontcolor = "blue" label = "\N\n -disease\n +1IST\n +all ST"]
		boo1 [label = "\N\n text"]
		boo2 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
		boo3 [label = "\N\n text"]
		boo4 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
		boo5 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
	}

	subgraph Damage {
		node [style = "filled" color = "pink"]
		ddg
		006 [label = "\N\n -3ST? (green cream)"]
		011 [label = "\N\n -3ST"]
		012 [label = "\N\n -2ST"]
		dam1 [label = "\N\n text"]
		dam2 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
		dam3 [label = "\N\n text"]
		dam4 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
		dam5 [shape = "rect" fontcolor = "blue" label = "\N\n text"]
	}

	subgraph Key_Item {
		node [fontcolor = "blue" shape = "rect"]
		kky
		013 [label = "\N\n note\n -1 meal" tooltip = "earth elemental, ignore air"]
		016 [fontcolor = "crimson" label = "\N\n lung rot"]
		key1 [label = "\N\n text"]
		key2 [label = "\N\n text"]
		key3 [label = "\N\n text"]
		key4 [fontcolor = "crimson" label = "\N\n -text"]
	}
	
	subgraph Key_Word {
		node [fontcolor = "grey" shape = "rect"]
		wwd
		wrd1 [label = "\N\n text"]
		wrd2 [label = "\N\n text"]
		wrd3 [label = "\N\n text"]
	}
	
	subgraph Shop {
		node [fontcolor = "purple" shape = "rect"]
		shp
		shop1 [label = "\N\n text"]
	}

	mon1 -> mon2 -> mon3 -> mon4 -> mon5 [penwidth = 3]
	boo1 -> boo2 -> boo3 -> boo4 -> boo5 [penwidth = 3]
	txt1 -> key1 -> txt2 -> key2 -> key3 -> key4
	wrd1 -> wrd2 -> wrd3
	monboo1 -> monboo2 -> monboo3 -> monboo4 -> monboo5
	mondam1 -> mondam2 -> mondam3 -> mondam4 -> mondam5

	myTitle -> z001 [penwidth = 3]
	z001 -> z002 [color = "purple" fontcolor = "purple" label = "1-3"]
	z001 -> z003 [color = "purple" fontcolor = "purple" label = "4-6"]
	z002 -> z004 [color = "green" fontcolor = "green" label = "LK"]
	z002 -> z005 [color = "brown"]
	z003 -> z006 [dir = "both"]
	z004 -> z007 [color = "blue" fontcolor = "blue" label = "req"]
	z004 -> z008 [color = "cyan3" fontcolor = "cyan3" label = "-opt"]
	z005 -> z009 [color = "grey" fontcolor = "grey" label = "info"]
	z009 -> z010 [color = "crimson" fontcolor = "crimson" label = "error(?)"]
	z010 -> z011 [color = "magenta" fontcolor = "magenta" label = "escape"]
	z011 -> z012 [color = "darkorange" fontcolor = "darkorange" label = "spell"]
	{
		rank = same
		z003
		z006
	}
	
	title -> 001
	001 -> 351
	001 -> 057
	001 -> 090
	001 -> 186
	001 -> 333
	002 -> 015
	002 -> 385
	002 -> 056
	002 -> 037
	003 -> 116 [color = "cyan3" fontcolor = "cyan3" label = "-olive oil/\n gorg/\n herbal liqueur"]
	003 -> 302
	004 -> 364
	006 -> 315 [color = "blue" fontcolor = "blue" label = "lung rot"]
	006 -> 684
	007 -> 184 [color = "magenta" fontcolor = "magenta" label = "AR>3"]
	007 -> 395
	007 -> 262
	008 -> rattailfungusbook008
	008 -> 345
	009 -> 103 [color = "green" fontcolor = "green" label = "SK"]
	009 -> 079 [color = "green" fontcolor = "green" label = "SK"]
	009 -> 268 [color = "brown"]
	010 -> 117 [color = "cyan3" fontcolor = "cyan3" label = "blue potion"]
	010 -> 242
	010 -> 174 [color = "cyan3" fontcolor = "cyan3" label = "spectrebane"]
	011 -> 023
	011 -> 340 [color = "cyan3" fontcolor = "cyan3" label = "can return"]
	012 -> 379
	013 -> 110
	014 -> 135 [color = "magenta" fontcolor = "magenta" label = "lose&le;2 AR"]
	014 -> 190
	015 -> 065
	015 -> 385
	015 -> 056
	015 -> 037
	016 -> 168
	017 -> 131
	017 -> 239
	017 -> 120
	018 -> greencream018
	018 -> 033
	018 -> 281
	019 -> 048 [color = "cyan3" fontcolor = "cyan3" label = "-1 meal/\n ST potion/\n grog\n herbal liqueur"]
	019 -> 030
	019 -> 076
	020 -> 276
	021 -> 245
//	023 -> 
//	024 -> 
//	025 -> 
//	026 -> 
//	027 -> 
//	028 -> 
//	029 -> 
//	030 -> 
//	031 -> 
//	032 -> 
//	033 -> 
//	034 -> 
//	035 -> 
//	036 -> 
//	037 -> 
//	038 -> 
//	039 -> 
//	040 -> 
//	041 -> 
//	042 -> 
//	043 -> 
//	044 -> 
//	045 -> 
//	046 -> 
//	047 -> 
//	048 -> 
//	049 -> 
//	050 -> 
//	051 -> 
//	052 -> 
//	053 -> 
//	054 -> 
//	055 -> 
//	056 -> 
//	057 -> 
//	058 -> 
//	059 -> 
//	060 -> 
//	061 -> 
//	062 -> 
//	063 -> 
//	064 -> 
//	065 -> 
//	066 -> 
//	067 -> 
//	068 -> 
//	069 -> 
//	070 -> 
//	071 -> 
//	072 -> 
//	073 -> 
//	074 -> 
//	075 -> 
//	076 -> 
//	077 -> 
//	078 -> 
//	079 -> 
//	080 -> 
//	081 -> 
//	082 -> 
//	083 -> 
//	084 -> 
//	085 -> 
//	086 -> 
//	087 -> 
//	088 -> 
//	089 -> 
//	090 -> 
//	091 -> 
//	092 -> 
//	093 -> 
//	094 -> 
//	095 -> 
//	096 -> 
//	097 -> 
//	098 -> 
//	099 -> 
//	100 -> 
//	101 -> 
//	102 -> 
//	103 -> 
//	104 -> 
//	105 -> 
//	106 -> 
//	107 -> 
//	108 -> 
//	109 -> 
//	110 -> 
//	111 -> 
//	112 -> 
//	113 -> 
//	114 -> 
//	115 -> 
//	116 -> 
//	117 -> 
//	118 -> 
//	119 -> 
//	120 -> 
//	121 -> 
//	122 -> 
//	123 -> 
//	124 -> 
//	125 -> 
//	126 -> 
//	127 -> 
//	128 -> 
//	129 -> 
//	130 -> 
//	131 -> 
//	132 -> 
//	133 -> 
//	134 -> 
//	135 -> 
//	136 -> 
//	137 -> 
//	138 -> 
//	139 -> 
//	140 -> 
//	141 -> 
//	142 -> 
//	143 -> 
//	144 -> 
//	145 -> 
//	146 -> 
//	147 -> 
//	148 -> 
//	149 -> 
//	150 -> 
//	151 -> 
//	152 -> 
//	153 -> 
//	154 -> 
//	155 -> 
//	156 -> 
//	157 -> 
//	158 -> 
//	159 -> 
//	160 -> 
//	161 -> 
//	162 -> 
//	163 -> 
//	164 -> 
//	165 -> 
//	166 -> 
//	167 -> 
//	168 -> 
//	169 -> 
//	170 -> 
//	171 -> 
//	172 -> 
//	173 -> 
//	174 -> 
//	175 -> 
//	176 -> 
//	177 -> 
//	178 -> 
//	179 -> 
//	180 -> 
//	181 -> 
//	182 -> 
//	183 -> 
//	184 -> 
//	185 -> 
//	186 -> 
//	187 -> 
//	188 -> 
//	189 -> 
//	190 -> 
//	191 -> 
//	192 -> 
//	193 -> 
//	194 -> 
//	195 -> 
//	196 -> 
//	197 -> 
//	198 -> 
//	199 -> 
//	200 -> 
//	201 -> 
//	202 -> 
//	203 -> 
//	204 -> 
//	205 -> 
//	206 -> 
//	207 -> 
//	208 -> 
//	209 -> 
//	210 -> 
//	211 -> 
//	212 -> 
//	213 -> 
//	214 -> 
//	215 -> 
//	216 -> 
//	217 -> 
//	218 -> 
//	219 -> 
//	220 -> 
//	221 -> 
//	222 -> 
//	223 -> 
//	224 -> 
//	225 -> 
//	226 -> 
//	227 -> 
//	228 -> 
//	229 -> 
//	230 -> 
//	231 -> 
//	232 -> 
//	233 -> 
//	234 -> 
//	235 -> 
//	236 -> 
//	237 -> 
//	238 -> 
//	239 -> 
//	240 -> 
//	241 -> 
//	242 -> 
//	243 -> 
//	244 -> 
//	245 -> 
//	246 -> 
//	247 -> 
//	248 -> 
//	249 -> 
//	250 -> 
//	251 -> 
//	252 -> 
//	253 -> 
//	254 -> 
//	255 -> 
//	256 -> 
//	257 -> 
//	258 -> 
//	259 -> 
//	260 -> 
//	261 -> 
//	262 -> 
//	263 -> 
//	264 -> 
//	265 -> 
//	266 -> 
//	267 -> 
//	268 -> 
//	269 -> 
//	270 -> 
//	271 -> 
//	272 -> 
//	273 -> 
//	274 -> 
//	275 -> 
//	276 -> 
//	277 -> 
//	278 -> 
//	279 -> 
//	280 -> 
//	281 -> 
//	282 -> 
//	283 -> 
//	284 -> 
//	285 -> 
//	286 -> 
//	287 -> 
//	288 -> 
//	289 -> 
//	290 -> 
//	291 -> 
//	292 -> 
//	293 -> 
//	294 -> 
//	295 -> 
//	296 -> 
//	297 -> 
//	298 -> 
//	299 -> 
//	300 -> 
//	301 -> 
//	302 -> 
//	303 -> 
//	304 -> 
//	305 -> 
//	306 -> 
//	307 -> 
//	308 -> 
//	309 -> 
//	310 -> 
//	311 -> 
//	312 -> 
//	313 -> 
//	314 -> 
//	315 -> 
//	316 -> 
//	317 -> 
//	318 -> 
//	319 -> 
//	320 -> 
//	321 -> 
//	322 -> 
//	323 -> 
//	324 -> 
//	325 -> 
//	326 -> 
//	327 -> 
//	328 -> 
//	329 -> 
//	330 -> 
//	331 -> 
//	332 -> 
//	333 -> 
//	334 -> 
//	335 -> 
//	336 -> 
//	337 -> 
//	338 -> 
//	339 -> 
//	340 -> 
//	341 -> 
//	342 -> 
//	343 -> 
//	344 -> 
//	345 -> 
//	346 -> 
//	347 -> 
//	348 -> 
//	349 -> 
//	350 -> 
//	351 -> 
//	352 -> 
//	353 -> 
//	354 -> 
//	355 -> 
//	356 -> 
//	357 -> 
//	358 -> 
//	359 -> 
//	360 -> 
//	361 -> 
//	362 -> 
//	363 -> 
//	364 -> 
//	365 -> 
//	366 -> 
//	367 -> 
//	368 -> 
//	369 -> 
//	370 -> 
//	371 -> 
//	372 -> 
//	373 -> 
//	374 -> 
//	375 -> 
//	376 -> 
//	377 -> 
//	378 -> 
//	379 -> 
//	380 -> 
//	381 -> 
//	382 -> 
//	383 -> 
//	384 -> 
//	385 -> 
//	386 -> 
//	387 -> 
//	388 -> 
//	389 -> 
//	390 -> 
//	391 -> 
//	392 -> 
//	393 -> 
//	394 -> 
//	395 -> 
//	396 -> 
//	397 -> 
//	398 -> 
//	399 -> 
//	400 -> 
}
