Skip to content

Instantly share code, notes, and snippets.

@FedericoCeratto
Last active January 30, 2017 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FedericoCeratto/073f3e01e9af934de3a83881dd92d27a to your computer and use it in GitHub Desktop.
Save FedericoCeratto/073f3e01e9af934de3a83881dd92d27a to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg viewBox="0 0 1664 360" xmlns="http://www.w3.org/2000/svg" xmlns:inkspace="http://www.inkscape.org/namespaces/inkscape" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs id="defs_block">
<filter height="1.504" id="filter_blur" inkspace:collect="always" width="1.1575" x="-0.07875" y="-0.252">
<feGaussianBlur id="feGaussianBlur3780" inkspace:collect="always" stdDeviation="4.2" />
</filter>
</defs>
<title>blockdiag</title>
<desc>{
colwidth = 64
default_node_color = "#fffaf0"
0-7: Leap_version_mode [numbered = 1]
8-15: Stratum [numbered = 2]
16-23: Polling_interval [numbered = 3]
24-31: Clock_precision [numbered = 4]
32-63: Delay [numbered = 5]
64-95: Dispersion [numbered = 6]
96-127: Reference_id [numbered = 7]
128-191: Reference_ts [numbered = 8]
192-255: Origin_ts [numbered = 9]
256-319: Receive_ts [numbered = 10]
320-383: Transmit_ts [numbered = 11]
}</desc>
<path d="M 64 48 L 64 80" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="64" y="41">0</text>
<path d="M 88 64 L 88 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 112 64 L 112 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 136 64 L 136 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 160 64 L 160 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 184 64 L 184 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 208 64 L 208 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 232 64 L 232 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 256 64 L 256 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 280 64 L 280 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 304 64 L 304 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 328 64 L 328 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 352 64 L 352 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 376 64 L 376 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 400 64 L 400 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 424 64 L 424 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 448 48 L 448 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 472 64 L 472 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 496 64 L 496 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 520 64 L 520 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 544 64 L 544 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 568 64 L 568 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 592 64 L 592 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 616 64 L 616 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 640 64 L 640 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 664 64 L 664 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 688 64 L 688 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 712 64 L 712 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 736 64 L 736 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 760 64 L 760 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 784 64 L 784 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 808 64 L 808 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 832 48 L 832 80" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="14" x="832" y="41">32</text>
<path d="M 856 64 L 856 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 880 64 L 880 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 904 64 L 904 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 928 64 L 928 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 952 64 L 952 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 976 64 L 976 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1000 64 L 1000 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1024 64 L 1024 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1048 64 L 1048 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1072 64 L 1072 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1096 64 L 1096 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1120 64 L 1120 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1144 64 L 1144 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1168 64 L 1168 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1192 64 L 1192 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1216 48 L 1216 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1240 64 L 1240 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1264 64 L 1264 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1288 64 L 1288 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1312 64 L 1312 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1336 64 L 1336 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1360 64 L 1360 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1384 64 L 1384 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1408 64 L 1408 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1432 64 L 1432 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1456 64 L 1456 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1480 64 L 1480 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1504 64 L 1504 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1528 64 L 1528 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1552 64 L 1552 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1576 64 L 1576 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 48 L 1600 80" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="14" x="1600" y="41">64</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="192" x="64" y="80" />
<path d="M 64 80 L 256 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 256 80 L 256 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 256 120 L 64 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 64 120 L 64 80" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="104" x="160" y="106">Leap_version_mode</text>
<ellipse cx="64" cy="80" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="64" y="85">1</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="192" x="256" y="80" />
<path d="M 256 80 L 448 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 448 80 L 448 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 448 120 L 256 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 256 120 L 256 80" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="41" x="352" y="105">Stratum</text>
<ellipse cx="256" cy="80" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="256" y="85">2</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="192" x="448" y="80" />
<path d="M 448 80 L 640 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 640 80 L 640 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 640 120 L 448 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 448 120 L 448 80" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="80" x="544" y="106">Polling_interval</text>
<ellipse cx="448" cy="80" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="448" y="85">3</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="192" x="640" y="80" />
<path d="M 640 80 L 832 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 832 80 L 832 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 832 120 L 640 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 640 120 L 640 80" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="84" x="736" y="106">Clock_precision</text>
<ellipse cx="640" cy="80" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="640" y="85">4</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="768" x="832" y="80" />
<path d="M 832 80 L 1600 80" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 80 L 1600 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 120 L 832 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 832 120 L 832 80" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="29" x="1216" y="107">Delay</text>
<ellipse cx="832" cy="80" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="832" y="85">5</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="768" x="64" y="120" />
<path d="M 64 120 L 832 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 832 120 L 832 160" fill="none" stroke="rgb(0,0,0)" />
<path d="M 832 160 L 64 160" fill="none" stroke="rgb(0,0,0)" />
<path d="M 64 160 L 64 120" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="55" x="448" y="146">Dispersion</text>
<ellipse cx="64" cy="120" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="64" y="125">6</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="768" x="832" y="120" />
<path d="M 832 120 L 1600 120" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 120 L 1600 160" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 160 L 832 160" fill="none" stroke="rgb(0,0,0)" />
<path d="M 832 160 L 832 120" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="67" x="1216" y="146">Reference_id</text>
<ellipse cx="832" cy="120" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="832" y="125">7</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="1536" x="64" y="160" />
<path d="M 64 160 L 1600 160" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 160 L 1600 200" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 200 L 64 200" fill="none" stroke="rgb(0,0,0)" />
<path d="M 64 200 L 64 160" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="66" x="832" y="186">Reference_ts</text>
<ellipse cx="64" cy="160" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="64" y="165">8</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="1536" x="64" y="200" />
<path d="M 64 200 L 1600 200" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 200 L 1600 240" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 240 L 64 240" fill="none" stroke="rgb(0,0,0)" />
<path d="M 64 240 L 64 200" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="47" x="832" y="226">Origin_ts</text>
<ellipse cx="64" cy="200" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="7" x="64" y="205">9</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="1536" x="64" y="240" />
<path d="M 64 240 L 1600 240" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 240 L 1600 280" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 280 L 64 280" fill="none" stroke="rgb(0,0,0)" />
<path d="M 64 280 L 64 240" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="54" x="832" y="266">Receive_ts</text>
<ellipse cx="64" cy="240" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="14" x="64" y="245">10</text>
<rect fill="rgb(255,250,240)" height="40" stroke="rgb(255,250,240)" width="1536" x="64" y="280" />
<path d="M 64 280 L 1600 280" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 280 L 1600 320" fill="none" stroke="rgb(0,0,0)" />
<path d="M 1600 320 L 64 320" fill="none" stroke="rgb(0,0,0)" />
<path d="M 64 320 L 64 280" fill="none" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="61" x="832" y="306">Transmit_ts</text>
<ellipse cx="64" cy="280" fill="pink" rx="12" ry="12" stroke="rgb(0,0,0)" />
<text fill="rgb(0,0,0)" font-family="sans-serif" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" textLength="14" x="64" y="285">11</text>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment