User:Lindenb/Notebook/UMR915/20100908

=DOT= using http://www.graphviz.org/ dot to draw pedigrees. created a Java servlet executing a remote DOT : http://code.google.com/p/code915/source/browse/trunk/bomcat/src/WEB-INF/src/fr/inserm/umr915/bomcat/DotServlet.java

examples
http://localhost:8080/jeter/graphviz?fmt=png&dot=digraph%20G%20{Eif4G1-%3ENSP3%3B%20NSP3-%3ERoXaN%3B%20}



http://172.18.254.162:8080/jeter/graphviz?dot=digraph%20G%20{Eif4G1-%3ENSP3%3B%20NSP3-%3ERoXaN%3B%20}

digraph G { node [label="\N"]; graph [bb="0,0,88,186"]; Eif4G1 [pos="44,167", width="1.2222", height="0.51389"]; NSP3 [pos="44,93", width="1.0278", height="0.51389"]; RoXaN [pos="44,19", width="1.2222", height="0.51389"]; Eif4G1 -> NSP3 [pos="e,44,111.67 44,148.33 44,140.26 44,130.65 44,121.71"]; NSP3 -> RoXaN [pos="e,44,37.667 44,74.327 44,66.264 44,56.648 44,47.711"]; }

Client!
And now, generated a client calling this webservice: http://code.google.com/p/code915/source/browse/trunk/bomcat/src/WEB-INF/src/fr/inserm/umr915/bomcat/ped/PedigreeDrawer.java