Help formatting the graph layout

Hi, 
I am trying to display a graph which is actually a representation of a raster or uniform grid. So I need the edges to be straight and the graph to look like a mesh/grid really. At the moment I am getting a compact format but not as intuitive as having a nice straightforward grid format. Can someone please help?
Attached are the svg/pdf and dot .
 
Thanks,
Ed
 
 

graph Perl

{

graph [ label="k-cardinality" layout="neato" model="mds" nodesep="1.75" rankdir="TB" ranksep="1.75" size="7.75,10.25" ]

node [ shape="oval" ]

edge [ color="grey" ]

"32" [ shape="plaintext" ]

"61" [ shape="plaintext" ]

"50" [ shape="plaintext" ]

"38" [ shape="plaintext" ]

"20" [ shape="plaintext" ]

"93" [ shape="plaintext" ]

"3" [ shape="plaintext" ]

"31" [ shape="plaintext" ]

"67" [ shape="plaintext" ]

"74" [ shape="plaintext" ]

"48" [ shape="plaintext" ]

"72" [ shape="plaintext" ]

"47" [ shape="plaintext" ]

"96" [ shape="plaintext" ]

"36" [ shape="plaintext" ]

"49" [ shape="plaintext" ]

"84" [ shape="plaintext" ]

"94" [ shape="plaintext" ]

"0" [ shape="plaintext" ]

"40" [ shape="plaintext" ]

"6" [ shape="plaintext" ]

"64" [ shape="plaintext" ]

"88" [ shape="plaintext" ]

"57" [ shape="plaintext" ]

"70" [ shape="plaintext" ]

"26" [ shape="plaintext" ]

"89" [ shape="plaintext" ]

"29" [ shape="plaintext" ]

"1" [ shape="plaintext" ]

"80" [ shape="plaintext" ]

"4" [ shape="plaintext" ]

"21" [ shape="plaintext" ]

"12" [ shape="plaintext" ]

"46" [ shape="plaintext" ]

"8" [ shape="plaintext" ]

"35" [ shape="plaintext" ]

"9" [ shape="plaintext" ]

"30" [ shape="plaintext" ]

"53" [ shape="plaintext" ]

"51" [ shape="plaintext" ]

"22" [ shape="plaintext" ]

"34" [ shape="plaintext" ]

"15" [ shape="plaintext" ]

"28" [ shape="plaintext" ]

"59" [ shape="plaintext" ]

"17" [ shape="plaintext" ]

"75" [ shape="plaintext" ]

"91" [ shape="plaintext" ]

"58" [ shape="plaintext" ]

"77" [ shape="plaintext" ]

"86" [ shape="plaintext" ]

"42" [ shape="plaintext" ]

"98" [ shape="plaintext" ]

"5" [ shape="plaintext" ]

"78" [ shape="plaintext" ]

"69" [ shape="plaintext" ]

"23" [ shape="plaintext" ]

"52" [ shape="plaintext" ]

"2" [ shape="plaintext" ]

"39" [ shape="plaintext" ]

"55" [ shape="plaintext" ]

"66" [ shape="plaintext" ]

"56" [ shape="plaintext" ]

"60" [ shape="plaintext" ]

"71" [ shape="plaintext" ]

"65" [ shape="plaintext" ]

"10" [ shape="plaintext" ]

"87" [ shape="plaintext" ]

"68" [ shape="plaintext" ]

"19" [ shape="plaintext" ]

"43" [ shape="plaintext" ]

"14" [ shape="plaintext" ]

"18" [ shape="plaintext" ]

"24" [ shape="plaintext" ]

"83" [ shape="plaintext" ]

"85" [ shape="plaintext" ]

"99" [ shape="plaintext" ]

"25" [ shape="plaintext" ]

"16" [ shape="plaintext" ]

"44" [ shape="plaintext" ]

"82" [ shape="plaintext" ]

"62" [ shape="plaintext" ]

"54" [ shape="plaintext" ]

"33" [ shape="plaintext" ]

"90" [ shape="plaintext" ]

"41" [ shape="plaintext" ]

"11" [ shape="plaintext" ]

"27" [ shape="plaintext" ]

"97" [ shape="plaintext" ]

"76" [ shape="plaintext" ]

"13" [ shape="plaintext" ]

"73" [ shape="plaintext" ]

"63" [ shape="plaintext" ]

"45" [ shape="plaintext" ]

"79" [ shape="plaintext" ]

"95" [ shape="plaintext" ]

"92" [ shape="plaintext" ]

"81" [ shape="plaintext" ]

"37" [ shape="plaintext" ]

"7" [ shape="plaintext" ]

"32" -- "33" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"32" -- "42" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"32" -- "22" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"32" -- "31" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"61" -- "62" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"61" -- "71" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"61" -- "60" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"61" -- "51" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"50" -- "60" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"50" -- "51" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"50" -- "40" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"38" -- "37" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"38" -- "39" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"38" -- "28" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"38" -- "48" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"20" -- "10" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"20" -- "30" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"20" -- "21" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"93" -- "92" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"93" -- "83" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"93" -- "94" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"3" -- "13" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"3" -- "2" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"3" -- "4" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"31" -- "41" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"31" -- "30" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"31" -- "21" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"31" -- "32" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"67" -- "68" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"67" -- "66" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"67" -- "77" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"67" -- "57" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"74" -- "73" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"74" -- "75" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"74" -- "64" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"74" -- "84" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"48" -- "58" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"48" -- "49" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"48" -- "47" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"48" -- "38" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"72" -- "73" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"72" -- "62" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"72" -- "82" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"72" -- "71" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"47" -- "37" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"47" -- "46" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"47" -- "57" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"47" -- "48" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"96" -- "95" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"96" -- "97" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"96" -- "86" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"36" -- "37" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"36" -- "35" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"36" -- "46" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"36" -- "26" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"49" -- "39" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"49" -- "59" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"49" -- "48" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"84" -- "83" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"84" -- "85" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"84" -- "94" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"84" -- "74" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"94" -- "95" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"94" -- "84" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"94" -- "93" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"0" -- "10" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"0" -- "1" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"40" -- "41" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"40" -- "30" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"40" -- "50" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"6" -- "7" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"6" -- "16" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"6" -- "5" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"64" -- "63" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"64" -- "54" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"64" -- "65" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"64" -- "74" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"88" -- "87" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"88" -- "78" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"88" -- "98" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"88" -- "89" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"57" -- "56" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"57" -- "58" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"57" -- "47" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"57" -- "67" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"70" -- "71" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"70" -- "60" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"70" -- "80" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"26" -- "27" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"26" -- "16" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"26" -- "25" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"26" -- "36" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"89" -- "79" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"89" -- "99" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"89" -- "88" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"29" -- "19" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"29" -- "39" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"29" -- "28" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"1" -- "11" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"1" -- "2" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"1" -- "0" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"80" -- "81" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"80" -- "90" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"80" -- "70" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"4" -- "14" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"4" -- "5" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"4" -- "3" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"21" -- "11" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"21" -- "22" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"21" -- "31" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"21" -- "20" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"12" -- "13" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"12" -- "11" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"12" -- "2" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"12" -- "22" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"46" -- "45" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"46" -- "56" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"46" -- "36" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"46" -- "47" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"8" -- "7" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"8" -- "18" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"8" -- "9" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"35" -- "45" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"35" -- "25" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"35" -- "34" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"35" -- "36" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"9" -- "19" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"9" -- "8" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"30" -- "40" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"30" -- "31" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"30" -- "20" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"53" -- "63" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"53" -- "54" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"53" -- "43" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"53" -- "52" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"51" -- "41" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"51" -- "52" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"51" -- "50" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"51" -- "61" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"22" -- "23" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"22" -- "21" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"22" -- "12" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"22" -- "32" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"34" -- "33" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"34" -- "44" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"34" -- "24" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"34" -- "35" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"15" -- "16" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"15" -- "25" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"15" -- "14" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"15" -- "5" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"28" -- "27" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"28" -- "18" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"28" -- "29" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"28" -- "38" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"59" -- "69" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"59" -- "58" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"59" -- "49" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"17" -- "7" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"17" -- "27" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"17" -- "16" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"17" -- "18" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"75" -- "76" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"75" -- "85" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"75" -- "65" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"75" -- "74" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"91" -- "81" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"91" -- "92" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"91" -- "90" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"58" -- "68" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"58" -- "59" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"58" -- "57" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"58" -- "48" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"77" -- "76" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"77" -- "87" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"77" -- "78" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"77" -- "67" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"86" -- "76" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"86" -- "85" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"86" -- "87" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"86" -- "96" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"42" -- "41" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"42" -- "43" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"42" -- "52" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"42" -- "32" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"98" -- "97" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"98" -- "99" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"98" -- "88" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"5" -- "15" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"5" -- "4" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"5" -- "6" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"78" -- "79" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"78" -- "68" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"78" -- "77" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"78" -- "88" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"69" -- "79" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"69" -- "68" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"69" -- "59" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"23" -- "13" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"23" -- "33" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"23" -- "24" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"23" -- "22" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"52" -- "62" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"52" -- "42" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"52" -- "51" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"52" -- "53" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"2" -- "12" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"2" -- "1" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"2" -- "3" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"39" -- "29" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"39" -- "49" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"39" -- "38" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"55" -- "45" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"55" -- "54" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"55" -- "65" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"55" -- "56" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"66" -- "76" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"66" -- "65" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"66" -- "56" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"66" -- "67" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"56" -- "66" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"56" -- "55" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"56" -- "46" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"56" -- "57" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"60" -- "70" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"60" -- "61" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"60" -- "50" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"71" -- "81" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"71" -- "70" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"71" -- "72" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"71" -- "61" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"65" -- "66" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"65" -- "55" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"65" -- "75" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"65" -- "64" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"10" -- "11" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"10" -- "0" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"10" -- "20" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"87" -- "97" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"87" -- "86" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"87" -- "77" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"87" -- "88" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"68" -- "69" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"68" -- "78" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"68" -- "58" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"68" -- "67" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"19" -- "18" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"19" -- "9" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"19" -- "29" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"43" -- "33" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"43" -- "44" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"43" -- "42" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"43" -- "53" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"14" -- "13" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"14" -- "24" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"14" -- "15" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"14" -- "4" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"18" -- "19" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"18" -- "17" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"18" -- "28" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"18" -- "8" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"24" -- "25" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"24" -- "14" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"24" -- "23" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"24" -- "34" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"83" -- "73" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"83" -- "82" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"83" -- "84" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"83" -- "93" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"85" -- "95" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"85" -- "86" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"85" -- "75" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"85" -- "84" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"99" -- "98" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"99" -- "89" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"25" -- "24" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"25" -- "15" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"25" -- "35" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"25" -- "26" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"16" -- "17" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"16" -- "15" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"16" -- "26" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"16" -- "6" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"44" -- "45" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"44" -- "54" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"44" -- "43" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"44" -- "34" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"82" -- "81" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"82" -- "92" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"82" -- "83" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"82" -- "72" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"62" -- "63" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"62" -- "52" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"62" -- "72" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"62" -- "61" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"54" -- "44" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"54" -- "55" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"54" -- "53" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"54" -- "64" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"33" -- "43" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"33" -- "23" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"33" -- "34" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"33" -- "32" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"90" -- "91" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"90" -- "80" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"41" -- "42" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"41" -- "51" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"41" -- "40" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"41" -- "31" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"11" -- "10" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"11" -- "12" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"11" -- "21" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"11" -- "1" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"27" -- "37" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"27" -- "17" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"27" -- "28" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"27" -- "26" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"97" -- "87" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"97" -- "98" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"97" -- "96" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"76" -- "66" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"76" -- "86" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"76" -- "77" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"76" -- "75" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"13" -- "14" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"13" -- "23" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"13" -- "12" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"13" -- "3" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"73" -- "63" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"73" -- "83" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"73" -- "72" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"73" -- "74" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"63" -- "73" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"63" -- "62" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"63" -- "53" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"63" -- "64" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"45" -- "44" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"45" -- "55" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"45" -- "35" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"45" -- "46" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"79" -- "69" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"79" -- "78" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"79" -- "89" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"95" -- "85" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"95" -- "94" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"95" -- "96" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"92" -- "82" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"92" -- "91" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"92" -- "93" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"81" -- "82" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"81" -- "71" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"81" -- "91" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"81" -- "80" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"37" -- "27" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"37" -- "36" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"37" -- "47" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"37" -- "38" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"7" -- "17" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"7" -- "8" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

"7" -- "6" [ arrowsize="5.5" label="" len="0.7" weight="35" ]

}

AttachmentSize
svg2pdf.htm_.pdf47.4 KB

Help formatting the graph

The main problem is that your graph has two edges between adjacent nodes so the edges are drawn as curves to make sure they don't overlap. You can either remove the duplicate edges, or declare the graph strict:
 
  strict graph Perl
 
You can also reduce the minimum space used for nodes by resetting the width, height and margin attributes:
 
  node[shape=plaintext width=0 height=0 margin=0]
 
By the way, if you use this line to replace
 
  node [ shape="oval" ]
 
you can get rid of all of the node statements in your graph.
You can make other simplifications. For edges, label="" by default and arrowsize is not used as no arrows are drawn in a non-directed graph by default. You could then use the simple statement
 
  edge[color=grey len="0.7" weight="35" ]
 
and get rid of all the attributes on individual edges.
 
Finally, the model=mds, ranksep, nodesep and rankdir attributes won't have any effect, so you can get rid of them. On the other hand, if you want the edges of the graph to be axis-aligned, set normalize=true.
 

Recent comments