I need to draw large dataset on image, I used graphvis command lines with all available tools (dot, neato, twopi .. etc) but the result is not readable and contains overlapping.
What I need is display the nodes with labels on the edges, with minimum overlapping so the graph can be readable and also printed on A4 or A3 paper.
I used the options overlap=false, splines=true in neato and same overlapping result.
Here is the dataset:
graph {
graph [ bgcolor=ivory2, overlap=false, splines=true, ranksep ="2.75"]
{node [width=1,height=1,shape=circle,style=filled,color=skyblue] "ECNY" }
edge [ len=2, sep=5]
"DANA" -- "HMRN" -- "ECNY" -- "NORI" -- "MAJZ" -- "RSFH" -- "DANA" [label ="LD1-25-A01", penwidth =3 , color="#156163"]
"DANA" -- "HMRN" -- "ECNY" -- "NORI" -- "MAJZ" -- "RSFH" -- "DANA" [label ="LD1-25-A02", penwidth =3 , color="#30a1f9"]
"DANA" -- "MAJZ" -- "ECNY" -- "HMRN" -- "DANA" [label ="LD1-25-A03", penwidth =3 , color="#ec591d"]
"DANA" -- "MAJZ" -- "ECNY" -- "HMRN" -- "DANA" [label ="LD1-25-A04", penwidth =3 , color="#263a5f"]
"DANA" -- "ECNY" -- "DANA" [label ="LD3-25-A02", penwidth =3 , color="#a3517c"]
"HMRN" -- "ECNY" -- "MAJZ" -- "DANA" -- "HMRN" [label ="LD1-25-H01", penwidth =3 , color="#800d83"]
"HMRN" -- "ECNY" -- "MAJZ" -- "DANA" -- "TWRN" -- "HMRN" [label ="LD1-25-H02", penwidth =3 , color="#89e15a"]
"HMRN" -- "ECNY" -- "MAJZ" -- "DANA" -- "TWRN" -- "HMRN" [label ="LD3-25-H03", penwidth =3 , color="#74ed0e"]
"HMRN" -- "ECNY" -- "HMRN" [label ="JED-10-H08", penwidth =3 , color="#e8e786"]
"HMRN" -- "ECNY" -- "MAJZ" -- "DANA" -- "HMRN" [label ="LD1-25-H04", penwidth =3 , color="#e1f559"]
"ECNY" -- "HMRN" -- "ECNY" [label ="JED-10-A02", penwidth =3 , color="#8f7964"]
"ECNY" -- "HMRN" -- "ECNY" [label ="JED-10-A03", penwidth =3 , color="#9058f0"]
"ECNY" -- "HMRN" -- "SBCB" -- "ECNY" [label ="JED-10-A04", penwidth =3 , color="#b537b7"]
"ECNY" -- "HMRN" -- "SBCB" -- "ECNY" [label ="JED-10-A05", penwidth =3 , color="#fc2c2a"]
"ECNY" -- "HMRN" -- "ECNY" [label ="JED-10-A06", penwidth =3 , color="#36309c"]
"ECNY" -- "HMRN" -- "ECNY" [label ="JED-10-A07", penwidth =3 , color="#25a571"]
"ECNY" -- "OBHR" -- "ECNY" [label ="JED-10-A26", penwidth =3 , color="#1a6077"]
"ECNY" -- "2820" -- "ECNY" [label ="JED-25-A03", penwidth =3 , color="#8bce8c"]
"ECNY" -- "2138" -- "2129" -- "ECNY" [label ="JED-25-A04", penwidth =3 , color="#9b9afa"]
"ECNY" -- "2017" -- "2013" -- "ECNY" [label ="JED-25-A05", penwidth =3 , color="#5ea9aa"]
"ECNY" -- "2027" -- "2128" -- "ECNY" [label ="JED-25-A22", penwidth =3 , color="#c0c4d4"]
"ECNY" -- "2130" -- "2137" -- "ECNY" [label ="JED-25-A27", penwidth =3 , color="#781ce0"]
"ECNY" -- "DANA" -- "ECNY" [label ="LD3-25-A01", penwidth =3 , color="#fd5c5a"]
"ECNY" -- "HMRN" -- "ZJ01" -- "ECNY" [label ="JED-10-H03", penwidth =3 , color="#32e13b"]
"ECNY" -- "HMRN" -- "ECNY" [label ="JED-10-H04", penwidth =3 , color="#487f94"]
"ECNY" -- "2341" -- "2235" -- "2233" -- "ECNY" [label ="JED-10-H05", penwidth =3 , color="#82ae2d"]
"ECNY" -- "HMRN" -- "SBCB" -- "ECNY" [label ="JED-10-H06", penwidth =3 , color="#f4651c"]
"ECNY" -- "HMRN" -- "SBCB" -- "ECNY" [label ="JED-10-H07", penwidth =3 , color="#23dd41"]
"ECNY" -- "HMRN" -- "OBHR" -- "ECNY" [label ="JED-10-H37", penwidth =3 , color="#521f43"]
"ECNY" -- "PROJECT" -- "ECNY" [label ="JED-10-H49", penwidth =3 , color="#0a4bf1"]
"ECNY" -- "2234" -- "2246" -- "2245" -- "2320" -- "ECNY" [label ="JED-25-H01", penwidth =3 , color="#6127e4"]
"ECNY" -- "2842" -- "2030" -- "ECNY" [label ="JED-25-H03", penwidth =3 , color="#ce1f98"]
"ECNY" -- "2170" -- "2166" -- "ECNY" [label ="JED-25-H06", penwidth =3 , color="#aeb0ce"]
"ECNY" -- "2158" -- "2144" -- "ECNY" [label ="JED-25-H11", penwidth =3 , color="#9ef618"]
"ECNY" -- "5824" -- "2011" -- "ECNY" [label ="JED-25-H15", penwidth =3 , color="#b2d524"]
"ECNY" -- "2010" -- "2830" -- "2198" -- "ECNY" [label ="JED-25-H16", penwidth =3 , color="#53e7ae"]
"ECNY" -- "2179" -- "ECNY" [label ="JED-25-H17", penwidth =3 , color="#149169"]
"ECNY" -- "2211" -- "ECNY" [label ="JED-25-H19", penwidth =3 , color="#15a51b"]
"ECNY" -- "2316" -- "ECNY" [label ="JED-25-H20", penwidth =3 , color="#e91d18"]
"ECNY" -- "2203" -- "ECNY" [label ="JED-25-H22", penwidth =3 , color="#38a23a"]
"ECNY" -- "SBCB" -- "JFCC" -- "ECNY" [label ="JED-25-H33", penwidth =3 , color="#a1abf4"]
"ECNY" -- "HMRN" -- "ECNY" [label ="JED-25-H41", penwidth =3 , color="#c14ff8"]
"ECNY" -- "TAIF" -- "SNFN" -- "NORI" -- "ECNY" [label ="LD1-10-H04", penwidth =3 , color="#75fb4f"]
"ECNY" -- "MAJZ" -- "DANA" -- "TWRN" -- "HMRN" -- "ECNY" [label ="LD1-25-H03", penwidth =3 , color="#52d1c8"]
"ECNY" -- "DANA" -- "ECNY" [label ="LD3-25-H01", penwidth =3 , color="#498a16"]
"ECNY" -- "DANA" -- "ECNY" [label ="LD3-25-H02", penwidth =3 , color="#70f831"]
"ECNY" -- "2310" -- "5880" -- "5301" -- "2248" -- "ECNY" [label ="JED-10-H17", penwidth =3 , color="#ebb4e1"]
"SBCB" -- "ECNY" -- "HMRN" -- "JELS" -- "ROMN" -- "OBHR" -- "SAFA" -- "SBCB" [label ="JED-W40-A01", penwidth =3 , color="#7ff59c"]
"SBCB" -- "SAFA" -- "OBHR" -- "HMRN" -- "ECNY" -- "SBCB" [label ="JED-10-H35", penwidth =3 , color="#e817b9"]
"2171" -- "ECNY" -- "2171" [label ="JED-10-H19", penwidth =3 , color="#bf1252"]
"ABHA" -- "ECNY" -- "DANA" -- "ABHA" [label ="LD3-10-H01", penwidth =3 , color="#8b60ae"]
"MAJZ" -- "ECNY" -- "DANA" -- "2510" -- "MAJZ" [label ="LD1-10-H02", penwidth =3 , color="#1e3c55"]
"2209" -- "2206" -- "ECNY" -- "2209" [label ="JED-25-H02", penwidth =3 , color="#1b6092"]
}
this is one of the output when using these options (in neato):
graph [ bgcolor=ivory2, overlap=false, splines=true, ranksep ="2.75"]
{node [width=1,height=1,shape=circle,style=filled,color=skyblue] "ECNY" }
edge [ len=2, sep=5]
also this when make overlap=scale but still the image is not readable!
overlap=scale, sep=\"+25,25\", splines=true, rankdir=\"TB\"
so what other attributes can enhance this graph ?