|
| 1 | +<mxfile host="app.diagrams.net" modified="2022-10-27T18:41:24.103Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" etag="tYwVJsSSLtWsAguf6EVZ" version="20.5.1" type="github"> |
| 2 | + <diagram id="WiCHa1WhsjDegjLb84WS" name="Page-1"> |
| 3 | + <mxGraphModel dx="1297" dy="694" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> |
| 4 | + <root> |
| 5 | + <mxCell id="0" /> |
| 6 | + <mxCell id="1" parent="0" /> |
| 7 | + <mxCell id="OPkBnLGld1baVavcbmju-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="OPkBnLGld1baVavcbmju-1" target="OPkBnLGld1baVavcbmju-4"> |
| 8 | + <mxGeometry relative="1" as="geometry"> |
| 9 | + <mxPoint x="35" y="300" as="targetPoint" /> |
| 10 | + </mxGeometry> |
| 11 | + </mxCell> |
| 12 | + <object label="User" id="OPkBnLGld1baVavcbmju-1"> |
| 13 | + <mxCell style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="1"> |
| 14 | + <mxGeometry x="20" y="160" width="30" height="60" as="geometry" /> |
| 15 | + </mxCell> |
| 16 | + </object> |
| 17 | + <mxCell id="OPkBnLGld1baVavcbmju-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;" edge="1" parent="1" source="OPkBnLGld1baVavcbmju-4" target="OPkBnLGld1baVavcbmju-11"> |
| 18 | + <mxGeometry relative="1" as="geometry" /> |
| 19 | + </mxCell> |
| 20 | + <mxCell id="OPkBnLGld1baVavcbmju-4" value="User App<br><br><div style="text-align: left;"><ul><li>GET '/'</li><li>POST '/'</li><li>GET '/weatherbit'</li><li>POST '/weatherbit'</li><li>GET '\about'</li></ul></div>" style="whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1"> |
| 21 | + <mxGeometry x="110" y="135" width="200" height="125" as="geometry" /> |
| 22 | + </mxCell> |
| 23 | + <mxCell id="OPkBnLGld1baVavcbmju-6" value="<h1>TechRolEmi Weather Cast</h1><p><font style="font-size: 12px;" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji">An Embedded JavaScript&nbsp;(EJS) responsive web app using NodeJS-Express scaffolding to call weather API providers for weather reports.</font></p><p>.</p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1"> |
| 24 | + <mxGeometry x="10" y="10" width="720" height="110" as="geometry" /> |
| 25 | + </mxCell> |
| 26 | + <mxCell id="OPkBnLGld1baVavcbmju-14" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;" edge="1" parent="1" source="OPkBnLGld1baVavcbmju-11" target="OPkBnLGld1baVavcbmju-18"> |
| 27 | + <mxGeometry relative="1" as="geometry"> |
| 28 | + <mxPoint x="565" y="197.5" as="targetPoint" /> |
| 29 | + </mxGeometry> |
| 30 | + </mxCell> |
| 31 | + <mxCell id="OPkBnLGld1baVavcbmju-16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="OPkBnLGld1baVavcbmju-11" target="OPkBnLGld1baVavcbmju-19"> |
| 32 | + <mxGeometry relative="1" as="geometry"> |
| 33 | + <mxPoint x="415" y="320" as="targetPoint" /> |
| 34 | + </mxGeometry> |
| 35 | + </mxCell> |
| 36 | + <mxCell id="OPkBnLGld1baVavcbmju-17" value="No" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;" vertex="1" connectable="0" parent="OPkBnLGld1baVavcbmju-16"> |
| 37 | + <mxGeometry x="-0.2994" relative="1" as="geometry"> |
| 38 | + <mxPoint as="offset" /> |
| 39 | + </mxGeometry> |
| 40 | + </mxCell> |
| 41 | + <mxCell id="OPkBnLGld1baVavcbmju-11" value="<br><br>Geolocator Allowed?" style="rhombus;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1"> |
| 42 | + <mxGeometry x="360" y="147.5" width="110" height="100" as="geometry" /> |
| 43 | + </mxCell> |
| 44 | + <mxCell id="OPkBnLGld1baVavcbmju-24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;fontColor=#000000;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="OPkBnLGld1baVavcbmju-18" target="OPkBnLGld1baVavcbmju-21"> |
| 45 | + <mxGeometry relative="1" as="geometry"> |
| 46 | + <mxPoint x="645" y="350" as="targetPoint" /> |
| 47 | + </mxGeometry> |
| 48 | + </mxCell> |
| 49 | + <mxCell id="OPkBnLGld1baVavcbmju-25" value="JSON" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;fontColor=#000000;" vertex="1" connectable="0" parent="OPkBnLGld1baVavcbmju-24"> |
| 50 | + <mxGeometry x="-0.5569" relative="1" as="geometry"> |
| 51 | + <mxPoint as="offset" /> |
| 52 | + </mxGeometry> |
| 53 | + </mxCell> |
| 54 | + <mxCell id="OPkBnLGld1baVavcbmju-18" value="<div style="text-align: left;"><span style="background-color: initial; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace;" class="pl-c1">1. Geolocation</span><span style="background-color: initial; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace;" class="pl-kos">.</span><span style="background-color: initial; box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace;" class="pl-en">getCurrentPosition</span></div><span class="pl-en" style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace;"><div style="text-align: left;"><span style="background-color: initial; box-sizing: border-box;" class="pl-en">2.&nbsp;</span><span style="background-color: initial;">getLocalWeather(longitude, latitude, secret, 0);</span></div></span><span style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace; text-align: start;" class="pl-en"><br></span>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;" vertex="1" parent="1"> |
| 55 | + <mxGeometry x="520" y="150" width="250" height="100" as="geometry" /> |
| 56 | + </mxCell> |
| 57 | + <mxCell id="OPkBnLGld1baVavcbmju-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;fontColor=#000000;" edge="1" parent="1" source="OPkBnLGld1baVavcbmju-19" target="OPkBnLGld1baVavcbmju-21"> |
| 58 | + <mxGeometry relative="1" as="geometry" /> |
| 59 | + </mxCell> |
| 60 | + <mxCell id="OPkBnLGld1baVavcbmju-26" value="JSON" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=12;fontColor=#000000;" vertex="1" connectable="0" parent="OPkBnLGld1baVavcbmju-22"> |
| 61 | + <mxGeometry x="-0.2218" relative="1" as="geometry"> |
| 62 | + <mxPoint as="offset" /> |
| 63 | + </mxGeometry> |
| 64 | + </mxCell> |
| 65 | + <mxCell id="OPkBnLGld1baVavcbmju-19" value="<div style="text-align: left;"><span style="background-color: initial;">1.&nbsp; ReadInput(cityName)</span></div><div style="text-align: left;"><span style="background-color: initial;">2.&nbsp; getLocalWeather(cityName, secret, 0);</span></div>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;" vertex="1" parent="1"> |
| 66 | + <mxGeometry x="180" y="320" width="295" height="60" as="geometry" /> |
| 67 | + </mxCell> |
| 68 | + <mxCell id="OPkBnLGld1baVavcbmju-21" value="<span class="pl-s1" style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace; text-align: start;">result</span><span class="pl-kos" style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace; text-align: start;">.</span><span class="pl-c1" style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace; text-align: start;">innerHTML</span><span style="font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace; text-align: start;"> </span><span class="pl-c1" style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, &quot;SF Mono&quot;, Menlo, Consolas, &quot;Liberation Mono&quot;, monospace; text-align: start;">= JSON.parse(xhttp.responseText);</span>" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;rounded=1;" vertex="1" parent="1"> |
| 69 | + <mxGeometry x="267.5" y="450" width="502.5" height="80" as="geometry" /> |
| 70 | + </mxCell> |
| 71 | + </root> |
| 72 | + </mxGraphModel> |
| 73 | + </diagram> |
| 74 | +</mxfile> |
0 commit comments