Graphviz 一些簡單的例子(未完待續)

2022-08-22 03:33:11 字數 854 閱讀 1511

digraph g

digraph g                        //這條語句一次連了兩條線

init -> make_string;

edge[color=red]; //so is this //把邊的預設顏色設為了red

main -> printf [style=bold,label="100 times"]; //label就是在邊上寫了一行字

make_string [label="make a\nstring"]; //讓make_string變成了乙個兩行的字串(注意其中的\n)

node [shape=box,style=filled,color="0.7 .3 1.0"]; //設定了點的預設引數,藍色,被用在了compare中

execute -> compare;

}

digraph html

digraph g
digraph a
digraph structs |f}|g|h"];

struct1 -> struct2;

struct1 -> struct3;

}

graph a
digraph html
digraph html

oracle函式的一些簡單例子

數值型函式 select ceil 12.3 from dual 大於或等於n的最小整數 select floor 12.3 from dual 小於等於n的最大整數 select mod 15,2 from dual 取餘 select power 2,4 from dual 2的4次方 sele...

crontab 的一些例子

1.這個可以的,bi weekly的task 00 08 3 home user user.script 然後在script的開始寫上 if expr date w 2 0 then exit fi2.每個月第一周的週三 bin bash date date d if date le 7 then ...

oracle函式 儲存過程一些簡單例子

區別 1.返回值的區別,函式有1個返回值,而儲存過程是通過引數返回的,可以有多個或者沒有 2.呼叫的區別,函式可以在查詢語句中直接呼叫,而儲存過程必須單獨呼叫.函式一般情況下是用來計算並返回乙個計算結果而儲存過程一般是用來完成特定的資料操作 比如修改 插入資料庫表或執行某些ddl語句等等 例子 游標...