Skip to content

Instantly share code, notes, and snippets.

@b-wind
Created September 14, 2020 17:01
Show Gist options
  • Save b-wind/f2e27ee211c2ba7375f97a7c65b7aaa5 to your computer and use it in GitHub Desktop.
Save b-wind/f2e27ee211c2ba7375f97a7c65b7aaa5 to your computer and use it in GitHub Desktop.
sequenceDiagram1
Display the source blob
Display the rendered blob
Raw
<div class="mermaid"><svg xmlns="http://www.w3.org/2000/svg" id="mermaid-svg-gLwBv8RKquAxzPYB" height="100%" width="100%" style="max-width:1050px;" viewBox="-50 -10 1050 453"><g></g><g><line id="actor193" x1="75" y1="5" x2="75" y2="442" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="0" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="75" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="75" dy="0">HomePageView</tspan></text></g><g><line id="actor194" x1="275" y1="5" x2="275" y2="442" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="200" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="275" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="275" dy="0">HomePageViewModel</tspan></text></g><g><line id="actor195" x1="475" y1="5" x2="475" y2="442" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="400" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="475" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="475" dy="0">ExposureNotificationService</tspan></text></g><g><line id="actor196" x1="675" y1="5" x2="675" y2="442" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="600" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="675" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="675" dy="0">UserDataModel</tspan></text></g><g><line id="actor197" x1="875" y1="5" x2="875" y2="442" class="actor-line" stroke-width="0.5px" stroke="#999"></line><rect x="800" y="0" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="875" y="32.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="875" dy="0">NavigationService</tspan></text></g><defs><marker id="arrowhead" refX="5" refY="2" markerWidth="6" markerHeight="4" orient="auto"><path d="M 0,0 V 4 L6,2 Z"></path></marker></defs><defs><marker id="crosshead" markerWidth="15" markerHeight="8" orient="auto" refX="16" refY="4"><path fill="black" stroke="#000000" stroke-width="1px" d="M 9,2 V 6 L16,4 Z" style="stroke-dasharray: 0, 0;"></path><path fill="none" stroke="#000000" stroke-width="1px" d="M 0,1 L 6,7 M 6,1 L 0,7" style="stroke-dasharray: 0, 0;"></path></marker></defs><g><text x="175" y="93" class="messageText" style="text-anchor: middle;">OnClickExposures</text><line x1="75" y1="100" x2="275" y2="100" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="375" y="128" class="messageText" style="text-anchor: middle;">GetExposureCount()</text><line x1="275" y1="135" x2="475" y2="135" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="575" y="163" class="messageText" style="text-anchor: middle;">ExposureInformation.Count()</text><line x1="475" y1="170" x2="675" y2="170" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><rect x="700" y="180" fill="#EDF2AE" stroke="#666" width="150" height="37" rx="0" ry="0" class="note"></rect><text x="696" y="204" fill="black" class="noteText"><tspan x="716" fill="black">UserDataModel::ExposureInformationに保持される</tspan></text></g><g><text x="575" y="245" class="messageText" style="text-anchor: middle;">count</text><line x1="675" y1="252" x2="475" y2="252" class="messageLine1" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line></g><g><text x="375" y="280" class="messageText" style="text-anchor: middle;">count</text><line x1="475" y1="287" x2="275" y2="287" class="messageLine1" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="stroke-dasharray: 3, 3; fill: none;"></line></g><g><text x="575" y="315" class="messageText" style="text-anchor: middle;">NavigateAsync(ContactedNotifyPage) if count &gt; 0</text><line x1="275" y1="322" x2="875" y2="322" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><text x="575" y="350" class="messageText" style="text-anchor: middle;">NavigateAsync(NotContactPage) if count = 0</text><line x1="275" y1="357" x2="875" y2="357" class="messageLine0" stroke-width="2" stroke="black" marker-end="url(#arrowhead)" style="fill: none;"></line></g><g><rect x="0" y="377" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="75" y="409.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="75" dy="0">HomePageView</tspan></text></g><g><rect x="200" y="377" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="275" y="409.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="275" dy="0">HomePageViewModel</tspan></text></g><g><rect x="400" y="377" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="475" y="409.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="475" dy="0">ExposureNotificationService</tspan></text></g><g><rect x="600" y="377" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="675" y="409.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="675" dy="0">UserDataModel</tspan></text></g><g><rect x="800" y="377" fill="#eaeaea" stroke="#666" width="150" height="65" rx="3" ry="3" class="actor"></rect><text x="875" y="409.5" dominant-baseline="central" alignment-baseline="central" class="actor" style="text-anchor: middle;"><tspan x="875" dy="0">NavigationService</tspan></text></g></svg></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment