![Alt text](http://g.gravizo.com/svg? @startuml; actor User; participant “First Class” as A; participant “Second Class” as B; participant “Last Class” as C; User -> A: DoWork; activate A; A -> B: Create Request; activate B; B -> C: DoWork; activate C; C –> B: WorkDone; destroy C; B –> A: Request Created; deactivate B; A –> User: Done; deactivate A; @enduml )
![](http://g.gravizo.com/svg? @startuml; actor User; participant “问诊管理” as A; participant “疾病推理” as B; participant “图数据库” as C;
User -> A: 输入症状;
activate A;
A -> B: 输入症状群;
activate B;
B -> C: 获得图节点权重;
activate C;
C --> B: 返回;
deactivate C;
B --> A: 返回;
deactivate B;
A --> User: 完成;
deactivate A;
@enduml )
画 graph
![Alt text](http://g.gravizo.com/svg?
digraph G {
aize ="4,4";
main [shape=box];
main -> parse [weight=8];
parse -> execute;
main -> init [style=dotted];
main -> cleanup;
execute -> { make_string; printf}
init -> make_string;
edge [color=red];
main -> printf [style=bold,label="100 times"];
make_string [label="make a string"];
node [shape=box,style=filled,color=".7 .3 1.0"];
execute -> compare;
}
)
画 staruml 类图
<img src='http://g.gravizo.com/g?
/**
*Structural Things
*@opt commentname
*@note Notes can
*be extended to
*span multiple lines
*/
class Structural{}
/**
*@opt all
*@note Class
*/
class Counter extends Structural {
static public int counter;
public int getCounter%28%29;
}
/**
*@opt shape activeclass
*@opt all
*@note Active Class
*/
class RunningCounter extends Counter{}
'>