欧卡2中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

需要三步,才能开始

只需两步,慢速开始

欧卡2入门方向盘选莱仕达V9莱仕达折叠便携游戏方向盘支架欢迎地图Mod入驻
12
返回列表 发新帖
楼主: 知行
收起左侧

[工具] graphviz图集

[复制链接]
 楼主| 知行 发表于 2015-6-10 21:16 | 显示全部楼层


superplot

/* courtesy Ian Darwin and Geoff Collyer, Softquad Inc. */
digraph unix {
        size="6,6";
        node [color=lightblue2, style=filled];
        "5th Edition" -> "6th Edition";
        "5th Edition" -> "PWB 1.0";
        "6th Edition" -> "LSX";
        "6th Edition" -> "1 BSD";
        "6th Edition" -> "Mini Unix";
        "6th Edition" -> "Wollongong";
        "6th Edition" -> "Interdata";
        "Interdata" -> "Unix/TS 3.0";
        "Interdata" -> "PWB 2.0";
        "Interdata" -> "7th Edition";
        "7th Edition" -> "8th Edition";
        "7th Edition" -> "32V";
        "7th Edition" -> "V7M";
        "7th Edition" -> "Ultrix-11";
        "7th Edition" -> "Xenix";
        "7th Edition" -> "UniPlus+";
        "V7M" -> "Ultrix-11";
        "8th Edition" -> "9th Edition";
        "1 BSD" -> "2 BSD";
        "2 BSD" -> "2.8 BSD";
        "2.8 BSD" -> "Ultrix-11";
        "2.8 BSD" -> "2.9 BSD";
        "32V" -> "3 BSD";
        "3 BSD" -> "4 BSD";
        "4 BSD" -> "4.1 BSD";
        "4.1 BSD" -> "4.2 BSD";
        "4.1 BSD" -> "2.8 BSD";
        "4.1 BSD" -> "8th Edition";
        "4.2 BSD" -> "4.3 BSD";
        "4.2 BSD" -> "Ultrix-32";
        "PWB 1.0" -> "PWB 1.2";
        "PWB 1.0" -> "USG 1.0";
        "PWB 1.2" -> "PWB 2.0";
        "USG 1.0" -> "CB Unix 1";
        "USG 1.0" -> "USG 2.0";
        "CB Unix 1" -> "CB Unix 2";
        "CB Unix 2" -> "CB Unix 3";
        "CB Unix 3" -> "Unix/TS++";
        "CB Unix 3" -> "PDP-11 Sys V";
        "USG 2.0" -> "USG 3.0";
        "USG 3.0" -> "Unix/TS 3.0";
        "PWB 2.0" -> "Unix/TS 3.0";
        "Unix/TS 1.0" -> "Unix/TS 3.0";
        "Unix/TS 3.0" -> "TS 4.0";
        "Unix/TS++" -> "TS 4.0";
        "CB Unix 3" -> "TS 4.0";
        "TS 4.0" -> "System V.0";
        "System V.0" -> "System V.2";
        "System V.2" -> "System V.3";
}
 楼主| 知行 发表于 2015-6-10 23:20 | 显示全部楼层


superplot
digraph world {
size="17,17";
        {rank=same; S8 S24 S1 S35 S30;}
        {rank=same; T8 T24 T1 T35 T30;}
        {rank=same; 43 37 36 10 2;}
        {rank=same; 25 9 38 40 13 17 12 18;}
        {rank=same; 26 42 11 3 33 19 39 14 16;}
        {rank=same; 4 31 34 21 41 28 20;}
        {rank=same; 27 5 22 32 29 15;}
        {rank=same; 6 23;}
        {rank=same; 7;}

        S8 -> 9;
        S24 -> 25;
        S24 -> 27;
        S1 -> 2;
        S1 -> 10;
        S35 -> 43;
        S35 -> 36;
        S30 -> 31;
        S30 -> 33;
        9 -> 42;
        9 -> T1;
        25 -> T1;
        25 -> 26;
        27 -> T24;
        2 -> {3 ; 16 ; 17 ; T1 ; 18}
        10 -> { 11 ; 14 ; T1 ; 13; 12;}
        31 -> T1;
        31 -> 32;
        33 -> T30;
        33 -> 34;
        42 -> 4;
        26 -> 4;
        3 -> 4;
        16 -> 15;
        17 -> 19;
        18 -> 29;
        11 -> 4;
        14 -> 15;
        37 -> {39 ; 41 ; 38 ; 40;}
        13 -> 19;
        12 -> 29;
        43 -> 38;
        43 -> 40;
        36 -> 19;
        32 -> 23;
        34 -> 29;
        39 -> 15;
        41 -> 29;
        38 -> 4;
        40 -> 19;
        4 -> 5;
        19 -> {21 ; 20 ; 28;}
        5 -> {6 ; T35 ; 23;}
        21 -> 22;
        20 -> 15;
        28 -> 29;
        6 -> 7;
        15 -> T1;
        22 -> T35;
        22 -> 23;
        29 -> T30;
        7 -> T8;
        23 -> T24;
        23 -> T1;
}
 楼主| 知行 发表于 2015-6-19 20:48 | 显示全部楼层


superplot
graph ER {
        node [shape=box]; course; institute; student;
        node [shape=ellipse]; {node [label="name"] name0; name1; name2;}
                code; grade; number;
        node [shape=diamond,style=filled,color=lightgrey]; "C-I"; "S-C"; "S-I";

        name0 -- course;
        code -- course;
        course -- "C-I" [label="n",len=1.00];
        "C-I" -- institute [label="1",len=1.00];
        institute -- name1;
        institute -- "S-I" [label="1",len=1.00];
        "S-I" -- student [label="n",len=1.00];
        student -- grade;
        student -- name2;
        student -- number;
        student -- "S-C" [label="m",len=1.00];
        "S-C" -- course [label="n",len=1.00];

        label = "\n\nEntity Relation Diagram\ndrawn by NEATO";
        fontsize=20;
}
xlyg 发表于 2016-3-23 12:26 | 显示全部楼层


superplot


代码:
digraph {
  "A" [shape="circle"];
  "B" [shape="rectangle"];
  "C" [shape="diamond"];
 
  "A" -> "B" [label="A to B"];
  "B" -> "C" [label="B to C"];
  "A" -> "C" [label="A to C"];
}
 楼主| 知行 发表于 2017-6-11 18:40 | 显示全部楼层


superplot
digraph PhiloDilemma {
node [shape=box];  bec3; rel3; bec2; rel2; acq2; acq3; bec1; rel1; acq1;
node [shape=circle,fixedsize=true,width=0.9];  hu3; th3; ri3; ea3; hu2; th2; ri2; ea2; hu1; th1; ri1; ea1;
ri3->acq2;
ri3->acq3;
hu3->acq3;
bec3->hu3;
th3->bec3;
rel3->th3;
rel3->ri3;
ea3->rel3;
acq3->ea3;
ri2->acq1;
ri2->acq2;
hu2->acq2;
bec2->hu2;
th2->bec2;
rel2->th2;
rel2->ri2;
ea2->rel2;
acq2->ea2;
ri1->acq3;
ri1->acq1;
hu1->acq1;
bec1->hu1;
th1->bec1;
rel1->th1;
rel1->ri1;
ea1->rel1;
acq1->ea1;

overlap=false
label="PetriNet Model PhiloDilemma\nExtracted from ConceptBase and layed out by Graphviz "
fontsize=12;
}
 楼主| 知行 发表于 2017-6-11 18:41 | 显示全部楼层


superplot

graph G {
        run -- intr;
        intr -- runbl;
        runbl -- run;
        run -- kernel;
        kernel -- zombie;
        kernel -- sleep;
        kernel -- runmem;
        sleep -- swap;
        swap -- runswap;
        runswap -- new;
        runswap -- runmem;
        new -- runmem;
        sleep -- runmem;
}
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们|手机版|欧卡2中国 ( 湘ICP备11020288号-1 )

GMT+8, 2024-11-25 09:35 , Processed in 0.087900 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表