'Download plantuml from http://plantuml.sourceforge.net/ 'Generate png with java -jar plantuml.jar <file> 'Output in img/<module>.png 'If Java spits out memory error increase heap size with java -Xmx1024m -jar plantuml.jar <file> @startuml img/topology.png hide empty fields hide empty methods hide <<case>> circle hide <<augment>> circle hide <<choice>> circle hide <<leafref>> stereotype hide <<leafref>> circle page 1x1 Title topology note top of topology_topology : <b>Namespace: </b> urn:topology \n<b>Prefix: </b> topology \n<b>Organization : </b>\nCTTC \n<b>Contact : </b>\nricard.vilalta@cttc.es \n<b>Revision : </b> 2018-08-24 \n package "topology:topology" as topology_topology { class "topology" as topology << (M, #33CCFF) module>> enum "layer-protocol-name" as topology_I_layer_protocol_name { ETH OPTICAL } class "port" as topology_I_port_grouping <<(G,Lime) grouping>> topology_I_port_grouping : port-id : string topology_I_port_grouping : layer-protocol-name : layer-protocol-name class "node" as topology_I_node_grouping <<(G,Lime) grouping>> topology_I_node_grouping : node-id : string class "port" as topology_I_node_I_port << (L, #FF7700) list>> topology_I_node_grouping *-- "0..N" topology_I_node_I_port topology_I_node_I_port : port {uses} class "link" as topology_I_link_grouping <<(G,Lime) grouping>> topology_I_link_grouping : link-id : string topology_I_link_grouping : source-node : leafref : /topology/node/node-id topology_I_link_grouping : target-node : leafref : /topology/node/node-id topology_I_link_grouping : source-port : leafref : /topology/node/port/port-id topology_I_link_grouping : target-port : leafref : /topology/node/port/port-id class "topology" as topology_I_topology_grouping <<(G,Lime) grouping>> class "node" as topology_I_topology_I_node << (L, #FF7700) list>> topology_I_topology_grouping *-- "0..N" topology_I_topology_I_node topology_I_topology_I_node : node {uses} class "link" as topology_I_topology_I_link << (L, #FF7700) list>> topology_I_topology_grouping *-- "0..N" topology_I_topology_I_link topology_I_topology_I_link : link {uses} class "topology" as topology_I_topology <<container>> topology *-- "1" topology_I_topology topology_I_topology : topology {uses} } topology_I_node_I_port --> topology_I_port_grouping : uses topology_I_topology_I_node --> topology_I_node_grouping : uses topology_I_topology_I_link --> topology_I_link_grouping : uses topology_I_topology --> topology_I_topology_grouping : uses center footer <size:20> UML Generated : 2022-10-10 17:35 </size> endfooter @enduml