Running graphviz in windows

Hello

I have installed the Graphviz in windows. To make sure, if the graphviz is running, I pasted the below commands in neato.exe. But no output was generated. What am I missing here?

graph G {
run – intr;
intr – runbl;
runbl – run;
run – kernel;
kernel – zombie;
kernel – sleep;
kernel – runmem;
sleep – swap;
swap – runswap;
runswap – new;
runswap – runmem;
new – runmem;
sleep – runmem;
}

I got this

graph G {
graph [bb=“0,0,242.68,354.2”];
node [label=“\N”];
run [height=0.5,
pos=“85.335,261.51”,
width=0.75];
intr [height=0.5,
pos=“27,311.02”,
width=0.75];
run – intr [pos=“68.462,275.83 60.79,282.34 51.729,290.03 44.037,296.56”];
kernel [height=0.5,
pos=“124.71,189.43”,
width=0.9027];
run – kernel [pos=“94.666,244.42 100.85,233.1 108.94,218.29 115.17,206.89”];
runbl [height=0.5,
pos=“91.174,336.2”,
width=0.81243];
intr – runbl [pos=“50.532,320.25 55.54,322.22 60.848,324.3 65.917,326.29”];
runbl – run [pos=“89.731,317.74 88.826,306.16 87.664,291.29 86.762,279.76”];
zombie [height=0.5,
pos=“205.63,204.73”,
width=1.0291];
kernel – zombie [pos=“155.76,195.3 160.67,196.23 165.76,197.19 170.75,198.14”];
sleep [height=0.5,
pos=“73.696,142.31”,
width=0.81243];
kernel – sleep [pos=“107.72,173.74 102.04,168.49 95.724,162.66 90.089,157.45”];
runmem [height=0.5,
pos=“107.58,106.64”,
width=1.1193];
kernel – runmem [pos=“120.91,171.05 118.07,157.34 114.21,138.67 111.37,124.96”];
sleep – runmem [pos=“88.657,126.56 89.65,125.52 90.652,124.46 91.649,123.41”];
swap [height=0.5,
pos=“132.33,66.751”,
width=0.83048];
sleep – swap [pos=“86.42,125.92 96.188,113.33 109.62,96.02 119.43,83.376”];
runswap [height=0.5,
pos=“53.704,51.662”,
width=1.1555];
swap – runswap [pos=“103.5,61.218 99.82,60.511 96.006,59.779 92.202,59.049”];
runswap – runmem [pos=“70.162,68.455 76.846,75.276 84.55,83.137 91.224,89.947”];
new [height=0.5,
pos=“103.48,18”,
width=0.75];
runswap – new [pos=“76.553,36.21 79.109,34.482 81.693,32.734 84.198,31.04”];
new – runmem [pos=“104.33,36.366 105.03,51.578 106.03,73.09 106.73,88.296”];
}

Thanks

You are seeing the default output format - an augmented version of the input.
Next time try this: neato -Tpng yourfile.gv > yourfile.png
Then use a browser or paint, or similar to display yourfile.png

Here is more info on the commandline: Command Line | Graphviz
and more on the possible output formats (most may not be very interesting):
Output Formats | Graphviz

@steveroush Thank you. Can this graphviz tool be used to construct directed graph with 300 nodes?.

Thank you

Most likely, though performance depends on more than just the number of nodes. There are multiple layout engines, but I suggest you start with dot - see

Thank you

Here is an example of a large number of nodes with directed links I created using DOT.

Gadgetopia article links

A friend runs a blog and had a table of data of what all the different posts pointed to. I used the data to create the DOT output to draw the diagram.