10. 応用例: VXI11 の発展# graphvizで作成した、VXI11規約とその他の規約との関係をしめした図を、 PlantUMLで書き直して見ました。 digraph VXI11 { graph[page="8,3"] node [shape=rect] edge [samehead=false] HPIB [label="HP-IB"] GPIB [label="GP-IB"] IEEE488 [label="IEEE-488"] IEEE488_1 [label="IEEE-488-1"] IEEE488_2 [label="IEEE-488-2"] USB SCPI USBTMC USBTMC_ [shape=point label="" height=0] ONCRPC [label="ONC-RPC"] VXI11 VXI11_1 [label="VXI11-1"] VXI11_2 [label="VXI11-2"] VXI11_3 [label="VXI11-3"] VXI11_1_ [shape=point height=0 label=""] VXI11_2_ [shape=point height=0 label=""] VXI11_3_ [shape=point height=0 label=""] VXI11_1_ -> VXI11_1 VXI11_2_ -> VXI11_2 VXI11_3_ -> VXI11_3 VME VXI HPIB -> GPIB -> IEEE488 -> {IEEE488_1 IEEE488_2} ONCRPC -> VXI11 VME -> VXI VXI -> VXI11_1_ [arrowhead=none weight=2] VXI11 -> VXI11_1_ [arrowhead=none weight=2] IEEE488_1 -> VXI11_2_ [arrowhead=none weight=2] VXI11 -> VXI11_2_ [arrowhead=none weight=2] VXI11 -> VXI11_3_ [arrowhead=none weight=2] IEEE488_2 -> VXI11_3_ [arrowhead=none weight=2] {rank=same VXI11_1_ VXI11_2_ VXI11_3_ USBTMC_ } IEEE488_2 -> SCPI -> USBTMC_ [arrowhead=none weight=3] USB ->USBTMC_ [arrowhead=none weight=3] USBTMC_ -> USBTMC {rank=same HPIB ONCRPC VME} {rank=same USB IEEE488 VXI} {rank=same IEEE488_1 IEEE488_2 VXI11} {rank=same USBTMC VXI11_1 VXI11_2 VXI11_3} } 図 10.1 graphviz による# digraph VXI11 { graph[page="8,3"] node [shape=rect] edge [samehead=false] HPIB [label="HP-IB"] GPIB [label="GP-IB"] IEEE488 [label="IEEE-488"] IEEE488_1 [label="IEEE-488-1"] IEEE488_2 [label="IEEE-488-2"] USB SCPI USBTMC ONCRPC [label="ONC-RPC"] VXI11 VXI11_1 [label="VXI11-1"] VXI11_2 [label="VXI11-2"] VXI11_3 [label="VXI11-3"] VME VXI HPIB -> GPIB -> IEEE488 -> {IEEE488_1 IEEE488_2} ONCRPC -> VXI11 VME -> VXI VXI -> VXI11_1 VXI11 -> VXI11_1 IEEE488_1 -> VXI11_2 VXI11 -> VXI11_2 VXI11 -> VXI11_3 IEEE488_2 -> VXI11_3 IEEE488_2 -> SCPI -> USBTMC USB ->USBTMC {rank=same HPIB ONCRPC VME} {rank=same USB IEEE488 VXI} {rank=same IEEE488_1 IEEE488_2 VXI11} {rank=same USBTMC VXI11_1 VXI11_2 VXI11_3} } 図 10.2 graphviz による# 図 10.3 plantUML/コンポーネント図 による 表示( stereotype <<>> を使って、種類ごとに色をかえています。)#