Differences between revisions 9 and 10
Revision 9 as of 2008-10-31 20:24:08
Size: 2824
Editor: 211
Comment:
Revision 10 as of 2009-01-13 15:56:46
Size: 3754
Editor: 211
Comment:
Deletions are marked like this. Additions are marked like this.
Line 33: Line 33:
    yong27 -> kkk -> 강연경
Line 121: Line 121:


== test ==
{{{#!fdp
digraph G {
    ChemicalGroup -> Chemical
    DiseaseGroup -> Chemical
    Chemical -> ToxicoExperiment -> ConfirmExperiment
    Organism -> ToxicoExperiment
    Experiment -> ToxicoExperiment
    ToxicoExperiment -> DEG
    Feature -> DEG
    Chemical -> CtdChemicalGene
    Gene -> CtdChemicalGene
    Organism -> CtdChemicalGene
    Chemical -> CtdChemicalDisease
    Disease -> CtdChemicalDisease
    Gene -> CtdGeneDisease
    Disease -> CtdGeneDisease
    Chemical -> CtdChemicalPathway
    Pathway -> CtdChemicalPathway
    Disease -> CtdDiseasePathway
    Pathway -> CtdDiseasePathway
    Gene -> CtdGenePathway
    Pathway -> CtdGenePathway
    User -> ToxicoExperiment
    User -> ConfirmExperiment
    Feature -> Gene

    User [URL="", fillcolor="blue"]
    Experiment [fillcolor=yellow]
    Feature [fillcolor=yellow]
    Organism [fillcolor=yellow]
    Gene [fillcolor=yellow]
}
}}}

MoinMoin GraphViz parser from ParserMarket/dot.py

GraphViz 에서 [Graph]를 그리는 방법은 다섯가지(dot, neato, fdp, twopi, circo)가 있다. 아래 소스를 각각의 방법으로 그려보면,

digraph G {
    node [style=filled, fillcolor=white]
    yong27 -> cyppi -> neosphere ->  yong27
    neosphere -> bio -> cyppi
    aaa -> neosphere
    azzzz -> aaa
    kkk -> azzzz
    yong27 -> kkk

    // a comment /

    yong27 [URL='yong27']   // link to an external URL
    cyppi [URL='cyppi']          
    neosphere [URL='neosphere']
    yong27 [fillcolor=blue]              
}

dot

neato

twopi

fdp

circo

test

GraphVizParser (last edited 2011-08-17 00:16:04 by 222)

web biohackers.net