# Routers
r1 [
- shape=octagon,
+ shape=doubleoctagon,
label="r1",
+ fillcolor="#f08080",
+ style=filled,
];
r2 [
- shape=octagon
+ shape=doubleoctagon,
label="r2",
+ fillcolor="#f08080",
+ style=filled,
];
# Switches
s1 [
- shape=box,
+ shape=oval,
label="s1\n192.168.0.0/24",
+ fillcolor="#d0e0d0",
+ style=filled,
];
s2 [
- shape=box,
+ shape=oval,
label="s2\n192.168.1.0/24",
+ fillcolor="#d0e0d0",
+ style=filled,
];
# Connections
+## Color coding:
+#########################
+## Main FRR: #f08080 red
+## Switches: #d0e0d0 gray
+## RIP: #19e3d9 Cyan
+## RIPng: #fcb314 dark yellow
+## OSPFv2: #32b835 Green
+## OSPFv3: #19e3d9 Cyan
+## ISIS IPv4 #fcb314 dark yellow
+## ISIS IPv6 #9a81ec purple
+## BGP IPv4 #eee3d3 beige
+## BGP IPv6 #fdff00 yellow
+##### Colors (see http://www.color-hex.com/)
+
graph template {
label="template";
# Routers
r1 [
- shape=octagon,
+ shape=doubleoctagon,
label="r1",
+ fillcolor="#f08080",
+ style=filled,
];
r2 [
- shape=octagon
+ shape=doubleoctagon
label="r2",
+ fillcolor="#f08080",
+ style=filled,
];
# Switches
s1 [
- shape=box,
+ shape=oval,
label="s1\n192.168.0.0/24",
+ fillcolor="#d0e0d0",
+ style=filled,
];
s2 [
- shape=box,
+ shape=oval,
label="s2\n192.168.1.0/24",
+ fillcolor="#d0e0d0",
+ style=filled,
];
# Connections