weathermap |
Subversion Repositories: |
Compare with Previous - Blame - Download
WIDTH 1024
HEIGHT 768
BGCOLOR 192 192 192
TITLE Test Suite 1 - Nodes
HTMLOUTPUTFILE suite-1.html
IMAGEOUTPUTFILE suite-1.png
FONTDEFINE 10 VeraBd 20
FONTDEFINE 20 VeraIt 10
FONTDEFINE 30 fonts/Flareserif821BT 20
FONTDEFINE 40 fonts/almosnow.gdf
FONTDEFINE 50 fonts/NewsGothicMT 16
FONTDEFINE 60 fonts/GillSans 16
FONTDEFINE 70 fonts/Bedrock 26
FONTDEFINE 170 fonts/GillSans 10
# define a scale that leaves the nodes alone
SCALE plain 0 100 255 255 255
SCALE updown 0 0.9 255 0 0
SCALE updown 0.9 1.9 255 255 0
SCALE updown 1.9 2.9 0 255 0
NODE DEFAULT
LABEL {node:this:name}
ICON images/my_router.png
NODE node1
POSITION 100 100
NODE node2
POSITION 200 100
LABELOFFSET N
NODE node3
POSITION 300 100
LABELOFFSET S
NODE node4
POSITION 350 100
LABELOFFSET E
NODE node5
POSITION 500 100
LABELOFFSET W
NODE node6
POSITION 550 100
LABELOFFSET 20 20
########
NODE node11
ICON images/IP-gimp.png
POSITION 100 200
LABELBGCOLOR none
LABELOUTLINECOLOR none
LABELFONTCOLOR 255 255 255
NODE node12
POSITION 200 200
LABELOFFSET N
LABELBGCOLOR 255 0 0
LABELFONTCOLOR 255 255 0
LABELOUTLINECOLOR 0 255 0
NODE node13
POSITION 300 200
LABELOFFSET S
LABELOUTLINECOLOR 0 0 255
NODE node14
POSITION 350 200
LABELOFFSET E
LABELFONT 4
NODE node15
POSITION 500 200
LABELOFFSET W
LABELFONT 1
NODE node16
POSITION 550 200
LABELBGCOLOR none
LABELOFFSET 20 20
########
NODE font1
POSITION 650 100
LABELFONT 1
ICON none
NODE font2
POSITION 650 150
LABELFONT 2
ICON none
NODE font3
POSITION 650 200
LABELFONT 3
ICON none
NODE font4
POSITION 650 250
LABELFONT 4
ICON none
NODE font5
POSITION 650 300
LABELFONT 5
ICON none
########
NODE tfont1
POSITION 800 100
LABELFONT 10
LABEL VeraBold
ICON none
NODE tfont2
POSITION 800 150
LABELFONT 20
LABEL VeraItalic
ICON none
NODE tfont3
POSITION 800 200
LABELFONT 30
LABEL FlareSerif821
ICON none
NODE tfont4
POSITION 850 250
LABELFONT 40
LABEL Almost Snow
ICON none
NODE tfont5
POSITION 800 300
LABELFONT 50
LABEL NewsGothicMT
ICON none
NODE tfont6
POSITION 800 350
LABELFONT 60
LABEL GillSans
ICON none
NODE tfont7
POSITION 800 400
LABELFONT 70
LABEL Bedrock
ICON none
########
NODE scaleup
POSITION 200 650
ICON 100 100 images/my_router.png
NODE scaledown
POSITION 400 650
ICON 100 100 images/bw_gradient_1024.png
NODE scaledown2
POSITION 600 650
ICON 100 100 suite-2.png
LABELOFFSET N
LABELFONT 170
LABELBGCOLOR none
LABELOUTLINECOLOR none
INFOURL suite-2.html
NODE scalenote
POSITION scaledown 0 50
ICON none
LABELFONT 170
LABELBGCOLOR none
LABELOUTLINECOLOR none
LABEL The icons for these three nodes were scaled to fit
#############
NODE node311
POSITION 150 300
TARGET static:10:22
USESCALE plain
NODE node311a
POSITION node311 0 30
ICON none
LABELFONT 2
LABEL subnode of node311 ({node:this:x},{node:this:y})
LABELBGCOLOR none
LABELOUTLINECOLOR none
NODE node311aa
POSITION node311a 0 14
ICON none
LABELFONT 2
LABELBGCOLOR none
LABELOUTLINECOLOR none
LABEL subnode of node311a ({node:this:x},{node:this:y})
NODE node311aaa
POSITION node311aa 0 14
ICON none
LABELFONT 170
LABELBGCOLOR none
LABELOUTLINECOLOR none
LABEL Can be any font, and contain data - {node:node311:bandwidth_in:%2.4f} leases
NODE node311aaaa
POSITION node311aaa 0 14
ICON none
LABELFONT 170
LABELBGCOLOR none
LABELOUTLINECOLOR none
LABEL also {node:node311:bandwidth_out} maximum (in another subnode)
NODE node311b
POSITION node311 -60 0
LABEL subnode2
ICON none
LABELFONT 1
NODE node311c
POSITION node311 60 0
LABEL subnode3
ICON none
LABELFONT 1
NODE node311d
POSITION node311 0 -30
LABEL subnode4
ICON none
LABELFONT 1
#####################3
NODE node411
POSITION 150 450
TARGET static:0:0
USESCALE updown
ICON none
NODE node412
POSITION 250 450
TARGET static:1:1
USESCALE updown
ICON none
NODE node413
POSITION 350 450
TARGET static:2:2
USESCALE updown
ICON none
NODE note412
POSITION node412 0 30
LABEL These nodes are using a special SCALE and TARGET to show up/down status
ICON none
LABELFONT 170
LABELBGCOLOR none
LABELOUTLINECOLOR none
#####################3
NODE node511
POSITION 150 520
TARGET static:0:0
USESCALE plain
ICON images/updown_{node:this:bandwidth_in}.png
LABELOFFSET S
LABELBGCOLOR none
LABELOUTLINECOLOR none
NODE node512
POSITION 250 520
TARGET static:1:1
USESCALE plain
ICON images/updown_{node:this:bandwidth_in}.png
LABELOFFSET S
LABELBGCOLOR none
LABELOUTLINECOLOR none
NODE node513
POSITION 350 520
TARGET static:2:2
USESCALE plain
LABELOFFSET S
ICON images/updown_{node:this:bandwidth_in}.png
LABELBGCOLOR none
LABELOUTLINECOLOR none
NODE note512
POSITION node512 0 50
LABEL These nodes are using a special TARGET and ICON to calculate an icon filename
ICON none
LABELFONT 170
LABELBGCOLOR none
LABELOUTLINECOLOR none
###
NODE scale0
TARGET static:0:0
POSITION 800 450
ICON none
NODE scale1
TARGET static:10:10
POSITION scale0 0 25
ICON none
NODE scale2
TARGET static:20:20
POSITION scale1 0 25
ICON none
NODE scale3
TARGET static:30:30
POSITION scale2 0 25
ICON none
NODE scale4
TARGET static:40:40
POSITION scale3 0 25
ICON none
NODE scale5
TARGET static:50:50
POSITION scale4 0 25
ICON none
NODE scale6
TARGET static:60:60
POSITION scale5 0 25
ICON none
NODE scale7
TARGET static:70:70
POSITION scale6 0 25
ICON none
NODE scale8
TARGET static:80:80
POSITION scale7 0 25
ICON none
NODE scale9
TARGET static:90:90
POSITION scale8 0 25
ICON none
NODE scale10
TARGET static:100:100
POSITION scale9 0 25
ICON none
NODE notescale
POSITION scale10 0 20
LABEL These nodes are using a different SCALE again
ICON none
LABELFONT 170
LABELBGCOLOR none
LABELOUTLINECOLOR none