Structure graph

This commit is contained in:
einisto 2022-06-08 03:40:38 +03:00
parent 8917e1102b
commit 793ce5e64a
3 changed files with 107 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<div align="center"> <div align="center">
<span><img src="https://github.com/einisto/rusty-downloader/blob/main/ferris.png" width="400"></span> <span><img src="https://github.com/einisto/rusty-downloader/blob/main/doc/ferris.png" width="400"></span>
</div> </div>
## Rust-powered image downloader for 4chan ## Rust-powered image downloader for 4chan
@ -30,3 +30,7 @@ OPTIONS:
-t, --thread <URL> Set a thread URL -t, --thread <URL> Set a thread URL
-V, --version Print version information -V, --version Print version information
``` ```
### Dependencies
![DependenciesGraph](https://github.com/einisto/rusty-downloader/blob/main/doc/structure.svg)

View File

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

102
doc/structure.svg Normal file
View File

@ -0,0 +1,102 @@
<?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 3.0.0 (0)
-->
<!-- Pages: 1 -->
<svg width="712pt" height="116pt"
viewBox="0.00 0.00 711.69 116.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 112)">
<polygon fill="white" stroke="transparent" points="-4,4 -4,-112 707.69,-112 707.69,4 -4,4"/>
<!-- rusty&#45;downloader -->
<g id="node1" class="node">
<title>rusty&#45;downloader</title>
<ellipse fill="none" stroke="black" cx="328.9" cy="-90" rx="92.08" ry="18"/>
<text text-anchor="middle" x="328.9" y="-86.3" font-family="Times,serif" font-size="14.00">rusty&#45;downloader</text>
</g>
<!-- clap -->
<g id="node2" class="node">
<title>clap</title>
<ellipse fill="none" stroke="black" cx="29.9" cy="-18" rx="29.8" ry="18"/>
<text text-anchor="middle" x="29.9" y="-14.3" font-family="Times,serif" font-size="14.00">clap</text>
</g>
<!-- rusty&#45;downloader&#45;&gt;clap -->
<g id="edge1" class="edge">
<title>rusty&#45;downloader&#45;&gt;clap</title>
<path fill="none" stroke="black" d="M257.25,-78.56C204.45,-69.86 131.27,-55.71 68.9,-36 66.64,-35.29 64.33,-34.48 62.03,-33.63"/>
<polygon fill="black" stroke="black" points="63.27,-30.36 52.69,-29.89 60.67,-36.85 63.27,-30.36"/>
</g>
<!-- colored -->
<g id="node3" class="node">
<title>colored</title>
<ellipse fill="none" stroke="black" cx="122.9" cy="-18" rx="44.69" ry="18"/>
<text text-anchor="middle" x="122.9" y="-14.3" font-family="Times,serif" font-size="14.00">colored</text>
</g>
<!-- rusty&#45;downloader&#45;&gt;colored -->
<g id="edge2" class="edge">
<title>rusty&#45;downloader&#45;&gt;colored</title>
<path fill="none" stroke="black" d="M284.96,-74.07C249.79,-62.12 200.75,-45.45 165.84,-33.59"/>
<polygon fill="black" stroke="black" points="166.54,-30.13 155.95,-30.23 164.29,-36.76 166.54,-30.13"/>
</g>
<!-- futures -->
<g id="node4" class="node">
<title>futures</title>
<ellipse fill="none" stroke="black" cx="229.9" cy="-18" rx="44.39" ry="18"/>
<text text-anchor="middle" x="229.9" y="-14.3" font-family="Times,serif" font-size="14.00">futures</text>
</g>
<!-- rusty&#45;downloader&#45;&gt;futures -->
<g id="edge3" class="edge">
<title>rusty&#45;downloader&#45;&gt;futures</title>
<path fill="none" stroke="black" d="M305.44,-72.41C291.67,-62.68 274.15,-50.29 259.45,-39.89"/>
<polygon fill="black" stroke="black" points="261.35,-36.95 251.17,-34.04 257.31,-42.67 261.35,-36.95"/>
</g>
<!-- regex -->
<g id="node5" class="node">
<title>regex</title>
<ellipse fill="none" stroke="black" cx="328.9" cy="-18" rx="37.09" ry="18"/>
<text text-anchor="middle" x="328.9" y="-14.3" font-family="Times,serif" font-size="14.00">regex</text>
</g>
<!-- rusty&#45;downloader&#45;&gt;regex -->
<g id="edge4" class="edge">
<title>rusty&#45;downloader&#45;&gt;regex</title>
<path fill="none" stroke="black" d="M328.9,-71.7C328.9,-63.98 328.9,-54.71 328.9,-46.11"/>
<polygon fill="black" stroke="black" points="332.4,-46.1 328.9,-36.1 325.4,-46.1 332.4,-46.1"/>
</g>
<!-- reqwest -->
<g id="node6" class="node">
<title>reqwest</title>
<ellipse fill="none" stroke="black" cx="431.9" cy="-18" rx="48.19" ry="18"/>
<text text-anchor="middle" x="431.9" y="-14.3" font-family="Times,serif" font-size="14.00">reqwest</text>
</g>
<!-- rusty&#45;downloader&#45;&gt;reqwest -->
<g id="edge5" class="edge">
<title>rusty&#45;downloader&#45;&gt;reqwest</title>
<path fill="none" stroke="black" d="M353.05,-72.59C367.36,-62.86 385.65,-50.43 401.01,-39.99"/>
<polygon fill="black" stroke="black" points="403.36,-42.63 409.66,-34.11 399.42,-36.84 403.36,-42.63"/>
</g>
<!-- serde_json -->
<g id="node7" class="node">
<title>serde_json</title>
<ellipse fill="none" stroke="black" cx="557.9" cy="-18" rx="59.59" ry="18"/>
<text text-anchor="middle" x="557.9" y="-14.3" font-family="Times,serif" font-size="14.00">serde_json</text>
</g>
<!-- rusty&#45;downloader&#45;&gt;serde_json -->
<g id="edge6" class="edge">
<title>rusty&#45;downloader&#45;&gt;serde_json</title>
<path fill="none" stroke="black" d="M376.35,-74.5C414.75,-62.76 468.7,-46.27 507.8,-34.31"/>
<polygon fill="black" stroke="black" points="508.86,-37.65 517.4,-31.38 506.81,-30.96 508.86,-37.65"/>
</g>
<!-- tokio -->
<g id="node8" class="node">
<title>tokio</title>
<ellipse fill="none" stroke="black" cx="669.9" cy="-18" rx="33.6" ry="18"/>
<text text-anchor="middle" x="669.9" y="-14.3" font-family="Times,serif" font-size="14.00">tokio</text>
</g>
<!-- rusty&#45;downloader&#45;&gt;tokio -->
<g id="edge7" class="edge">
<title>rusty&#45;downloader&#45;&gt;tokio</title>
<path fill="none" stroke="black" d="M404.86,-79.77C465.65,-71.37 552.71,-57.03 626.9,-36 629.49,-35.27 632.14,-34.43 634.78,-33.54"/>
<polygon fill="black" stroke="black" points="636.06,-36.8 644.26,-30.1 633.67,-30.22 636.06,-36.8"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB