Differences between revisions 1 and 12 (spanning 11 versions)
Revision 1 as of 2006-09-07 22:26:51
Size: 1601
Editor: 127
Comment:
Revision 12 as of 2011-08-03 11:01:12
Size: 3901
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
GraphViz 에서 [Graph]를 그리는 방법은 가지(dot, neato, twopi)가 있다. 아래 소스를 각각의 방법으로 그려보면, GraphViz 에서 [Graph]를 그리는 방법은 다섯가지(dot, neato, fdp, twopi, circo)가 있다. 아래 소스를 각각의 방법으로 그려보면,
Line 9: Line 9:
    neosphere -> asdf -> cyppi     neosphere -> bio -> cyppi
    aaa -> neosphere
    azzzz -> aaa
    kkk -> azzzz
    yong27 -> kkk
Line 24: Line 28:
    yong27 -> cyppi -> neosphere -> yong27 
    neosphere -> asdf -> cyppi
    yong27 -> cyppi -> neosphere -> yong27
    neosphere -> bio -> cyppi
    aaa -> neosphere
    azzzz -> aaa
    kkk -> azzzz -> 한글입력
Line 38: Line 46:
graph G { digraph G {
Line 40: Line 48:
    yong27 -> cyppi -> neosphere -> yong27 
    neosphere -> asdf -> cyppi
    yong27 -> cyppi -> neosphere -> yong27
    neosphere -> bio -> cyppi
    aaa -> neosphere
    azzzz -> aaa
    kkk -> azzzz
    yong27 -> kkk
Line 54: Line 66:
graph G { digraph G {
Line 56: Line 68:
    yong27 -> cyppi -> neosphere -> yong27 
    neosphere -> asdf
    yong27 -> cyppi -> neosphere -> yong27
    neosphere -> bio -> cyppi
    
aaa -> neosphere
    azzzz -> aaa
    kkk -> azzzz
    yong27 -> kkk
Line 67: Line 83:
== fdp ==
{{{#!fdp
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]
}
}}}
== circo ==
{{{#!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]
}
}}}


== test ==
{{{#!fdp
digraph G {
    node [style=filled, fillcolor=white]
    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='']
    Experiment [URL='']
    Feature [URL='']
    Organism [URL='']
    Gene [URL='']

    User [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