User:Lindenb/Notebook/UMR915/20100909

From OpenWetWare

Jump to: navigation, search

20100908        Top        20100910       


Drawing pedigrees

Updated my java program: reads/write as SVG, the information about the individuals/node are stored in the SVG:

    (...)
    <svg:g title="i1" u915:class="Individual" u915:id="1" u915:dead="false" u915:label="i1" u915:fill="rgb(255,255,0)" u915:stroke="rgb(0,0,0)" u915:gender="0" u915:x="675" u915:y="57" u915:stroke-width="1">
       <svg:path fill="rgb(255,255,0)" stroke="rgb(0,0,0)" d="M 639.0 39.0 L 639.0 75.0 C 639.0 84.94112549695429 647.0588745030457 93.0 657.0 93.0 L 693.0 93.0 C 702.9411254969543 93.0 711.0 84.94112549695429 711.0 75.0 L 711.0 39.0 C 711.0 29.058874503045722 702.9411254969543 21.0 693.0 21.0 L 657.0 21.0 C 647.0588745030457 21.0 639.0 29.058874503045722 639.0 39.0 Z "/>
       <svg:text x="675" y="108" style="stroke-width:1;font-size:14; text-anchor:middle;stroke:rgb(0,0,0);">i1</svg:text>
     </svg:g>
     (...)
Personal tools