mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-23 05:12:40 +08:00
106 lines
4.7 KiB
XML
106 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<!-- Generated by graphviz version 12.1.0 (20240811.2233)
|
|
-->
|
|
<!-- Title: TestCase Pages: 1 -->
|
|
<svg width="211pt" height="173pt"
|
|
viewBox="0.00 0.00 210.82 172.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
|
|
|
<style type="text/css"><![CDATA[
|
|
.node, .edge {opacity: 0.7;}
|
|
.node.selected, .edge.selected {opacity: 1;}
|
|
.edge:hover path { stroke: red; }
|
|
.edge:hover polygon { stroke: red; fill: red; }
|
|
]]></style>
|
|
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
|
<svg id="graph" class="graph">
|
|
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 168.5)">
|
|
<title>TestCase</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title="represents single example inputs and expected output of the function longest_common_string_length">
|
|
<polygon fill="#999999" stroke="#666666" points="115,-19.25 57,-19.25 57,0 115,0 115,-19.25"/>
|
|
<text text-anchor="middle" x="86" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">TestCase</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="Node000002" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string.html" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="76.75,-97 17.25,-97 17.25,-77.75 76.75,-77.75 76.75,-97"/>
|
|
<text text-anchor="middle" x="47" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::string</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node1 -->
|
|
<g id="edge1_Node000001_Node000002" class="edge">
|
|
<title>Node2->Node1</title>
|
|
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M53.55,-66.59C56.91,-57.42 61.38,-46.52 66.5,-37.25 69.94,-31.03 74.62,-24.59 78.53,-19.6"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="50.27,-65.35 50.3,-75.94 56.89,-67.64 50.27,-65.35"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="85.25" y="-50.25" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> string_a</text>
|
|
<text text-anchor="middle" x="85.25" y="-39" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey">string_b</text>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/string/basic_string.html" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="94,-164.5 0,-164.5 0,-134 94,-134 94,-164.5"/>
|
|
<text text-anchor="start" x="8" y="-151" font-family="Helvetica,sans-Serif" font-size="10.00">std::basic_string<</text>
|
|
<text text-anchor="middle" x="47" y="-139.75" font-family="Helvetica,sans-Serif" font-size="10.00"> Char ></text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3->Node2 -->
|
|
<g id="edge2_Node000002_Node000003" class="edge">
|
|
<title>Node3->Node2</title>
|
|
<g id="a_edge2_Node000002_Node000003"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M47,-122.52C47,-113.54 47,-104.04 47,-97.35"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="43.5,-122.24 47,-132.24 50.5,-122.24 43.5,-122.24"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="Node000004" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/types/size_t.html" xlink:title=" ">
|
|
<polygon fill="white" stroke="#bfbfbf" points="156.88,-97 95.12,-97 95.12,-77.75 156.88,-77.75 156.88,-97"/>
|
|
<text text-anchor="middle" x="126" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::size_t</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4->Node1 -->
|
|
<g id="edge3_Node000001_Node000004" class="edge">
|
|
<title>Node4->Node1</title>
|
|
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M118.26,-67.04C114.34,-57.83 109.3,-46.78 104,-37.25 100.64,-31.2 96.31,-24.77 92.74,-19.74"/>
|
|
<polygon fill="#9a32cd" stroke="#9a32cd" points="114.93,-68.14 121.97,-76.06 121.4,-65.48 114.93,-68.14"/>
|
|
</a>
|
|
</g>
|
|
<text text-anchor="middle" x="158.94" y="-44.62" font-family="Helvetica,sans-Serif" font-size="10.00" fill="grey"> common_string_len</text>
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
</svg>
|
|
|
|
<style type='text/css'>
|
|
<![CDATA[
|
|
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
|
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
|
]]>
|
|
</style>
|
|
<script type="application/ecmascript"><![CDATA[
|
|
document.addEventListener('DOMContentLoaded', (event) => {
|
|
highlightEdges();
|
|
highlightAdjacentNodes();
|
|
});
|
|
]]></script>
|
|
</svg>
|