Gview code for travel Graph

Noted in DOT Language, DOT Language Reference

Example Image when layout is generated:

digraph g{
subgraph ek{
subgraph aek{
//Eastern Kingdom
node[shape = ellipse, fixedsize=true, heigth=2,width=2.5,border=4];
AEK01[label = "Stormwind"];
AEK02[label = "Ironforge"];
node[shape = ellipse, fixedsize=true, heigth=2,width=2.5,border=1];
AEK03[label = "Sentinel Hill"];
AEK04[label = "Duskwood"];
AEK05[label = "Lakeshire"];
AEK06[label = "Thelsamar"];
AEK07[label = "Menethil Harbor"];
AEK08[label = "Southshore"];
AEK09[label = "Refuge Pointe"];
AEK10[label = "Rebel Camp"];
AEK11[label = "Chillwind Camp"];
AEK12[label = "Aerie Peak"];
AEK13[label = "Nethergarde Keep"];
AEK14[label = "Morgan's Vigil"];
}

//Flight Points
edge[dir = none, weight = 20.0]
AEK01 -> AEK02
AEK01 -> AEK03
AEK01 -> AEK04
AEK01 -> AEK05
AEK01 -> AEK10
AEK01 -> AEK13
AEK02 -> AEK06
AEK02 -> AEK07
AEK02 -> AEK08
AEK02 -> AEK09
AEK02 -> AEK11
AEK02 -> AEK12
AEK03 -> AEK04
AEK03 -> AEK05
AEK03 -> AEK10
AEK04 -> AEK05
AEK04 -> AEK13
AEK05 -> AEK14
AEK06 -> AEK07
AEK06 -> AEK09
AEK07 -> AEK08
AEK07 -> AEK09
AEK08 -> AEK11
AEK08 -> AEK12
AEK08 -> AEK09
AEK09 -> AEK12
AEK11 -> AEK12

subgraph hek{
node[shape = polygon, sides=5, fixedsize=true, heigth=2,width=2.5,border=4];
HEK01[label = "Undercity"];
HEK02[label = "Silverymoon"];
node[shape = polygon, sides=5, fixedsize=true, heigth=2,width=2.5,border=1];
HEK03[label = "Sepulcher"];
HEK04[label = "Tranquillien"];
HEK05[label = "Tarren Mill"];
HEK06[label = "Hammerfall"];
HEK07[label = "Grom'gol Base Camp "];
HEK08[label = "Stonard"];
HEK09[label = "Kargath"];
HEK10[label = "Revantusk Village"];
HEK11[label = "Flame Crest"];
}

edge[dir = none, weight = 20.0]
HEK01 -> HEK03
HEK01 -> HEK05
HEK01 -> HEK06
HEK01 -> HEK10
HEK01 -> HEK09
HEK02 -> HEK04
HEK03 -> HEK05
HEK05 -> HEK10
HEK05 -> HEK06
HEK06 -> HEK09
HEK06 -> HEK10
HEK07 -> HEK09
HEK07 -> HEK08
HEK08 -> HEK11
HEK09 -> HEK11

subgraph nek{
node[shape = box, fixedsize=true, heigth=2,width=2.5,border=4];
NEK01[label = "Booty Bay"];
node[shape = box, fixedsize=true, heigth=2,width=2.5,border=1];
NEK02[label = "Zul Aman"];
NEK03[label = "Isle of Queldenas"];
NEK04[label = "Thorium Point"];
NEK05[label = "Light's Hope Chapel"];}

edge[dir = none, weight = 20.0]
AEK11 -> NEK05
AEK12 -> NEK05
AEK01 -> NEK01
AEK02 -> NEK05
AEK02 -> NEK02
AEK02 -> NEK03
AEK03 -> NEK01
AEK04 -> NEK01
AEK10 -> NEK01
AEK02 -> NEK04
AEK14 -> NEK04
AEK01 -> NEK01
NEK01 -> HEK07
NEK01 -> HEK09
NEK01 -> HEK08
NEK02 -> NEK05
NEK02 -> HEK04
NEK02 -> HEK02
NEK03 -> HEK02
NEK04 -> HEK09
NEK04 -> HEK11
}

subgraph ka{

subgraph aka{
//Kalimdor
//Alliance
node[shape = ellipse, fixedsize=true, heigth=2,width=2.5,border=4];
AKA01[label = "Darnasus"];
AKA02[label = "Exodar"];
node[shape = ellipse, fixedsize=true, heigth=2,width=2.5,border=1];
AKA03[label = "Auberdine"];
AKA04[label = "Blood Watch"];
AKA05[label = "Astranaar"];
AKA06[label = "Forest Song "];
AKA07[label = "Stonetalon Peak"];
AKA08[label = "Nijel's Point"];
AKA09[label = "Theramore Isle "];
AKA10[label = "Thalanaar"];
AKA11[label = "Feathermoon Stronghold"];
AKA12[label = "Talonbranch Glade"];
AKA14[label = "Talrendis Point"];
}

edge[dir = none, weight = 20.0]
AKA01 -> AKA03
AKA02 -> AKA04
AKA03 -> AKA12
AKA03 -> AKA05
AKA03 -> AKA07
AKA03 -> AKA08
AKA03 -> AKA09
AKA03 -> AKA14
AKA05 -> AKA06
AKA05 -> AKA07
AKA06 -> AKA14
AKA07 -> AKA08
AKA07 -> AKA11
AKA08 -> AKA11
AKA08 -> AKA09
AKA09 -> AKA10
AKA10 -> AKA11

subgraph hka{
//Horde
node[shape = polygon, sides=5, fixedsize=true, heigth=2,width=2.5,border=4];
HKA01[label = "Orgrimmar"];
HKA02[label = "Thunder Bluff"];
node[shape = polygon, sides=5, fixedsize=true, heigth=2,width=2.5,border=1];
HKA03[label = "Crossroads"];
HKA04[label = "Camp Taurajo"];
HKA05[label = "Splintertree Post"];
HKA06[label = "Zoram'gar Outpost"];
HKA07[label = "Sun Rock Retreat"];
HKA08[label = "Freewind Post"];
HKA09[label = "Shadowprey Village"];
HKA10[label = "Brackenwall Village"];
HKA11[label = "Camp Mojache"];
HKA12[label = "Bloodvenom Post"];
HKA13[label = "Valormok"];
}

edge[dir = none, weight = 20.0]
HKA01 -> HKA03
HKA01 -> HKA05
HKA01 -> HKA12
HKA01 -> HKA13
HKA01 -> HKA02
HKA01 -> HKA10
HKA02 -> HKA07
HKA02 -> HKA09
HKA02 -> HKA11
HKA02 -> HKA08
HKA02 -> HKA10
HKA02 -> HKA04
HKA02 -> HKA03
HKA02 -> HKA13
HKA03 -> HKA13
HKA03 -> HKA05
HKA03 -> HKA06
HKA03 -> HKA07
HKA03 -> HKA04
HKA03 -> HKA10
HKA04 -> HKA08
HKA05 -> HKA13
HKA05 -> HKA06
HKA07 -> HKA09
HKA08 -> HKA11
HKA09 -> HKA11
HKA12 -> HKA13

subgraph nka{
//Neutral
node[shape = box, fixedsize=true, heigth=2,width=2.5,border=4];
NKA01 [label="Everlook"];
NKA02 [label="Gadgetzan"];
node[shape = box, fixedsize=true, heigth=2,width=2.5,border=1];
NKA03 [label="Ratchet"];
NKA04 [label="Cenarion Hold"];
NKA05 [label="Marshall's Refuge"];
NKA06 [label="Mud Sprocket"];
NKA07 [label="Moonglade"];
NKA08 [label="Emerald Sanctuary"];
NKA09 [label="Caverns of Time"];
}

edge[dir = none, weight = 20.0]
NKA01 -> NKA07
NKA01 -> AKA14
NKA02 -> NKA05
NKA02 -> NKA04
NKA02 -> AKA09
NKA02 -> AKA10
NKA03 -> AKA09
NKA03 -> AKA14
NKA04 -> NKA05
NKA04 -> AKA11
NKA06 -> AKA09
NKA06 -> AKA10
NKA07 -> AKA12
NKA07 -> AKA01
NKA08 -> AKA12
NKA08 -> AKA05
NKA08 -> AKA03
NKA08 -> HKA12
NKA08 -> HKA05
NKA08 -> HKA06

NKA01 -> HKA13
NKA01 -> HKA12
NKA02 -> HKA01
NKA02 -> HKA02
NKA02 -> HKA03
NKA02 -> HKA10
NKA02 -> HKA08
NKA02 -> HKA11
NKA03 -> HKA01
NKA03 -> HKA03
NKA03 -> HKA11
NKA04 -> HKA11
NKA06 -> HKA10
NKA06 -> HKA08
NKA07 -> HKA02
NKA07 -> HKA12
}

subgraph ol{
subgraph aol{
//tBC
//Alliance
node[shape = ellipse, fixedsize=true, heigth=2,width=2.5,border=1];
AOL01 [label="Honor Hold"];
AOL02 [label="Shatter Point"];
AOL03 [label="Temple of Telhamat"];
AOL04 [label="Telredor"];
AOL05 [label="Orebor Harborage "];
AOL06 [label="Allerian Stronghold"];
AOL07 [label="Telaar"];
AOL08 [label="Sylvanaar"];
AOL09 [label="Toshley's Station"];
AOL10 [label="Wildhammer Stronghold"];
}

edge[dir = none, weight = 20.0]
AOL01 -> AOL02
AOL01 -> AOL03
AOL01 -> AOL06
AOL03 -> AOL04
AOL04 -> AOL07
AOL04 -> AOL05
AOL04 -> AOL08
AOL05 -> AOL08
AOL06 -> AOL07
AOL06 -> AOL10
AOL08 -> AOL09

subgraph hol{
//Horde
node[shape = polygon, sides=5, fixedsize=true, heigth=2,width=2.5,border=1];
HOL01 [label="Thrallmar"];
HOL02 [label="Spinebreaker Post"];
HOL03 [label="Falcon Watch"];
HOL04 [label="Swamprat Post"];
HOL05 [label="Zabra'jin"];
HOL06 [label="Stonebreaker Hold"];
HOL07 [label="Garadar"];
HOL08 [label="Thunderlord Stronghold"];
HOL09 [label="Mok'Nathal Village"];
HOL10 [label="Shadowmoon Village"];
}

edge[dir = none, weight = 20.0]
HOL01 -> HOL02
HOL01 -> HOL03
HOL01 -> HOL06
HOL03 -> HOL04
HOL03 -> HOL05
HOL04 -> HOL08
HOL04 -> HOL05
HOL04 -> HOL07
HOL05 -> HOL07
HOL05 -> HOL08
HOL06 -> HOL10
HOL08 -> HOL09

//Neutral
subgraph nol
{
node[shape = box, fixedsize=true, heigth=2,width=2.5,border=1];
NOL01 [label="Stair of Destiny"];
NOL02 [label="Shattrath"];
NOL03 [label="Blackwind Landing"];
NOL04 [label="Skyguard Outpost"];
NOL05 [label="Area 52"];
NOL06 [label="Cosmowrench"];
NOL07 [label="Stormspire"];
NOL08 [label="Altar of Sha'tar"];
NOL09 [label="Sanctum of the Stars"];
NOL10 [label="Cenarion Outpost BEM"];
}

edge[dir = none, weight = 20.0]
NOL01 -> NOL02
NOL01 -> AOL01
NOL01 -> HOL01
NOL02 -> AOL01
NOL02 -> HOL03
NOL02 -> HOL04
NOL02 -> AOL04
NOL02 -> HOL05
NOL02 -> HOL07
NOL02 -> AOL07
NOL02 -> HOL06
NOL02 -> AOL06
NOL02 -> NOL03
NOL02 -> NOL04
NOL03 -> NOL04
NOL05 -> NOL06
NOL05 -> NOL07
NOL06 -> NOL07
NOL05 -> NOL10
NOL05 -> HOL09
NOL05 -> HOL08
NOL05 -> AOL08
NOL05 -> AOL09
NOL07 -> AOL08
NOL10 -> AOL08
NOL10 -> AOL09
NOL10 -> HOL08
NOL08 -> AOL10
NOL08 -> HOL10
NOL09 -> AOL10
NOL09 -> HOL10
}

subgraph nr{
subgraph anr
{
//WotLK
//Alliance
node[shape = ellipse, fixedsize=true, heigth=2,width=2.5,border=1];
ANR01 [label="Valiance Keep"];
ANR02 [label="Fizzcrank Airstrip"];
ANR03 [label="Valgarde"];
ANR04 [label="Westguard Keep"];
ANR05 [label="Fort Wildervar"];
ANR06 [label="Wintergarde Keep"];
ANR07 [label="Stars' Rest"];
ANR08 [label="Fordragon Hold"];
ANR09 [label="Amberpine Lodge"];
ANR10 [label="Westfall Brigade Encampment"];
ANR11 [label="Windrunner's Overlook"];
ANR12 [label="Frosthold"];
}

edge[dir = none, weight = 20.0]
ANR01 -> ANR02
ANR02 -> ANR07
ANR07 -> ANR08
ANR08 -> ANR11
ANR11 -> ANR06
ANR11 -> ANR12
ANR06 -> ANR09
ANR06 -> ANR04
ANR09 -> ANR10
ANR09 -> ANR05
ANR05 -> ANR10
ANR05 -> ANR04
ANR05 -> ANR03
ANR03 -> ANR04

subgraph
hnr
{
//Horde
node[shape = polygon, sides=5, fixedsize=true, heigth=2,width=2.5,border=1];
HNR01 [label="Warsong Hold"];
HNR02 [label="Bor'gorok Outpost"];
HNR03 [label="Taunka'le Village"];
HNR04 [label="Vengeance Landing"];
HNR05 [label="New Agamand"];
HNR06 [label="Apothecary Camp"];
HNR07 [label="Camp Winterhoof"];
HNR08 [label="Venomspite"];
HNR09 [label="Agmar's Hammer"];
HNR10 [label="Kor'kron Vanguard"];
HNR11 [label="Conquest Hold"];
HNR12 [label="Camp Oneqwah"];
HNR13 [label="Sunreaver's Command"];
HNR14 [label="Grom'arsh Crash Site"];
HNR15 [label="Camp Tunka'lo"];
}

edge[dir = none, weight = 20.0]
HNR01 -> HNR02
HNR01 -> HNR03
HNR03 -> HNR09
HNR09 -> HNR10
HNR09 -> HNR08
HNR10 -> HNR08
HNR08 -> HNR13
HNR08 -> HNR11
HNR08 -> HNR06
HNR08 -> HNR05
HNR11 -> HNR12
HNR11 -> HNR07
HNR11 -> HNR06
HNR07 -> HNR12
HNR07 -> HNR04
HNR07 -> HNR05
HNR14 -> HNR15

subgraph
{
//Neutral
node[shape = box, fixedsize=true, heigth=2,width=2.5,border=1];
NNR01 [label="Amber Ledge"];
NNR02 [label="Transitus Shield"];
NNR03 [label="Unu'pe"];
NNR04 [label="Kamagua "];
NNR05 [label="Moa'ki Harbor"];
NNR06 [label="Wyrmrest Temple"];
NNR07 [label="Dalaran"];
NNR08 [label="Light's Breach "];
NNR09 [label="Ebon Watch "];
NNR10 [label="Argent Stand "];
NNR11 [label="Zim'Torga "];
NNR12 [label="Dubra'Jin "];
NNR13 [label="Nesingwary Base Camp "];
NNR14 [label="Lakeside Landing "];
NNR15 [label="Dun Niffelem "];
NNR16 [label="Bouldercrag's Refuge "];
NNR17 [label="Ulduar "];
NNR18 [label="Argent Vanguard "];
NNR19 [label="Crusaders' Pinnacle "];
NNR20 [label="Argent Tournament Grounds "];
NNR21 [label="Shadow Vault "];
NNR22 [label="Death's Rise"];
NNR23 [label="K3"];
}

edge[dir = none, weight = 20.0]
NNR15 -> NNR23
NNR15 -> NNR11
NNR15 -> ANR12
NNR15 -> HNR15
NNR13 -> NNR14
NNR13 -> ANR02
NNR13 -> HNR02
NNR14 -> HNR02
NNR14 -> ANR02
NNR14 -> NNR07
NNR09 -> NNR08
NNR09 -> ANR06
NNR09 -> ANR11
NNR09 -> ANR12
NNR09 -> HNR08
NNR09 -> HNR13
NNR09 -> HNR10
NNR08 -> NNR10
NNR08 -> ANR06
NNR08 -> ANR09
NNR08 -> ANR10
NNR08 -> HNR08
NNR08 -> HNR12
NNR08 -> HNR11
NNR10 -> NNR11
NNR10 -> NNR12
NNR10 -> ANR10
NNR10 -> HNR12
NNR11 -> ANR10
NNR11 -> HNR12
NNR12 -> NNR17

NNR07 -> ANR08
NNR07 -> HNR10
NNR07 -> ANR11
NNR07 -> HNR13
NNR07 -> NNR18
NNR07 -> NNR23
NNR07 -> ANR12
NNR07 -> NNR20
NNR23 -> NNR09
NNR23 -> NNR08
NNR23 -> ANR12
NNR23 -> NNR16
NNR23 -> NNR17
NNR23 -> HNR14
NNR23 -> HNR15
NNR23 -> HNR13
NNR16 -> ANR12
NNR16 -> HNR14
NNR16 -> NNR17
NNR16 -> NNE20
NNR17 -> ANR12
NNR17 -> HNR14
NNR17 -> HNR15
NNR18 -> NNR23
NNR18 -> NNR19
NNR18 -> NNR21
NNR19 -> NNR20
NNR19 -> NNR21
NNR19 -> NNR22
NNR21 -> NNR20
NNR21 -> NNR22

NNR01 -> NNR02
NNR01 -> ANR01
NNR01 -> ANR02
NNR01 -> HNR01
NNR01 -> HNR02
NNR01 -> HNR03
NNR03 -> HNR03
NNR03 -> ANR01
NNR03 -> ANR02
NNR03 -> HNR09
NNR03 -> ANR07
NNR03 -> NNR05
NNR05 -> NNR04
NNR05 -> NNR06
NNR05 -> ANR07
NNR05 -> ANR06
NNR05 -> HNR09
NNR05 -> HNR08
NNR05 -> NNR07
NNR04 -> ANR04
NNR04 -> HNR05
NNR05 -> NNR06
NNR06 -> HNR09
NNR06 -> HNR10
NNR06 -> HNR08
NNR06 -> ANR07
NNR06 -> ANR08
NNR06 -> ANR06
NNR06 -> NNR07
NNR06 -> ANR11
}

//Boats and Zeplins, ect.
edge[color = blue, dir = both,  weight = 10.0]
AEK01 -> AEK02
AEK01 -> AKA03
AEK01 -> ANR01
AEK01 -> HKA01
AEK07 -> AKA09
AEK07 -> ANR03
AKA03 -> AKA02

HEK01 -> HEK02
HEK01 -> HEK07
HEK01 -> HNR04
HKA01 -> HKA02
HKA01 -> HNR01
HKA01 -> HEK07

NKA03 -> NEK01

//Portals
edge[color = red, dir = forward, weight = 1.0]
AEK01 -> NOL01
HKA01 -> NOL01

NOL02 -> AEK01
NOL02 -> AEK02
NOL02 -> HEK01
NOL02 -> HEK02
NOL02 -> AKA01
NOL02 -> AKA02
NOL02 -> HKA01
NOL02 -> HKA02
NOL02 -> NKA09

NNR07 -> NOL02
NNR07 -> AEK01
NNR07 -> AEK02
NNR07 -> HEK01
NNR07 -> HEK02
NNR07 -> AKA01
NNR07 -> AKA02
NNR07 -> HKA01
NNR07 -> HKA02
NNR07 -> NKA09

}

0 comments on “Gview code for travel Graph
1 Pings/Trackbacks for "Gview code for travel Graph"
  1. […] of looking at it all at once.  The graph was generated using Gvedit.  I will upload my latest file that was used to generate this graph.  If anyone else wants to play with it and maybe make it look […]

Categories