graphviz HTML 表

@[TOC] graphviz 结构图

添加链接描述

digraph G {

label = "Example.com Network"
labelloc = top;
node [shape=record];
edge [dir=both];

subgraph cluster_0 {
    label = "gw.example.com";

    eth0 [label=<
        
eth0
IP: 172.16.0.1
Mask: 255.255.255.0
>]; eth1 [label=<
eth1
IP: 10.0.0.1
Mask: 255.255.255.0
>]; eth2 [label=<
eth2
IP: 192.168.0.1
Mask: 255.255.255.0
>]; } subgraph cluster_1 { label = Internet; labelloc = bottom; InternetGW [label=<
ISP
IP: 10.0.0.254
>]; } subgraph cluster_2 { label = Telephony; labelloc = bottom; TelephonyGW [label=<
Telecom
IP: 192.168.0.254
>]; } subgraph cluster_3 { label = LAN; labelloc = bottom; sw1 [label=<
switch1.example.com
IP: 172.16.0.2
>]; sw2 [label=<
switch2.example.com
IP: 172.16.0.3
>]; ap1 [label=<
wifi1.example.com
IP: 172.16.0.4
>]; ap2 [label=<
wifi2.example.com
IP: 172.16.0.5
>]; sw1 -> sw2; sw2 -> ap1; sw2 -> ap2; } eth0 -> sw1; eth1 -> InternetGW; eth2 -> TelephonyGW;

}

你可能感兴趣的:(graphviz HTML 表)