Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2010-04-08 04:09:58
Size: 3246
Editor: ZoomQuiet
Comment:
Revision 7 as of 2010-04-08 04:43:05
Size: 2645
Editor: ZoomQuiet
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Line 6: Line 5:
    graph [label=".dot图例-元素约定",
        labeljust="l",labelloc="t",center=1,
        ranksep=0.2,ratio=compress,
    graph [label="大妈书选题分析图谱\n {by Zoom.Quiet}",
        labeljust="r",labelloc="b",center=1,
        ranksep=0.2,center=1,ratio=compress,
Line 12: Line 11:
    node[fontsize=10.0,
        
height=0.1,
    node[fontsize=10.0,height=0.1,
Line 16: Line 14:
        shape=plaintext,         shape=tab,
Line 20: Line 18:
        fontcolor=gray25,
Line 21: Line 20:
  arrowsize=0.5,arrowhead=vee,arrowtail=none,
Line 23: Line 23:
    /*图元声明*/
    start [label="流程开始/结束",shape=point];
    /*图元声明
     start [label="流程开始/结束",shape=point];
Line 36: Line 36:
    */
Line 37: Line 38:
    /*图例关系*/     core [label="核心主题",shape=egg];
    life [label="生存故事"];
        step0 [label="幼年环境"];
        step1 [label="少年心智"];
        step2 [label="大学自立"];
        step3 [label="社会态度"];
    tech [label="技术故事"];
        job [label="工作机会"];
        asp [label="asp"];
        php [label="php"];
        py [label="python"];
            zope [label="zope"];
            plone [label="plone"];
            karrigell [label="karrigell"];
            web2py [label="web2py"];
    pkm [label="知识管理"];
        paper [label="纸"];
        page [label="页面"];
        scrap [label="ScrapBook"];
        sns [label="SNS"];
        gtd [label="GTD"];
    /*图例关系
    ksso2->ksso [arrowtail=none,arrowhead=none,style=dashed]
    proxy->staff->pg [arrowtail=normal];
    s904->staff [arrowhead=dot];
    */
    core->tech->life;
    pkm->tech;
    pkm->life;
        pkm->paper->page->scrap->sns;
        pkm->gtd->paper;
        
    life->step0->step1->step2->step3;
        paper->step0;
        paper->step1;
        paper->step3;
                
    tech->job;
        job->asp->php->py;
        py->zope->plone->karrigell->web2py;
        
        sns->py;
Line 43: Line 85:
##在这里详述 GraphVizForMoin/DotLegend/BaseFlow.
{{{#!dot dot
digraph G {

    /*全局设定*/
    graph [label=".dot图例-元素组合表达示例",
        labeljust="r",labelloc="t",center=1,
        ranksep=0.2,ratio=compress,
        rankdir=TB,
        ];

    node[fontsize=10.0,
        height=0.1,
        style=filled,fillcolor=snow,
        color=darkolivegreen,fontcolor=darkolivegreen,
        shape=plaintext,
        ];

    edge [fontsize=9.0,fontcolor=yellowgreen,
        color=gray30,
        ];

    /*图元声明*/
    start [label="流程开始/结束",shape=point];
    end [label="",shape=doublecircle,fillcolor=red];

    login [label="登录",shape=box];
    alert [label="提示\n错误",shape=box];
    PPCC [label="PPCC",shape=box];

    act1 [label="act1",shape=ellipse];
    act2 [label="act2",shape=ellipse];

    user [label="staff\nuser",shape=egg];

    tracstage [label="传票:\nstage=try",shape=plaintext,fillcolor=whitesmoke];

    ksso [label="KSSO",shape=diamond];

    ksso2 [label="KSSO将升级到\n KSSO2",shape=note];

    proxy [label="反向代理",shape=component];
    staff [label="Staff主机",shape=component];
    squery [label="suery\nKSSO查询接口",shape=tab];
    s904 [label="Staff9.04实例",shape=tab];
    s906 [label="Staff9.06实例",shape=tab];
    pg [label="pg数据仓库",shape=box3d];
    
    /*图例关系*/
    
    start->act1 [label="流程开始"];
    act1->tracstage->act2;
    act2->end [label="流程结束"];
    
    user->login->ksso->alert;ksso->PPCC;
    ksso2->ksso [arrowtail=none,arrowhead=none,style=dashed]
    
    proxy->staff->pg [arrowtail=normal];
    s904->staff [arrowhead=dot];
    s906->staff [arrowhead=dot];
    squery->staff [arrowhead=dot];
}

}}}

ZoomQuiet/book/MappIng (last edited 2011-05-25 03:56:23 by ZoomQuiet)