graph pmlan { rankdir=LR; nodesep=0.3; { node [shape=box] Cisco_2950_24 HP_2524_f HP_2524_m HP_2124 s3Com_4200 Cisco_2950_12 NG_GS108T } subgraph cluster_gamer { label="Table gamers"; HP_2524_f [ label="HP 2524 (M)\n24*100\nTable 1"]; HP_2524_m [ label="HP 2524 (M)\n24*100\nTable 2"]; } subgraph cluster_admin { label="Admins"; Cisco_2950_24 [ label="Cisco 2950 (M)\n24*100"]; NG_GS108T [ label="Netgear GS108T (M)\n8*1000"]; s3Com_4200 [ label="3Com 4200 (M)\n48*100 + 2*1000"]; SRV [ label="Servers" shape="diamond"]; } subgraph cluster_workshop { label="Workshop"; Cisco_2950_12 [ label="Cisco 2950\n12*100"]; } subgraph cluster_lounge { label="Lounge + Bar"; HP_2124 [ label="HP 2124\n24*100"]; GWf [ label="Gateway" shape="diamond"]; Internet; } { edge [ color="#000000:#000000:#CCCCCC:#CCCCCC" label="trunk\n4*100M" fontsize=8 minlen=2] Cisco_2950_24 -- HP_2524_m; Cisco_2950_24 -- HP_2524_f; Cisco_2950_24 -- NG_GS108T; } { edge [ color="blue" label="100" fontsize=8] HP_2524_f -- HP_2124; Cisco_2950_24 -- Cisco_2950_12; GWf -- HP_2124; } { edge [ color="black" label="15" fontsize=8 ] GWf -- Internet } { edge [ color="red" label="1000" fontsize=8] SRV -- NG_GS108T [ label="n*1000" ]; s3Com_4200 -- NG_GS108T; } }