digraph sample {
label="高貴的最古老的布萊克家族\n永遠純淨";
labelloc=t;
edge [dir=none];
"Sirius\n1845-1853";
"Phineas\nNigellus\n1847-1926" -> {"Sirius\n1877-1952"; 2 [shape=egg, style = filled, fillcolor = "gray80"]; "Cyguns\n1889-1943"; "Belvina\n1886-1962"; "Arcturus\n1884-1959";}
/*"Phineas\nNigellus\n1847-1926" -> "Violetta\nBulstrode" [style="setlinewidth(0)"];
"Phineas\nNigellus\n1847-1926" -> "Lysandra\nYaxley" [style="setlinewidth(0)"];
"Ursula\nFlint" -> {"Sirius\n1877-1952"; 2; "Cyguns\n1889-1943"; "Belvina\n1886-1962"; "Arcturus\n1884-1959";}
"Phineas\nNigellus\n1847-1926" -> "Ursula\nFlint";
{rank=same; "Phineas\nNigellus\n1847-1926"; "Ursula\nFlint";}*/
"Elladora\n1850-1931";
1 [shape=egg, style = filled, fillcolor = "gray80"];
"Sirius\n1877-1952" -> {"Arcturus\n1901-1991"; "Lycoris\n1904-1965"; "Regulus\n1906-1959";}
/*"Hesper\nGamp" -> {"Arcturus\n1901-1991"; "Lycoris\n1904-1965"; "Regulus\n1906-1959";}
"Sirius\n1877-1952" -> "Hesper\nGamp";
{rank=same; "Sirius\n1877-1952"; "Hesper\nGamp";}*/
"Cyguns\n1889-1943" -> {"Pollux\n1912-1990"; "Cassiopeia\n1915-1992"; 3 [shape=egg, style = filled, fillcolor = "gray80"]; "Dorea\n1920-1977";}
/*"Violetta\nBulstrode" -> {"Pollux\n1912-1990"; "Cassiopeia\n1915-1992"; 3; "Dorea\n1920-1977";}
"Cyguns\n1889-1943" -> "Violetta\nBulstrode";
{rank=same; "Cyguns\n1889-1943"; "Violetta\nBulstrode";}*/
"Belvina\n1886-1962" -> "2子1女";
/*"Herbert\nBurke" -> "2子1女";
"Belvina\n1886-1962" -> "Herbert\nBurke";
{rank=same; "Belvina\n1886-1962"; "Herbert\nBurke";}*/
"Arcturus\n1884-1959" -> {"Callidora\n1915-"; 4 [shape=egg, style = filled, fillcolor = "gray80"]; "Charis\n1919-1973";}
/*"Lysandra\nYaxley" -> {"Callidora\n1915-"; 4; "Charis\n1919-1973";}
"Arcturus\n1884-1959" -> "Lysandra\nYaxley";
{rank=same; "Arcturus\n1884-1959"; "Lysandra\nYaxley";}*/
"Arcturus\n1901-1991" -> {"Lucretia\n1925-1992"; "Orion\n1929-1979";}
/*"Arcturus\n1901-1991" -> "Ignatius\nPrewett" [style="setlinewidth(0)"];
"Melania\nMacMillan" -> {"Lucretia\n1925-1992"; "Orion\n1929-1979";}
"Arcturus\n1901-1991" -> "Melania\nMacMillan";
{rank=same; "Arcturus\n1901-1991"; "Melania\nMacMillan";}*/
"Pollux\n1912-1990" -> {"Walburga\n1925-1985"; 5 [shape=egg, style = filled, fillcolor = "gray80"]; "Cyguns\n1938-1992";}
/*"Irma\nCrabbe" -> {"Walburga\n1925-1985"; 5; "Cyguns\n1938-1992";}
"Pollux\n1912-1990" -> "Irma\nCrabbe";
{rank=same; "Pollux\n1912-1990"; "Irma\nCrabbe";}*/
"Dorea\n1920-1977" -> "1子1";
/*"Charlus\nPotter" -> "1子1";
"Dorea\n1920-1977" -> "Charlus\nPotter";
{rank=same; "Dorea\n1920-1977"; "Charlus\nPotter";}*/
"1子1" [label="1子"];
"Callidora\n1915-" -> "1子1女";
/*"Harfang\nLongbottom" -> "1子1女";
"Callidora\n1915-" -> "Harfang\nLongbottom";
{rank=same; "Callidora\n1915-"; "Harfang\nLongbottom";}*/
"Charis\n1919-1973" -> "1子2女";
/*"Casper\nCrouch" -> "1子2女";
"Charis\n1919-1973" -> "Casper\nCrouch";
{rank=same; "Charis\n1919-1973"; "Casper\nCrouch";}
/*"Lucretia\n1925-1992" -> "Ignatius\nPrewett";
{rank=same; "Lucretia\n1925-1992"; "Ignatius\nPrewett";}*/
"Orion\n1929-1979" -> {6 [shape=egg, style = filled, fillcolor = "gray80"]; "Regulus\n1961-1979";}
// "Walburga\n1925-1985" -> {6; "Regulus\n1961-1979";}
"Orion\n1929-1979" -> "Walburga\n1925-1985";
{rank=same; "Orion\n1929-1979"; "Walburga\n1925-1985";}
"Cyguns\n1938-1992" -> {"Bellatrix\n1951-"; 7 [shape=egg, style = filled, fillcolor = "gray80"]; "Narcissa\n1955-";}
/*"Druella\nRosier" -> {"Bellatrix\n1951-"; 7; "Narcissa\n1955-";}
"Cyguns\n1938-1992" -> "Druella\nRosier";
{rank=same; "Cyguns\n1938-1992"; "Druella\nRosier";}*/
"Narcissa\n1955-" -> "1子2";
/*"Lucius\nMalfoy" -> "1子2";
"Narcissa\n1955-" -> "Lucius\nMalfoy";
{rank=same; "Narcissa\n1955-"; "Lucius\nMalfoy";}*/
"1子2" [label="1子"];
}
http://images.google.com.tw/imgres?imgurl=http://www.antlr.org/wiki/download/attachments/5341314/b.ast.png&imgrefurl=http://www.antlr.org/wiki/display/CS652/Parsing%2BGraphviz%2BDOT%2Bfiles%2Bthe%2Bhard%2Bway&usg=__-Lx6dTIb2vTCzQSId4H6qDFEFWs=&h=280&w=646&sz=8&hl=zh-TW&start=895&um=1&tbnid=pbC5M6e_pQIfPM:&tbnh=59&tbnw=137&prev=/images%3Fq%3Dgraphviz%26ndsp%3D18%26hl%3Dzh-TW%26rlz%3D1B3GPMD_zh-TWTW319TW322%26sa%3DN%26start%3D882%26um%3D1
0 意見 to 布萊克家:
張貼留言