Skip to content

Instantly share code, notes, and snippets.

@PhakornKiong
Created April 5, 2021 01:19
Show Gist options
  • Save PhakornKiong/27e3b13afb5e32d97626426abcb4f162 to your computer and use it in GitHub Desktop.
Save PhakornKiong/27e3b13afb5e32d97626426abcb4f162 to your computer and use it in GitHub Desktop.
AST
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink" joint-selector="svg" id="v-381" viewBox="0 0 440 740"><defs joint-selector="defs"><marker id="v-2-857093843" orient="auto" overflow="visible" markerUnits="userSpaceOnUse"><path id="v-124" stroke="#666" fill="#666" transform="rotate(180)" d="M 4 -4 0 0 4 4 z"/></marker></defs><g joint-selector="layers" class="joint-layers"><g joint-selector="back" class="joint-back-layer"/><g joint-selector="cells" class="joint-cells-layer joint-viewport"><g model-id="2bd4e37e-1d5f-434b-b023-fe255cdfe732" data-type="ast.Node" id="j_94" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(0,0)"><rect id="v-290" rx="5" ry="5" stroke="none" fill="black" width="120" height="30"/><text id="v-291" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,37.8,10.4)"><tspan dy="0" class="v-line">Program</tspan></text><path id="v-292" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="1d6fccdf-663c-40ba-bd46-0a9b9d26f7ef" data-type="ast.Node" id="j_95" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(80,50)"><rect id="v-295" rx="5" ry="5" stroke="none" fill="#232323" width="120" height="30"/><text id="v-296" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,7.8,10.4)"><tspan dy="0" class="v-line">VariableDeclaration</tspan></text><path id="v-297" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="0b16ecad-a257-4407-b0d0-2fc205b8a486" data-type="ast.Node" id="j_97" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(160,100)"><rect id="v-300" rx="5" ry="5" stroke="none" fill="#414141" width="120" height="30"/><text id="v-301" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,10.4,10.4)"><tspan dy="0" class="v-line">VariableDeclarator</tspan></text><path id="v-302" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="199b0d7b-3340-40e1-bfaa-0ec53093a7af" data-type="ast.Node" id="j_99" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(240,150)"><rect id="v-305" rx="5" ry="5" stroke="none" fill="#ff5246" width="120" height="30"/><text id="v-306" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,57.2,10.4)"><tspan dy="0" class="v-line">a</tspan></text><path id="v-307" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="ce668a84-871f-454e-894d-f6d396f3324f" data-type="ast.Node" id="j_101" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(240,200)"><rect id="v-310" rx="5" ry="5" stroke="none" fill="#77c63d" width="120" height="30"/><text id="v-311" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,53.9,10.4)"><tspan dy="0" class="v-line">42</tspan></text><path id="v-312" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="8571fa83-b812-470b-a024-6cce114eb997" data-type="ast.Node" id="j_103" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(80,250)"><rect id="v-315" rx="5" ry="5" stroke="none" fill="#232323" width="120" height="30"/><text id="v-316" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,7.8,10.4)"><tspan dy="0" class="v-line">VariableDeclaration</tspan></text><path id="v-317" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="e1483882-148f-4ca3-885f-54fdea0fdd0e" data-type="ast.Node" id="j_105" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(160,300)"><rect id="v-320" rx="5" ry="5" stroke="none" fill="#414141" width="120" height="30"/><text id="v-321" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,10.4,10.4)"><tspan dy="0" class="v-line">VariableDeclarator</tspan></text><path id="v-322" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="ed398461-c3d4-49fa-8eb1-ebc2b5f68b46" data-type="ast.Node" id="j_107" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(240,350)"><rect id="v-325" rx="5" ry="5" stroke="none" fill="#ff5246" width="120" height="30"/><text id="v-326" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,57.2,10.4)"><tspan dy="0" class="v-line">b</tspan></text><path id="v-327" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="d54c8304-e26a-47e8-aaf4-3f409697f18a" data-type="ast.Node" id="j_109" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(240,400)"><rect id="v-330" rx="5" ry="5" stroke="none" fill="#77c63d" width="120" height="30"/><text id="v-331" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,57.2,10.4)"><tspan dy="0" class="v-line">5</tspan></text><path id="v-332" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="e9505e26-819c-46e2-871c-9d72e62e67f7" data-type="ast.Node" id="j_111" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(80,450)"><rect id="v-335" rx="5" ry="5" stroke="none" fill="#232323" width="120" height="30"/><text id="v-336" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,7.8,10.4)"><tspan dy="0" class="v-line">VariableDeclaration</tspan></text><path id="v-337" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="b8aa112c-30db-4f56-8ed2-cdea5a5244b5" data-type="ast.Node" id="j_113" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(160,500)"><rect id="v-340" rx="5" ry="5" stroke="none" fill="#414141" width="120" height="30"/><text id="v-341" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,10.4,10.4)"><tspan dy="0" class="v-line">VariableDeclarator</tspan></text><path id="v-342" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="da743d75-8ab8-4f59-a073-1f8d5024af71" data-type="ast.Node" id="j_115" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(240,550)"><rect id="v-345" rx="5" ry="5" stroke="none" fill="#ff5246" width="120" height="30"/><text id="v-346" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,57.5,10.4)"><tspan dy="0" class="v-line">c</tspan></text><path id="v-347" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="98e9d87c-4a3d-4830-8923-1982321870c6" data-type="ast.Node" id="j_117" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(240,600)"><rect id="v-350" rx="5" ry="5" stroke="none" fill="#fcbc2a" width="120" height="30"/><text id="v-351" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,57.1,10.4)"><tspan dy="0" class="v-line">+</tspan></text><path id="v-352" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="7a222064-032c-48bb-b777-8b191fb7d3a6" data-type="ast.Node" id="j_119" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(320,650)"><rect id="v-355" rx="5" ry="5" stroke="none" fill="#ff5246" width="120" height="30"/><text id="v-356" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,57.2,10.4)"><tspan dy="0" class="v-line">a</tspan></text><path id="v-357" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="d87b6540-4199-4e53-a97b-6619b9d155e9" data-type="ast.Node" id="j_121" class="joint-cell joint-type-ast joint-type-ast-node joint-element joint-theme-default" transform="translate(320,700)"><rect id="v-360" rx="5" ry="5" stroke="none" fill="#ff5246" width="120" height="30"/><text id="v-361" font-size="10" xml:space="preserve" y="0.8em" fill="white" font-family="'Helvetica Neue Light','Helvetica Neue','Source Sans Pro',sans-serif" letter-spacing="1px" transform="matrix(1,0,0,1,57.2,10.4)"><tspan dy="0" class="v-line">b</tspan></text><path id="v-362" stroke="#666" d="M 0 0 0 10 M -5 10 5 10" visibility="hidden" pointer-events="none" transform="matrix(1,0,0,1,60,30)"/></g><g model-id="066e0d0b-c78a-4f92-a0bb-379fd82081a3" data-type="ast.Link" id="j_96" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-365" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 60 30 L 60 65 L 80 65"/></g><g model-id="27c8be81-c22c-49f1-bcdc-2e0047713552" data-type="ast.Link" id="j_98" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-366" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 140 80 L 140 115 L 160 115"/></g><g model-id="719605b7-0514-46dd-b383-07300f965832" data-type="ast.Link" id="j_100" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-367" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 220 130 L 220 165 L 240 165"/></g><g model-id="12096a4c-0831-471e-97ac-1aa3f39d931b" data-type="ast.Link" id="j_102" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-368" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 220 130 L 220 215 L 240 215"/></g><g model-id="a78fb487-f7f7-4293-a64e-6b20ddfb0e52" data-type="ast.Link" id="j_104" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-369" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 60 30 L 60 265 L 80 265"/></g><g model-id="9acde2cd-79dc-4bbc-bbb2-626c12400cd1" data-type="ast.Link" id="j_106" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-370" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 140 280 L 140 315 L 160 315"/></g><g model-id="e182937b-464c-4899-ba79-8922d45b72de" data-type="ast.Link" id="j_108" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-371" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 220 330 L 220 365 L 240 365"/></g><g model-id="1ada5da5-bba6-4c78-ae69-5ab27442ecd7" data-type="ast.Link" id="j_110" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-372" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 220 330 L 220 415 L 240 415"/></g><g model-id="d3a6b9d6-50b8-40eb-8c6b-1fa57932bdd4" data-type="ast.Link" id="j_112" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-373" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 60 30 L 60 465 L 80 465"/></g><g model-id="c32d14f8-2df3-4eab-a102-fef175960c4a" data-type="ast.Link" id="j_114" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-374" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 140 480 L 140 515 L 160 515"/></g><g model-id="127bad7d-2203-476e-9d47-a9837026638c" data-type="ast.Link" id="j_116" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-375" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 220 530 L 220 565 L 240 565"/></g><g model-id="15df5dc4-637e-4e77-ab1a-6c4674a1b1db" data-type="ast.Link" id="j_118" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-376" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 220 530 L 220 615 L 240 615"/></g><g model-id="07362962-61b6-4f56-8cac-11ef3d56fbaf" data-type="ast.Link" id="j_120" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-377" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 300 630 L 300 665 L 320 665"/></g><g model-id="547ba691-b053-4faa-aa25-33cd515c1ef3" data-type="ast.Link" id="j_122" class="joint-cell joint-type-ast joint-type-ast-link joint-link joint-theme-default"><path class="connection" id="v-378" fill="none" stroke="#666" pointer-events="none" marker-end="url(#v-2-857093843)" d="M 300 630 L 300 715 L 320 715"/></g></g><g joint-selector="front" class="joint-front-layer"/><g joint-selector="tools" class="joint-tools-layer"/></g></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment