graphviz-code-viewer 0.1.5__tar.gz → 0.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/PKG-INFO +1 -2
  2. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/about.py +1 -1
  3. graphviz_code_viewer-0.1.7/graphviz_code_viewer/data/gradient1.dot +19 -0
  4. graphviz_code_viewer-0.1.7/graphviz_code_viewer/data/gradient1.svg +68 -0
  5. graphviz_code_viewer-0.1.7/graphviz_code_viewer/data/gradient2.dot +46 -0
  6. graphviz_code_viewer-0.1.7/graphviz_code_viewer/data/gradient2.svg +339 -0
  7. graphviz_code_viewer-0.1.7/graphviz_code_viewer/icons/logo.svg +151 -0
  8. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/program.py +115 -5
  9. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer.egg-info/PKG-INFO +1 -2
  10. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer.egg-info/SOURCES.txt +5 -0
  11. graphviz_code_viewer-0.1.7/graphviz_code_viewer.egg-info/requires.txt +1 -0
  12. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/pyproject.toml +3 -4
  13. graphviz_code_viewer-0.1.5/graphviz_code_viewer.egg-info/requires.txt +0 -2
  14. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/LICENSE +0 -0
  15. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/README.md +0 -0
  16. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/__init__.py +0 -0
  17. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/data/LoginStateMachine.dot +0 -0
  18. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/data/LoginStateMachine.svg +0 -0
  19. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/data/ParallelGroupsLR.dot +0 -0
  20. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/data/ParallelGroupsLR.svg +0 -0
  21. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/data/ParallelGroupsTB.dot +0 -0
  22. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/data/ParallelGroupsTB.svg +0 -0
  23. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/data/TrafficLightStateMachine.dot +0 -0
  24. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/data/TrafficLightStateMachine.svg +0 -0
  25. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/desktop.py +0 -0
  26. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/document-open.png +0 -0
  27. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/download-green.png +0 -0
  28. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/download.png +0 -0
  29. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/emote-love.png +0 -0
  30. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/image.png +0 -0
  31. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/logo.png +0 -0
  32. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/status_help.png +0 -0
  33. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/system-run.png +0 -0
  34. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/icons/text-configure.png +0 -0
  35. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/modules/__init__.py +0 -0
  36. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/modules/configure.py +0 -0
  37. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/modules/example_selector.py +0 -0
  38. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/modules/resources.py +0 -0
  39. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer/modules/wabout.py +0 -0
  40. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer.egg-info/dependency_links.txt +0 -0
  41. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer.egg-info/entry_points.txt +0 -0
  42. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/graphviz_code_viewer.egg-info/top_level.txt +0 -0
  43. {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphviz_code_viewer
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: Program to edit and view Graphviz code.
5
5
  Author-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
6
6
  Maintainer-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
@@ -16,7 +16,6 @@ Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  Requires-Dist: PyQt5
19
- Requires-Dist: deep-consultation
20
19
  Dynamic: license-file
21
20
 
22
21
  # graphviz-code-viewer
@@ -1,6 +1,6 @@
1
1
  # about.py
2
2
 
3
- __version__ = "0.1.5"
3
+ __version__ = "0.1.7"
4
4
  __package__ = "graphviz_code_viewer"
5
5
  __program_name__ = "graphviz-code-viewer"
6
6
  __author__ = "Fernando Pujaico Rivera"
@@ -0,0 +1,19 @@
1
+ digraph G {
2
+ fontname="Helvetica,Arial,sans-serif"
3
+ node [fontname="Helvetica,Arial,sans-serif"]
4
+ edge [fontname="Helvetica,Arial,sans-serif"]
5
+
6
+ a0 [shape=none label=<
7
+ <TABLE border="0" cellspacing="10" cellpadding="10" style="rounded" bgcolor="/rdylgn11/1:/rdylgn11/11" gradientangle="315">
8
+ <TR>
9
+ <TD bgcolor="/rdylgn11/1:/rdylgn11/2">00</TD>
10
+ <TD bgcolor="/rdylgn11/2:/rdylgn11/3">01</TD>
11
+ <TD bgcolor="/rdylgn11/3:/rdylgn11/4">02</TD>
12
+ <TD bgcolor="/rdylgn11/4:/rdylgn11/5">03</TD>
13
+ </TR>
14
+ </TABLE>
15
+ >];
16
+ a1;
17
+
18
+ a0 -> a1;
19
+ }
@@ -0,0 +1,68 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <!-- Generated by graphviz version 14.1.2 (0)
5
+ -->
6
+ <!-- Title: G Pages: 1 -->
7
+ <svg width="214pt" height="143pt"
8
+ viewBox="0.00 0.00 214.00 143.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 139)">
10
+ <title>G</title>
11
+ <polygon fill="white" stroke="none" points="-4,4 -4,-139 210,-139 210,4 -4,4"/>
12
+ <!-- a0 -->
13
+ <g id="node1" class="node">
14
+ <title>a0</title>
15
+ <defs>
16
+ <linearGradient id="l_0" gradientUnits="userSpaceOnUse" x1="35.82" y1="-122.95" x2="170.18" y2="-84.05" >
17
+ <stop offset="0" style="stop-color:#a50026;stop-opacity:1.;"/>
18
+ <stop offset="1" style="stop-color:#006837;stop-opacity:1.;"/>
19
+ </linearGradient>
20
+ </defs>
21
+ <path fill="url(#l_0)" stroke="none" d="M20,-76C20,-76 186,-76 186,-76 192,-76 198,-82 198,-88 198,-88 198,-119 198,-119 198,-125 192,-131 186,-131 186,-131 20,-131 20,-131 14,-131 8,-125 8,-119 8,-119 8,-88 8,-88 8,-82 14,-76 20,-76"/>
22
+ <defs>
23
+ <linearGradient id="l_1" gradientUnits="userSpaceOnUse" x1="18" y1="-103.5" x2="53" y2="-103.5" >
24
+ <stop offset="0" style="stop-color:#a50026;stop-opacity:1.;"/>
25
+ <stop offset="1" style="stop-color:#d73027;stop-opacity:1.;"/>
26
+ </linearGradient>
27
+ </defs>
28
+ <polygon fill="url(#l_1)" stroke="none" points="18,-86 18,-121 53,-121 53,-86 18,-86"/>
29
+ <text xml:space="preserve" text-anchor="start" x="28" y="-97.7" font-family="Helvetica,Arial,sans-serif" font-size="14.00">00</text>
30
+ <defs>
31
+ <linearGradient id="l_2" gradientUnits="userSpaceOnUse" x1="63" y1="-103.5" x2="98" y2="-103.5" >
32
+ <stop offset="0" style="stop-color:#d73027;stop-opacity:1.;"/>
33
+ <stop offset="1" style="stop-color:#f46d43;stop-opacity:1.;"/>
34
+ </linearGradient>
35
+ </defs>
36
+ <polygon fill="url(#l_2)" stroke="none" points="63,-86 63,-121 98,-121 98,-86 63,-86"/>
37
+ <text xml:space="preserve" text-anchor="start" x="73" y="-97.7" font-family="Helvetica,Arial,sans-serif" font-size="14.00">01</text>
38
+ <defs>
39
+ <linearGradient id="l_3" gradientUnits="userSpaceOnUse" x1="108" y1="-103.5" x2="143" y2="-103.5" >
40
+ <stop offset="0" style="stop-color:#f46d43;stop-opacity:1.;"/>
41
+ <stop offset="1" style="stop-color:#fdae61;stop-opacity:1.;"/>
42
+ </linearGradient>
43
+ </defs>
44
+ <polygon fill="url(#l_3)" stroke="none" points="108,-86 108,-121 143,-121 143,-86 108,-86"/>
45
+ <text xml:space="preserve" text-anchor="start" x="118" y="-97.7" font-family="Helvetica,Arial,sans-serif" font-size="14.00">02</text>
46
+ <defs>
47
+ <linearGradient id="l_4" gradientUnits="userSpaceOnUse" x1="153" y1="-103.5" x2="188" y2="-103.5" >
48
+ <stop offset="0" style="stop-color:#fdae61;stop-opacity:1.;"/>
49
+ <stop offset="1" style="stop-color:#fee08b;stop-opacity:1.;"/>
50
+ </linearGradient>
51
+ </defs>
52
+ <polygon fill="url(#l_4)" stroke="none" points="153,-86 153,-121 188,-121 188,-86 153,-86"/>
53
+ <text xml:space="preserve" text-anchor="start" x="163" y="-97.7" font-family="Helvetica,Arial,sans-serif" font-size="14.00">03</text>
54
+ </g>
55
+ <!-- a1 -->
56
+ <g id="node2" class="node">
57
+ <title>a1</title>
58
+ <ellipse fill="none" stroke="black" cx="103" cy="-18" rx="27" ry="18"/>
59
+ <text xml:space="preserve" text-anchor="middle" x="103" y="-12.2" font-family="Helvetica,Arial,sans-serif" font-size="14.00">a1</text>
60
+ </g>
61
+ <!-- a0&#45;&gt;a1 -->
62
+ <g id="edge1" class="edge">
63
+ <title>a0&#45;&gt;a1</title>
64
+ <path fill="none" stroke="black" d="M103,-72.35C103,-64.29 103,-55.6 103,-47.62"/>
65
+ <polygon fill="black" stroke="black" points="106.5,-47.74 103,-37.74 99.5,-47.74 106.5,-47.74"/>
66
+ </g>
67
+ </g>
68
+ </svg>
@@ -0,0 +1,46 @@
1
+ digraph G {
2
+ fontname="Helvetica,Arial,sans-serif"
3
+ node [fontname="Helvetica,Arial,sans-serif"]
4
+ edge [fontname="Helvetica,Arial,sans-serif"]
5
+ subgraph cluster_1 {
6
+ node [ style=filled,shape="box",fillcolor="antiquewhite:aquamarine" ]n5;
7
+ node [ shape="ellipse",fillcolor="bisque4:blue2" ]n4;
8
+ node [ shape="circle",fillcolor="cadetblue1:chocolate1" ]n3;
9
+ node [ shape="diamond",fillcolor="crimson:cyan4" ]n2;
10
+ node [ shape="triangle",fillcolor="deepskyblue2:firebrick" ]n1;
11
+ node [ shape="pentagon",fillcolor="gray24:gray88" ]n0;
12
+
13
+ label = "X11 Colors";
14
+ }
15
+ subgraph cluster_2 {
16
+ node [ style=filled,shape="box",fillcolor="bisque:brown" ]n11;
17
+ node [ shape="ellipse",fillcolor="green:darkorchid" ]n10;
18
+ node [ shape="circle",fillcolor="deepskyblue:gold" ]n9;
19
+ node [ shape="diamond",fillcolor="lightseagreen:orangered" ]n8;
20
+ node [ shape="triangle",fillcolor="turquoise:salmon" ]n7;
21
+ node [ shape="pentagon",fillcolor="snow:black" ]n6;
22
+
23
+ label = "SVG Colors";
24
+ }
25
+ subgraph cluster_3 {
26
+ node [ style=filled,shape="box",fillcolor="/accent3/1:/accent3/3" ]n17;
27
+ node [ shape="ellipse",fillcolor="/accent4/1:/accent4/4" ]n16;
28
+ node [ shape="circle",fillcolor="/accent5/1:/accent5/5" ]n15;
29
+ node [ shape="diamond",fillcolor="/accent6/1:/accent6/6" ]n14;
30
+ node [ shape="triangle",fillcolor="/accent7/1:/accent7/7" ]n13;
31
+ node [ shape="pentagon",fillcolor="/accent8/1:/accent8/8" ]n12;
32
+
33
+ label = "Brewer - accent";
34
+ }
35
+ subgraph cluster_4 {
36
+ node [ style=filled,shape="box",fillcolor="/blues3/1:/blues3/2" ]n23;
37
+ node [ shape="ellipse",fillcolor="/blues4/1:/blues4/3" ]n22;
38
+ node [ shape="circle",fillcolor="/blues5/1:/blues5/4" ]n21;
39
+ node [ shape="diamond",fillcolor="/blues6/1:/blues6/5" ]n20;
40
+ node [ shape="triangle",fillcolor="/blues7/1:/blues7/6" ]n19;
41
+ node [ shape="pentagon",fillcolor="/blues8/1:/blues8/7" ]n18;
42
+
43
+ label = "Brewer - blues";
44
+ }
45
+ n3 -> n9 -> n15 -> n21;
46
+ }
@@ -0,0 +1,339 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <!-- Generated by graphviz version 14.1.2 (0)
5
+ -->
6
+ <!-- Title: G Pages: 1 -->
7
+ <svg width="520pt" height="396pt"
8
+ viewBox="0.00 0.00 520.00 396.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 392.09)">
10
+ <title>G</title>
11
+ <polygon fill="white" stroke="none" points="-4,4 -4,-392.09 516,-392.09 516,4 -4,4"/>
12
+ <g id="clust1" class="cluster">
13
+ <title>cluster_1</title>
14
+ <polygon fill="none" stroke="black" points="13,-295.09 13,-380.09 459,-380.09 459,-295.09 13,-295.09"/>
15
+ <text xml:space="preserve" text-anchor="middle" x="236" y="-362.79" font-family="Helvetica,Arial,sans-serif" font-size="14.00">X11 Colors</text>
16
+ </g>
17
+ <g id="clust2" class="cluster">
18
+ <title>cluster_2</title>
19
+ <polygon fill="none" stroke="black" points="13,-202.09 13,-287.09 459,-287.09 459,-202.09 13,-202.09"/>
20
+ <text xml:space="preserve" text-anchor="middle" x="236" y="-269.79" font-family="Helvetica,Arial,sans-serif" font-size="14.00">SVG Colors</text>
21
+ </g>
22
+ <g id="clust3" class="cluster">
23
+ <title>cluster_3</title>
24
+ <polygon fill="none" stroke="black" points="8,-105.05 8,-194.09 504,-194.09 504,-105.05 8,-105.05"/>
25
+ <text xml:space="preserve" text-anchor="middle" x="256" y="-176.79" font-family="Helvetica,Arial,sans-serif" font-size="14.00">Brewer &#45; accent</text>
26
+ </g>
27
+ <g id="clust4" class="cluster">
28
+ <title>cluster_4</title>
29
+ <polygon fill="none" stroke="black" points="8,-8 8,-97.05 504,-97.05 504,-8 8,-8"/>
30
+ <text xml:space="preserve" text-anchor="middle" x="256" y="-79.75" font-family="Helvetica,Arial,sans-serif" font-size="14.00">Brewer &#45; blues</text>
31
+ </g>
32
+ <!-- n5 -->
33
+ <g id="node1" class="node">
34
+ <title>n5</title>
35
+ <defs>
36
+ <linearGradient id="node1_l_0" gradientUnits="userSpaceOnUse" x1="21" y1="-326.09" x2="75" y2="-326.09" >
37
+ <stop offset="0" style="stop-color:antiquewhite;stop-opacity:1.;"/>
38
+ <stop offset="1" style="stop-color:aquamarine;stop-opacity:1.;"/>
39
+ </linearGradient>
40
+ </defs>
41
+ <polygon fill="url(#node1_l_0)" stroke="black" points="75,-344.09 21,-344.09 21,-308.09 75,-308.09 75,-344.09"/>
42
+ <text xml:space="preserve" text-anchor="middle" x="48" y="-320.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n5</text>
43
+ </g>
44
+ <!-- n4 -->
45
+ <g id="node2" class="node">
46
+ <title>n4</title>
47
+ <defs>
48
+ <linearGradient id="node2_l_1" gradientUnits="userSpaceOnUse" x1="93" y1="-326.09" x2="147" y2="-326.09" >
49
+ <stop offset="0" style="stop-color:#8b7d6b;stop-opacity:1.;"/>
50
+ <stop offset="1" style="stop-color:#0000ee;stop-opacity:1.;"/>
51
+ </linearGradient>
52
+ </defs>
53
+ <ellipse fill="url(#node2_l_1)" stroke="black" cx="120" cy="-326.09" rx="27" ry="18"/>
54
+ <text xml:space="preserve" text-anchor="middle" x="120" y="-320.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n4</text>
55
+ </g>
56
+ <!-- n3 -->
57
+ <g id="node3" class="node">
58
+ <title>n3</title>
59
+ <defs>
60
+ <linearGradient id="node3_l_2" gradientUnits="userSpaceOnUse" x1="164.85" y1="-326.09" x2="205.15" y2="-326.09" >
61
+ <stop offset="0" style="stop-color:#98f5ff;stop-opacity:1.;"/>
62
+ <stop offset="1" style="stop-color:#ff7f24;stop-opacity:1.;"/>
63
+ </linearGradient>
64
+ </defs>
65
+ <ellipse fill="url(#node3_l_2)" stroke="black" cx="185" cy="-326.09" rx="20.15" ry="20.15"/>
66
+ <text xml:space="preserve" text-anchor="middle" x="185" y="-320.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n3</text>
67
+ </g>
68
+ <!-- n9 -->
69
+ <g id="node9" class="node">
70
+ <title>n9</title>
71
+ <defs>
72
+ <linearGradient id="node9_l_3" gradientUnits="userSpaceOnUse" x1="164.85" y1="-233.09" x2="205.15" y2="-233.09" >
73
+ <stop offset="0" style="stop-color:deepskyblue;stop-opacity:1.;"/>
74
+ <stop offset="1" style="stop-color:gold;stop-opacity:1.;"/>
75
+ </linearGradient>
76
+ </defs>
77
+ <ellipse fill="url(#node9_l_3)" stroke="black" cx="185" cy="-233.09" rx="20.15" ry="20.15"/>
78
+ <text xml:space="preserve" text-anchor="middle" x="185" y="-227.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n9</text>
79
+ </g>
80
+ <!-- n3&#45;&gt;n9 -->
81
+ <g id="edge1" class="edge">
82
+ <title>n3&#45;&gt;n9</title>
83
+ <path fill="none" stroke="black" d="M185,-305.79C185,-293.93 185,-278.46 185,-264.93"/>
84
+ <polygon fill="black" stroke="black" points="188.5,-265.19 185,-255.19 181.5,-265.19 188.5,-265.19"/>
85
+ </g>
86
+ <!-- n2 -->
87
+ <g id="node4" class="node">
88
+ <title>n2</title>
89
+ <defs>
90
+ <linearGradient id="node4_l_4" gradientUnits="userSpaceOnUse" x1="223.51" y1="-326.09" x2="280.49" y2="-326.09" >
91
+ <stop offset="0" style="stop-color:crimson;stop-opacity:1.;"/>
92
+ <stop offset="1" style="stop-color:#008b8b;stop-opacity:1.;"/>
93
+ </linearGradient>
94
+ </defs>
95
+ <polygon fill="url(#node4_l_4)" stroke="black" points="252,-344.09 223.51,-326.09 252,-308.09 280.49,-326.09 252,-344.09"/>
96
+ <text xml:space="preserve" text-anchor="middle" x="252" y="-320.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n2</text>
97
+ </g>
98
+ <!-- n1 -->
99
+ <g id="node5" class="node">
100
+ <title>n1</title>
101
+ <defs>
102
+ <linearGradient id="node5_l_5" gradientUnits="userSpaceOnUse" x1="298.7" y1="-331.84" x2="379.3" y2="-331.84" >
103
+ <stop offset="0" style="stop-color:#00b2ee;stop-opacity:1.;"/>
104
+ <stop offset="1" style="stop-color:firebrick;stop-opacity:1.;"/>
105
+ </linearGradient>
106
+ </defs>
107
+ <polygon fill="url(#node5_l_5)" stroke="black" points="339,-349.09 298.7,-314.59 379.3,-314.59 339,-349.09"/>
108
+ <text xml:space="preserve" text-anchor="middle" x="339" y="-320.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n1</text>
109
+ </g>
110
+ <!-- n0 -->
111
+ <g id="node6" class="node">
112
+ <title>n0</title>
113
+ <defs>
114
+ <linearGradient id="node6_l_6" gradientUnits="userSpaceOnUse" x1="397" y1="-327.81" x2="451" y2="-327.81" >
115
+ <stop offset="0" style="stop-color:#3d3d3d;stop-opacity:1.;"/>
116
+ <stop offset="1" style="stop-color:#e0e0e0;stop-opacity:1.;"/>
117
+ </linearGradient>
118
+ </defs>
119
+ <polygon fill="url(#node6_l_6)" stroke="black" points="451,-331.65 424,-344.09 397,-331.65 407.31,-311.53 440.69,-311.53 451,-331.65"/>
120
+ <text xml:space="preserve" text-anchor="middle" x="424" y="-320.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n0</text>
121
+ </g>
122
+ <!-- n11 -->
123
+ <g id="node7" class="node">
124
+ <title>n11</title>
125
+ <defs>
126
+ <linearGradient id="node7_l_7" gradientUnits="userSpaceOnUse" x1="21" y1="-233.09" x2="75" y2="-233.09" >
127
+ <stop offset="0" style="stop-color:bisque;stop-opacity:1.;"/>
128
+ <stop offset="1" style="stop-color:brown;stop-opacity:1.;"/>
129
+ </linearGradient>
130
+ </defs>
131
+ <polygon fill="url(#node7_l_7)" stroke="black" points="75,-251.09 21,-251.09 21,-215.09 75,-215.09 75,-251.09"/>
132
+ <text xml:space="preserve" text-anchor="middle" x="48" y="-227.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n11</text>
133
+ </g>
134
+ <!-- n10 -->
135
+ <g id="node8" class="node">
136
+ <title>n10</title>
137
+ <defs>
138
+ <linearGradient id="node8_l_8" gradientUnits="userSpaceOnUse" x1="93" y1="-233.09" x2="147" y2="-233.09" >
139
+ <stop offset="0" style="stop-color:green;stop-opacity:1.;"/>
140
+ <stop offset="1" style="stop-color:darkorchid;stop-opacity:1.;"/>
141
+ </linearGradient>
142
+ </defs>
143
+ <ellipse fill="url(#node8_l_8)" stroke="black" cx="120" cy="-233.09" rx="27" ry="18"/>
144
+ <text xml:space="preserve" text-anchor="middle" x="120" y="-227.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n10</text>
145
+ </g>
146
+ <!-- n15 -->
147
+ <g id="node15" class="node">
148
+ <title>n15</title>
149
+ <defs>
150
+ <linearGradient id="node15_l_9" gradientUnits="userSpaceOnUse" x1="159.98" y1="-138.07" x2="210.02" y2="-138.07" >
151
+ <stop offset="0" style="stop-color:#7fc97f;stop-opacity:1.;"/>
152
+ <stop offset="1" style="stop-color:#386cb0;stop-opacity:1.;"/>
153
+ </linearGradient>
154
+ </defs>
155
+ <ellipse fill="url(#node15_l_9)" stroke="black" cx="185" cy="-138.07" rx="25.02" ry="25.02"/>
156
+ <text xml:space="preserve" text-anchor="middle" x="185" y="-132.27" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n15</text>
157
+ </g>
158
+ <!-- n9&#45;&gt;n15 -->
159
+ <g id="edge2" class="edge">
160
+ <title>n9&#45;&gt;n15</title>
161
+ <path fill="none" stroke="black" d="M185,-212.82C185,-201.82 185,-187.68 185,-174.73"/>
162
+ <polygon fill="black" stroke="black" points="188.5,-174.8 185,-164.8 181.5,-174.8 188.5,-174.8"/>
163
+ </g>
164
+ <!-- n8 -->
165
+ <g id="node10" class="node">
166
+ <title>n8</title>
167
+ <defs>
168
+ <linearGradient id="node10_l_10" gradientUnits="userSpaceOnUse" x1="223.51" y1="-233.09" x2="280.49" y2="-233.09" >
169
+ <stop offset="0" style="stop-color:lightseagreen;stop-opacity:1.;"/>
170
+ <stop offset="1" style="stop-color:orangered;stop-opacity:1.;"/>
171
+ </linearGradient>
172
+ </defs>
173
+ <polygon fill="url(#node10_l_10)" stroke="black" points="252,-251.09 223.51,-233.09 252,-215.09 280.49,-233.09 252,-251.09"/>
174
+ <text xml:space="preserve" text-anchor="middle" x="252" y="-227.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n8</text>
175
+ </g>
176
+ <!-- n7 -->
177
+ <g id="node11" class="node">
178
+ <title>n7</title>
179
+ <defs>
180
+ <linearGradient id="node11_l_11" gradientUnits="userSpaceOnUse" x1="298.7" y1="-238.84" x2="379.3" y2="-238.84" >
181
+ <stop offset="0" style="stop-color:turquoise;stop-opacity:1.;"/>
182
+ <stop offset="1" style="stop-color:salmon;stop-opacity:1.;"/>
183
+ </linearGradient>
184
+ </defs>
185
+ <polygon fill="url(#node11_l_11)" stroke="black" points="339,-256.09 298.7,-221.59 379.3,-221.59 339,-256.09"/>
186
+ <text xml:space="preserve" text-anchor="middle" x="339" y="-227.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n7</text>
187
+ </g>
188
+ <!-- n6 -->
189
+ <g id="node12" class="node">
190
+ <title>n6</title>
191
+ <defs>
192
+ <linearGradient id="node12_l_12" gradientUnits="userSpaceOnUse" x1="397" y1="-234.81" x2="451" y2="-234.81" >
193
+ <stop offset="0" style="stop-color:snow;stop-opacity:1.;"/>
194
+ <stop offset="1" style="stop-color:black;stop-opacity:1.;"/>
195
+ </linearGradient>
196
+ </defs>
197
+ <polygon fill="url(#node12_l_12)" stroke="black" points="451,-238.65 424,-251.09 397,-238.65 407.31,-218.53 440.69,-218.53 451,-238.65"/>
198
+ <text xml:space="preserve" text-anchor="middle" x="424" y="-227.29" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n6</text>
199
+ </g>
200
+ <!-- n17 -->
201
+ <g id="node13" class="node">
202
+ <title>n17</title>
203
+ <defs>
204
+ <linearGradient id="node13_l_13" gradientUnits="userSpaceOnUse" x1="16" y1="-138.07" x2="70" y2="-138.07" >
205
+ <stop offset="0" style="stop-color:#7fc97f;stop-opacity:1.;"/>
206
+ <stop offset="1" style="stop-color:#fdc086;stop-opacity:1.;"/>
207
+ </linearGradient>
208
+ </defs>
209
+ <polygon fill="url(#node13_l_13)" stroke="black" points="70,-156.07 16,-156.07 16,-120.07 70,-120.07 70,-156.07"/>
210
+ <text xml:space="preserve" text-anchor="middle" x="43" y="-132.27" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n17</text>
211
+ </g>
212
+ <!-- n16 -->
213
+ <g id="node14" class="node">
214
+ <title>n16</title>
215
+ <defs>
216
+ <linearGradient id="node14_l_14" gradientUnits="userSpaceOnUse" x1="88" y1="-138.07" x2="142" y2="-138.07" >
217
+ <stop offset="0" style="stop-color:#7fc97f;stop-opacity:1.;"/>
218
+ <stop offset="1" style="stop-color:#ffff99;stop-opacity:1.;"/>
219
+ </linearGradient>
220
+ </defs>
221
+ <ellipse fill="url(#node14_l_14)" stroke="black" cx="115" cy="-138.07" rx="27" ry="18"/>
222
+ <text xml:space="preserve" text-anchor="middle" x="115" y="-132.27" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n16</text>
223
+ </g>
224
+ <!-- n21 -->
225
+ <g id="node21" class="node">
226
+ <title>n21</title>
227
+ <defs>
228
+ <linearGradient id="node21_l_15" gradientUnits="userSpaceOnUse" x1="159.98" y1="-41.02" x2="210.02" y2="-41.02" >
229
+ <stop offset="0" style="stop-color:#eff3ff;stop-opacity:1.;"/>
230
+ <stop offset="1" style="stop-color:#3182bd;stop-opacity:1.;"/>
231
+ </linearGradient>
232
+ </defs>
233
+ <ellipse fill="url(#node21_l_15)" stroke="black" cx="185" cy="-41.02" rx="25.02" ry="25.02"/>
234
+ <text xml:space="preserve" text-anchor="middle" x="185" y="-35.22" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n21</text>
235
+ </g>
236
+ <!-- n15&#45;&gt;n21 -->
237
+ <g id="edge3" class="edge">
238
+ <title>n15&#45;&gt;n21</title>
239
+ <path fill="none" stroke="black" d="M185,-112.59C185,-101.95 185,-89.27 185,-77.62"/>
240
+ <polygon fill="black" stroke="black" points="188.5,-77.93 185,-67.93 181.5,-77.93 188.5,-77.93"/>
241
+ </g>
242
+ <!-- n14 -->
243
+ <g id="node16" class="node">
244
+ <title>n14</title>
245
+ <defs>
246
+ <linearGradient id="node16_l_16" gradientUnits="userSpaceOnUse" x1="227.61" y1="-138.07" x2="298.39" y2="-138.07" >
247
+ <stop offset="0" style="stop-color:#7fc97f;stop-opacity:1.;"/>
248
+ <stop offset="1" style="stop-color:#f0027f;stop-opacity:1.;"/>
249
+ </linearGradient>
250
+ </defs>
251
+ <polygon fill="url(#node16_l_16)" stroke="black" points="263,-156.07 227.61,-138.07 263,-120.07 298.39,-138.07 263,-156.07"/>
252
+ <text xml:space="preserve" text-anchor="middle" x="263" y="-132.27" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n14</text>
253
+ </g>
254
+ <!-- n13 -->
255
+ <g id="node17" class="node">
256
+ <title>n13</title>
257
+ <defs>
258
+ <linearGradient id="node17_l_17" gradientUnits="userSpaceOnUse" x1="315.95" y1="-143.82" x2="416.05" y2="-143.82" >
259
+ <stop offset="0" style="stop-color:#7fc97f;stop-opacity:1.;"/>
260
+ <stop offset="1" style="stop-color:#bf5b17;stop-opacity:1.;"/>
261
+ </linearGradient>
262
+ </defs>
263
+ <polygon fill="url(#node17_l_17)" stroke="black" points="366,-161.07 315.95,-126.57 416.05,-126.57 366,-161.07"/>
264
+ <text xml:space="preserve" text-anchor="middle" x="366" y="-132.27" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n13</text>
265
+ </g>
266
+ <!-- n12 -->
267
+ <g id="node18" class="node">
268
+ <title>n12</title>
269
+ <defs>
270
+ <linearGradient id="node18_l_18" gradientUnits="userSpaceOnUse" x1="434.07" y1="-139.79" x2="495.93" y2="-139.79" >
271
+ <stop offset="0" style="stop-color:#7fc97f;stop-opacity:1.;"/>
272
+ <stop offset="1" style="stop-color:#666666;stop-opacity:1.;"/>
273
+ </linearGradient>
274
+ </defs>
275
+ <polygon fill="url(#node18_l_18)" stroke="black" points="495.93,-143.63 465,-156.07 434.07,-143.63 445.88,-123.51 484.12,-123.51 495.93,-143.63"/>
276
+ <text xml:space="preserve" text-anchor="middle" x="465" y="-132.27" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n12</text>
277
+ </g>
278
+ <!-- n23 -->
279
+ <g id="node19" class="node">
280
+ <title>n23</title>
281
+ <defs>
282
+ <linearGradient id="node19_l_19" gradientUnits="userSpaceOnUse" x1="16" y1="-41.02" x2="70" y2="-41.02" >
283
+ <stop offset="0" style="stop-color:#deebf7;stop-opacity:1.;"/>
284
+ <stop offset="1" style="stop-color:#9ecae1;stop-opacity:1.;"/>
285
+ </linearGradient>
286
+ </defs>
287
+ <polygon fill="url(#node19_l_19)" stroke="black" points="70,-59.02 16,-59.02 16,-23.02 70,-23.02 70,-59.02"/>
288
+ <text xml:space="preserve" text-anchor="middle" x="43" y="-35.22" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n23</text>
289
+ </g>
290
+ <!-- n22 -->
291
+ <g id="node20" class="node">
292
+ <title>n22</title>
293
+ <defs>
294
+ <linearGradient id="node20_l_20" gradientUnits="userSpaceOnUse" x1="88" y1="-41.02" x2="142" y2="-41.02" >
295
+ <stop offset="0" style="stop-color:#eff3ff;stop-opacity:1.;"/>
296
+ <stop offset="1" style="stop-color:#6baed6;stop-opacity:1.;"/>
297
+ </linearGradient>
298
+ </defs>
299
+ <ellipse fill="url(#node20_l_20)" stroke="black" cx="115" cy="-41.02" rx="27" ry="18"/>
300
+ <text xml:space="preserve" text-anchor="middle" x="115" y="-35.22" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n22</text>
301
+ </g>
302
+ <!-- n20 -->
303
+ <g id="node22" class="node">
304
+ <title>n20</title>
305
+ <defs>
306
+ <linearGradient id="node22_l_21" gradientUnits="userSpaceOnUse" x1="227.61" y1="-41.02" x2="298.39" y2="-41.02" >
307
+ <stop offset="0" style="stop-color:#eff3ff;stop-opacity:1.;"/>
308
+ <stop offset="1" style="stop-color:#3182bd;stop-opacity:1.;"/>
309
+ </linearGradient>
310
+ </defs>
311
+ <polygon fill="url(#node22_l_21)" stroke="black" points="263,-59.02 227.61,-41.02 263,-23.02 298.39,-41.02 263,-59.02"/>
312
+ <text xml:space="preserve" text-anchor="middle" x="263" y="-35.22" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n20</text>
313
+ </g>
314
+ <!-- n19 -->
315
+ <g id="node23" class="node">
316
+ <title>n19</title>
317
+ <defs>
318
+ <linearGradient id="node23_l_22" gradientUnits="userSpaceOnUse" x1="315.95" y1="-46.77" x2="416.05" y2="-46.77" >
319
+ <stop offset="0" style="stop-color:#eff3ff;stop-opacity:1.;"/>
320
+ <stop offset="1" style="stop-color:#2171b5;stop-opacity:1.;"/>
321
+ </linearGradient>
322
+ </defs>
323
+ <polygon fill="url(#node23_l_22)" stroke="black" points="366,-64.02 315.95,-29.52 416.05,-29.52 366,-64.02"/>
324
+ <text xml:space="preserve" text-anchor="middle" x="366" y="-35.22" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n19</text>
325
+ </g>
326
+ <!-- n18 -->
327
+ <g id="node24" class="node">
328
+ <title>n18</title>
329
+ <defs>
330
+ <linearGradient id="node24_l_23" gradientUnits="userSpaceOnUse" x1="434.07" y1="-42.74" x2="495.93" y2="-42.74" >
331
+ <stop offset="0" style="stop-color:#f7fbff;stop-opacity:1.;"/>
332
+ <stop offset="1" style="stop-color:#2171b5;stop-opacity:1.;"/>
333
+ </linearGradient>
334
+ </defs>
335
+ <polygon fill="url(#node24_l_23)" stroke="black" points="495.93,-46.59 465,-59.02 434.07,-46.59 445.88,-26.46 484.12,-26.46 495.93,-46.59"/>
336
+ <text xml:space="preserve" text-anchor="middle" x="465" y="-35.22" font-family="Helvetica,Arial,sans-serif" font-size="14.00">n18</text>
337
+ </g>
338
+ </g>
339
+ </svg>
@@ -0,0 +1,151 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg
3
+ width="1024"
4
+ height="1024"
5
+ viewBox="0 0 1024 1024"
6
+ version="1.1"
7
+ id="svg22"
8
+ sodipodi:docname="logo.svg"
9
+ inkscape:version="1.4.2 (1:1.4.2+202505120738+ebf0e940d0)"
10
+ inkscape:export-filename="logo.png"
11
+ inkscape:export-xdpi="24"
12
+ inkscape:export-ydpi="24"
13
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
14
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ xmlns:svg="http://www.w3.org/2000/svg">
17
+ <defs
18
+ id="defs22" />
19
+ <sodipodi:namedview
20
+ id="namedview22"
21
+ pagecolor="#ffffff"
22
+ bordercolor="#666666"
23
+ borderopacity="1.0"
24
+ inkscape:showpageshadow="2"
25
+ inkscape:pageopacity="0.0"
26
+ inkscape:pagecheckerboard="0"
27
+ inkscape:deskcolor="#d1d1d1"
28
+ inkscape:zoom="0.78808594"
29
+ inkscape:cx="512.63445"
30
+ inkscape:cy="512"
31
+ inkscape:window-width="1860"
32
+ inkscape:window-height="1016"
33
+ inkscape:window-x="60"
34
+ inkscape:window-y="27"
35
+ inkscape:window-maximized="1"
36
+ inkscape:current-layer="svg22" />
37
+ <g
38
+ id="g1"
39
+ transform="translate(0,5.5421915)">
40
+ <path
41
+ fill="#283618"
42
+ d="m 133.23739,324.76568 c -6.88854,-0.42566 -13.95337,-0.0605 -20.86004,-0.0403 l -38.328181,0.0907 C 30.244923,324.87402 1.4017585,313.79447 0.63885724,264.76879 -0.01095999,223.01951 0.6035987,181.17704 0.59578826,139.4177 L 0.53085005,102.58989 C 0.4721602,65.642678 10.232473,34.887352 56.008833,34.621127 l 195.298247,7.59e-4 c 55.47344,-0.02566 73.99817,14.874431 73.88483,71.942444 l -0.0555,32.54106 c -0.1889,20.56232 -0.29468,41.19517 0,61.75497 l 0.0453,42.98089 c 0.0202,53.10087 -6.42005,79.95985 -65.40451,80.86404 -22.08106,0.3375 -44.86485,-1.4986 -66.84518,0.0605 z M 84.182743,134.56167 v 46.72614 H 246.01282 v -46.72614 z m 0,66.29863 v 45.34591 H 246.01282 V 200.8603 Z"
43
+ id="path1"
44
+ style="stroke-width:2.51865" />
45
+ <path
46
+ fill="#d8c788"
47
+ d="m 437.21421,139.10532 c 35.87073,-62.118919 111.85612,-64.286984 148.70912,0 l 74.47924,-0.0277 c 12.68648,-0.0152 25.73565,-0.65485 38.38435,0.0277 -31.33463,2.83349 -80.71039,0.44832 -112.86359,0 8.35188,23.64012 9.51549,37.34414 2.62444,61.75498 11.14003,-0.0504 22.31279,-0.28713 33.44779,0 -10.92847,0.46847 -22.53444,0.73796 -33.44779,0 -16.00606,38.79992 -42.4419,51.20935 -81.48613,52.40068 -16.74404,-1.18378 -33.75505,-6.97921 -45.97811,-18.8698 -10.4625,-10.27612 -18.82948,-19.45662 -23.86932,-33.53088 -9.75476,-17.95552 -8.81782,-43.7088 0,-61.75498 z"
48
+ id="path2"
49
+ style="stroke-width:2.51865" />
50
+ <path
51
+ fill="#d8c788"
52
+ d="M 84.182743,181.28781 V 134.56167 H 246.01282 v 46.72614 z"
53
+ id="path3"
54
+ style="stroke-width:2.51865" />
55
+ <path
56
+ fill="#bc6c25"
57
+ d="m 325.13645,139.10532 h 112.07776 c -8.81782,18.04618 -9.75476,43.79946 0,61.75498 H 325.13645 c -0.29468,-20.55981 -0.1889,-41.19265 0,-61.75498 z"
58
+ id="path4"
59
+ style="stroke-width:2.51865" />
60
+ <path
61
+ fill="#bc6c25"
62
+ d="m 698.78692,139.10532 141.79289,-0.0555 c 60.5838,-0.29972 48.83173,32.53601 48.80907,79.15638 l -0.01,106.55938 h -61.1052 V 200.8603 H 621.99556 c -11.135,-0.28713 -22.30776,-0.0504 -33.44779,0 6.89105,-24.41084 5.72744,-38.11486 -2.62444,-61.75498 32.1532,0.44832 81.52896,2.83349 112.86359,0 z"
63
+ id="path5"
64
+ style="stroke-width:2.51865" />
65
+ <path
66
+ fill="#d8c788"
67
+ d="M 84.182743,246.20621 V 200.8603 H 246.01282 v 45.34591 z"
68
+ id="path6"
69
+ style="stroke-width:2.51865" />
70
+ <path
71
+ fill="#283618"
72
+ d="m 461.08353,234.39118 c 12.22306,11.89059 29.23407,17.68602 45.97811,18.8698 -25.55178,26.47361 -51.73072,52.17903 -77.85172,78.07838 L 334.3497,425.7009 c -10.13508,9.99654 -20.92249,19.53218 -30.52361,30.04254 l 88.43764,-0.008 c 14.15485,0.0126 28.35253,-0.3501 42.50234,0.008 -9.25102,26.66756 -1.53133,41.42185 -3.71501,49.20199 l -117.27375,0.01 c -18.88994,0.008 -38.23323,0.89412 -57.07532,-0.01 5.21615,9.10495 23.19181,25.58955 31.41523,33.70971 l 57.23146,56.92671 c 11.01409,10.86801 23.6502,21.72091 33.4503,33.62661 26.52902,-26.40814 52.5241,-53.55171 80.20162,-78.76348 21.34311,17.15962 26.44843,12.70411 46.4642,19.41129 -13.4723,15.18751 -28.77566,28.97968 -43.20002,43.28063 l -29.62445,28.93685 c -6.65429,6.48304 -13.23807,13.3363 -20.41372,19.24256 24.89441,27.96465 64.78744,68.87521 93.23819,94.46981 -19.51708,5.23882 -30.15588,6.71979 -46.4642,19.68835 -7.34188,-6.25634 -13.87277,-13.66623 -20.78144,-20.42379 L 228.46784,545.89125 c 1.92929,-3.48834 5.16829,-6.86838 7.61391,-10.06708 17.86232,-23.34544 16.11185,-57.24658 3.67724,-82.44323 34.68191,-33.1279 68.10702,-67.61085 101.83941,-101.69586 l 86.32448,-85.81822 c 10.77734,-10.7169 21.44889,-21.77632 33.16065,-31.47568 z"
73
+ id="path7"
74
+ style="stroke-width:2.51865" />
75
+ <path
76
+ fill="#bc6c25"
77
+ d="m 133.23739,324.76568 h 59.6947 v 93.33894 c -19.59011,-7.05477 -41.00122,-4.22631 -59.6947,3.89133 0.3249,-9.74469 0.7833,-19.62791 0,-29.35748 0.0151,-22.51428 -0.97221,-45.39378 0,-67.87279 z"
78
+ id="path8"
79
+ style="stroke-width:2.51865" />
80
+ <path
81
+ fill="#283618"
82
+ d="m 695.54036,455.74344 c 1.90663,-32.803 -8.22845,-92.0242 15.06159,-115.02962 18.46931,-18.24516 42.27818,-15.98341 66.18276,-15.99097 l 51.48893,0.0428 h 61.10517 l 49.1113,-0.0428 c 53.93958,-0.0252 84.93929,1.69506 85.01979,69.01627 l 0.2972,167.57135 c -0.5616,74.8394 -88.99926,55.96962 -138.03753,56.91916 -19.74125,0.39794 -39.55049,0.0327 -59.29677,0 l -42.77437,0.0579 c -60.73744,0.2166 -88.25378,-8.89841 -88.216,-75.21216 l 0.0579,-35.09246 c 1.02762,-16.99339 0.59944,-35.23351 0,-52.23949 z m 107.78597,-82.32233 c -6.92126,1.38274 -12.77715,3.96184 -16.97575,9.97136 -12.74441,18.23005 12.87789,35.64909 24.10608,46.76644 14.66866,14.52511 29.36251,29.0502 43.78183,43.82465 -16.40654,17.8598 -61.38977,55.84621 -71.78931,73.81179 -1.09059,16.3864 11.08965,30.6571 28.53639,24.49648 13.47482,-7.0321 28.21401,-26.09079 39.35907,-36.95376 l 31.01979,-30.68229 c 9.64898,-9.58602 28.69759,-23.30011 20.47669,-39.01905 -5.31689,-10.16783 -39.61094,-41.20776 -50.03566,-51.60226 -10.04692,-10.01922 -33.76765,-40.15497 -48.47913,-40.61336 z"
83
+ id="path9"
84
+ style="stroke-width:2.51865" />
85
+ <path
86
+ fill="#d8c788"
87
+ d="m 133.23739,392.63847 c 0.7833,9.72957 0.3249,19.61279 0,29.35748 18.69348,-8.11764 40.10459,-10.9461 59.6947,-3.89133 20.95272,6.03722 34.0044,18.04366 46.8269,35.27632 12.43461,25.19665 14.18508,59.09779 -3.67724,82.44323 -2.44562,3.1987 -5.68462,6.57874 -7.61391,10.06708 -6.65178,3.21129 -11.98125,10.40961 -18.32072,14.50747 -5.3597,3.46063 -11.6236,5.21614 -17.21503,8.21586 -23.15149,5.43023 -37.85038,3.62435 -59.6947,-5.01717 -12.91064,-9.19058 -25.34047,-17.5349 -33.580519,-31.51345 -24.632468,-41.79209 -6.820777,-86.62672 33.580519,-110.08801 -0.0579,-9.77995 -0.24683,-19.58006 0,-29.35748 z"
88
+ id="path10"
89
+ style="stroke-width:2.51865" />
90
+ <path
91
+ fill="#d8c788"
92
+ d="m 434.76607,455.74344 c 32.26149,-56.41038 100.27534,-70.71636 142.81799,-18.09152 5.01213,6.20093 7.96903,17.70617 14.24301,18.09152 l -1.8361,0.89664 c 2.08041,21.91485 8.2889,24.41084 1.8361,51.34285 l 48.40357,-0.0428 c 6.8986,-0.0152 14.68126,-0.87145 21.45392,0.0428 -23.24468,0.71781 -46.59517,-0.32995 -69.85749,0 -9.31903,33.82054 -36.41475,60.37222 -72.48446,61.56355 -4.52099,0.14861 -9.4097,-0.26445 -13.87781,0.30979 -20.01577,-6.70718 -25.12109,-2.25167 -46.4642,-19.41129 -22.32034,-19.91755 -18.75392,-33.9918 -27.94954,-45.49955 2.18368,-7.78014 -5.53601,-22.53443 3.71501,-49.20199 z"
93
+ id="path11"
94
+ style="stroke-width:2.51865" />
95
+ <path
96
+ fill="#bc6c25"
97
+ d="m 591.82707,455.74344 c 34.55851,0.008 69.15731,-0.38283 103.71329,0 0.59944,17.00598 1.02762,35.24611 0,52.23949 h -33.8558 c -6.77266,-0.91427 -14.55532,-0.0579 -21.45392,-0.0428 l -48.40357,0.0428 c 6.4528,-26.93201 0.24431,-29.428 -1.8361,-51.34285 z"
98
+ id="path12"
99
+ style="stroke-width:2.51865" />
100
+ <path
101
+ fill="#bc6c25"
102
+ d="m 133.23739,563.59741 c 21.84432,8.64152 36.54321,10.4474 59.6947,5.01717 v 127.13934 l -36.94367,0.0679 c -7.44767,0.0781 -15.38648,0.81101 -22.75103,-0.0679 z"
103
+ id="path13"
104
+ style="stroke-width:2.51865" />
105
+ <path
106
+ fill="#bc6c25"
107
+ d="m 826.4728,618.22963 c 19.74628,0.0327 39.55552,0.39794 59.29677,0 v 75.61263 c -19.74125,-0.0176 -39.56812,0.49365 -59.29677,0 z"
108
+ id="path14"
109
+ style="stroke-width:2.51865" />
110
+ <path
111
+ fill="#283618"
112
+ d="m 695.54036,805.08634 c 1.53135,-77.90965 -7.81791,-111.34735 83.96703,-111.29194 l 46.96541,0.0479 c 19.72865,0.49365 39.55552,-0.0176 59.29677,0 21.39599,-0.006 73.18716,-2.83854 90.66413,0.79085 55.6498,11.55561 47.0838,63.7699 47.1015,105.9675 l -0.032,109.21405 c -0.2015,55.87642 -28.11576,68.43949 -79.05309,68.47979 l -192.33984,-0.002 C 702.41675,977.98748 695.4451,942.76152 695.4854,901.3976 l 0.0555,-39.48248 z m 82.89407,-11.33648 c -0.0151,13.91307 -0.38283,27.93192 0,41.83491 l 106.64502,-0.006 c 17.44171,0 35.06728,-0.56418 52.47876,0.006 v -41.83491 z m 0,64.28118 v 41.48986 h 159.12378 c 0.77323,-13.73172 -0.0629,-27.72035 0,-41.48986 z"
113
+ id="path15"
114
+ style="stroke-width:2.51865" />
115
+ <path
116
+ fill="#283618"
117
+ d="m 328.36033,861.91481 0.0629,39.35404 c 0.0555,46.56747 -10.63628,76.51179 -62.57857,76.97522 l -195.629196,0.0277 C -9.0992809,978.15844 0.58017854,936.14974 0.59578826,878.75456 L 0.0013805,750.69088 C -0.29305067,696.58759 45.331943,695.77658 83.492881,695.74635 l 49.744509,0.008 c 7.36455,0.87901 15.30336,0.14608 22.75103,0.068 l 36.94367,-0.068 54.5365,-0.0202 c 61.16309,-0.0252 80.93708,10.18545 80.927,74.77139 l -0.0353,34.58118 z M 160.87713,751.88724 c -11.68404,2.44059 -17.6306,10.66148 -25.76335,18.7766 l -28.48199,28.52128 c -17.866094,17.78173 -49.905691,34.94638 -27.898668,60.27148 11.472986,13.20281 25.157108,24.89442 37.595248,37.20815 12.15127,12.02911 28.30091,34.06484 44.54876,39.18527 6.78779,0.4584 12.34898,-0.57426 17.52735,-5.26148 19.8848,-17.99832 -7.00942,-38.45234 -19.1544,-50.56961 l -38.34657,-38.22315 c 12.94339,-11.6765 62.63399,-54.4962 63.51552,-69.9532 0.67249,-11.78733 -12.30364,-21.54461 -23.5419,-19.95534 z"
118
+ id="path16"
119
+ style="stroke-width:2.51865" />
120
+ <path
121
+ fill="#d8c788"
122
+ d="m 505.4648,755.78612 c 38.41206,4.29936 60.49566,9.73714 80.45853,49.30022 l 74.53969,-0.0428 c 11.4347,-0.006 23.73835,-0.92434 35.07734,0.0428 -7.42752,1.30215 -22.18434,0.0202 -30.39012,0.01 l -79.22691,-0.01 c 8.58612,17.75402 9.79003,36.49032 3.22137,55.18128 l -0.59693,1.64719 c -2.85111,5.3043 -4.1457,11.24078 -6.86333,16.59544 -30.99965,61.06235 -130.71332,50.9323 -148.95344,-15.70635 -0.55914,-0.29468 -1.12835,-0.57929 -1.67994,-0.88909 l 1.36763,-0.50372 c -1.97211,-13.29852 -8.1529,-19.62287 -1.36763,-36.43239 l 0.34253,1.31977 c 0.11334,-0.87397 0.16372,-1.70008 0.1889,-2.58918 l 0.0226,-1.07294 c 0.12845,1.59683 0.30728,2.98209 0.72034,4.53862 l 0.72033,-0.0856 c 2.43807,-3.70747 3.28937,-11.16018 -0.5667,-14.31102 l 2.28694,-7.69197 c 3.31456,-2.25169 14.3211,-21.6932 24.23453,-29.61187 16.30831,-12.96856 26.94712,-14.44953 46.4642,-19.68835 z"
123
+ id="path17"
124
+ style="stroke-width:2.51865" />
125
+ <path
126
+ fill="#d8c788"
127
+ d="m 778.43443,835.58477 c -0.38283,-13.90299 -0.0151,-27.92184 0,-41.83491 h 159.12378 v 41.83491 c -17.41148,-0.56922 -35.03705,-0.006 -52.47876,-0.006 z"
128
+ id="path18"
129
+ style="stroke-width:2.51865" />
130
+ <path
131
+ fill="#bc6c25"
132
+ d="m 328.36033,805.08634 h 106.40574 l -2.28694,7.69198 c -1.12835,3.90392 -1.24169,8.15793 -1.42807,12.20038 -6.78527,16.80952 -0.60448,23.13387 1.36763,36.43239 l -1.36763,0.50372 H 328.36033 Z"
133
+ id="path19"
134
+ style="stroke-width:2.51865" />
135
+ <path
136
+ fill="#bc6c25"
137
+ d="m 695.54036,805.08634 v 0 56.82847 H 588.54777 l 0.59693,-1.64719 c 6.56866,-18.69096 5.36475,-37.42726 -3.22137,-55.18128 l 79.22691,0.01 c 8.20578,0.01 22.9626,1.29207 30.39012,-0.01 z"
138
+ id="path20"
139
+ style="stroke-width:2.51865" />
140
+ <path
141
+ fill="#cec787"
142
+ d="m 432.47913,812.77832 c 3.85607,3.15084 3.00477,10.60355 0.56671,14.31102 l -0.72034,0.0856 c -0.41306,-1.55654 -0.59188,-2.94179 -0.72033,-4.53863 l -0.0226,1.07294 c -0.0252,0.8891 -0.0755,1.71521 -0.1889,2.58919 l -0.34254,-1.31978 c 0.18638,-4.04245 0.29972,-8.29646 1.42808,-12.20038 z"
143
+ id="path21"
144
+ style="stroke-width:2.51865" />
145
+ <path
146
+ fill="#d8c788"
147
+ d="m 778.43443,899.5209 v -41.48986 h 159.12378 c -0.0629,13.76951 0.77323,27.75814 0,41.48986 z"
148
+ id="path22"
149
+ style="stroke-width:2.51865" />
150
+ </g>
151
+ </svg>
@@ -18,7 +18,7 @@ from PyQt5.QtSvg import QSvgRenderer
18
18
  from PyQt5.QtGui import QPainter
19
19
  from PyQt5.QtCore import QSize
20
20
  from PyQt5.QtWidgets import QShortcut
21
- from PyQt5.QtGui import QKeySequence, QTextDocument
21
+ from PyQt5.QtGui import QKeySequence, QTextDocument, QTextCursor
22
22
 
23
23
 
24
24
  import graphviz_code_viewer.about as about
@@ -47,6 +47,8 @@ DEFAULT_CONTENT={ "error_loading_svg": "Error loading SVG file",
47
47
  "action_saveimg_tooltip": "Save the output as binary or vector image (SVG,PNG,PDF)",
48
48
  "action_load_example": "Load example",
49
49
  "action_load_example_tooltip": "Select and load a example code",
50
+ "action_open_examples": "Examples folder",
51
+ "action_open_examples_tooltip": "Open the examples folder",
50
52
  "action_configure_window": "Conf. window",
51
53
  "action_configure_window_tooltip": "Open the configure window Json file",
52
54
  "action_configure_editor": "Conf. Editor",
@@ -55,7 +57,8 @@ DEFAULT_CONTENT={ "error_loading_svg": "Error loading SVG file",
55
57
  "action_about_tooltip": "About the program",
56
58
  "action_coffee": "Coffee",
57
59
  "action_coffee_tooltip": "Buy me a coffee (TrucomanX)",
58
- "file_path": "File path:",
60
+ "file_path": "Current file path:",
61
+ "no_saved": " (unsaved)",
59
62
  "warning":"Warning",
60
63
  "no_image_available":"No image available to save. Compile the code first.",
61
64
  "save_image":"Save image",
@@ -308,12 +311,78 @@ class TextEditor(QPlainTextEdit):
308
311
  self.toggle_search_bar()
309
312
  return
310
313
 
311
- if event.key() == Qt.Key_Tab:
312
- self.insertPlainText(CONFIG_EDITOR["tab_size"]*" ") # 4 espaços
314
+ if event.key() in (Qt.Key_Tab, Qt.Key_Backtab):
315
+ if event.modifiers() & Qt.ShiftModifier or event.key() == Qt.Key_Backtab:
316
+ self.indent_selection(outdent=True)
317
+ elif self.textCursor().hasSelection():
318
+ self.indent_selection()
319
+ else:
320
+ self.insertPlainText(CONFIG_EDITOR["tab_size"] * " ")
313
321
  return
314
322
 
315
323
  super().keyPressEvent(event)
316
324
 
325
+ def indent_selection(self, outdent=False):
326
+ cursor = self.textCursor()
327
+ anchor = cursor.anchor()
328
+ position = cursor.position()
329
+ selection_start = cursor.selectionStart()
330
+ selection_end = cursor.selectionEnd()
331
+
332
+ first_block = self.document().findBlock(selection_start)
333
+ last_block = self.document().findBlock(selection_end)
334
+ if selection_end > selection_start and last_block.position() == selection_end:
335
+ last_block = last_block.previous()
336
+
337
+ blocks = []
338
+ block = first_block
339
+ while block.isValid():
340
+ blocks.append(block.position())
341
+ if block == last_block:
342
+ break
343
+ block = block.next()
344
+
345
+ indent = " " * CONFIG_EDITOR["tab_size"]
346
+ changes = []
347
+ cursor.beginEditBlock()
348
+ for block_position in reversed(blocks):
349
+ line_cursor = QTextCursor(self.document())
350
+ line_cursor.setPosition(block_position)
351
+ line_text = line_cursor.block().text()
352
+
353
+ if outdent:
354
+ if line_text.startswith("\t"):
355
+ remove_count = 1
356
+ else:
357
+ spaces_to_remove = len(line_text) - len(line_text.lstrip(" "))
358
+ remove_count = min(CONFIG_EDITOR["tab_size"], spaces_to_remove)
359
+ if remove_count:
360
+ line_cursor.movePosition(QTextCursor.Right, QTextCursor.KeepAnchor, remove_count)
361
+ line_cursor.removeSelectedText()
362
+ changes.append((block_position, -remove_count))
363
+ else:
364
+ line_cursor.insertText(indent)
365
+ changes.append((block_position, len(indent)))
366
+ cursor.endEditBlock()
367
+
368
+ def adjusted(offset):
369
+ result = offset
370
+ for block_position, delta in changes:
371
+ if delta > 0 and block_position <= offset:
372
+ result += delta
373
+ elif delta < 0:
374
+ removed_end = block_position - delta
375
+ if offset >= removed_end:
376
+ result += delta
377
+ elif offset > block_position:
378
+ result = block_position
379
+ return result
380
+
381
+ restored_cursor = QTextCursor(self.document())
382
+ restored_cursor.setPosition(adjusted(anchor))
383
+ restored_cursor.setPosition(adjusted(position), QTextCursor.KeepAnchor)
384
+ self.setTextCursor(restored_cursor)
385
+
317
386
  def insertFromMimeData(self, source):
318
387
  text = source.text()
319
388
 
@@ -393,7 +462,15 @@ class MainWindow(QMainWindow):
393
462
  self.icon_path = resource_path("icons", "logo.png")
394
463
  self.setWindowIcon(QIcon(self.icon_path))
395
464
 
396
- self.data_path = resource_path("data")
465
+ packaged_data_path = resource_path("data")
466
+ self.data_path = os.path.join(
467
+ os.path.expanduser("~"), ".config", about.__package__, "examples"
468
+ )
469
+ os.makedirs(self.data_path, exist_ok=True)
470
+ with os.scandir(self.data_path) as examples:
471
+ examples_dir_is_empty = next(examples, None) is None
472
+ if examples_dir_is_empty:
473
+ shutil.copytree(packaged_data_path, self.data_path, dirs_exist_ok=True)
397
474
 
398
475
  # Toolbar
399
476
  self.func_toolbar()
@@ -421,6 +498,7 @@ class MainWindow(QMainWindow):
421
498
 
422
499
  # Editor e visualizador
423
500
  self.editor = TextEditor()
501
+ self.editor.textChanged.connect(self.update_unsaved_indicator)
424
502
 
425
503
  self.highlighter = GraphvizHighlighter(self.editor.document(), CONFIG_EDITOR["syntax_rules"])
426
504
  self.viewer = SvgViewer()
@@ -445,6 +523,8 @@ class MainWindow(QMainWindow):
445
523
 
446
524
  if os.path.exists(self.input_filepath):
447
525
  self.load_dot(filepath=self.input_filepath)
526
+ else:
527
+ self.update_unsaved_indicator()
448
528
 
449
529
  save_shortcut = QShortcut(QKeySequence(CONFIG_EDITOR["save_file"]), self)
450
530
  save_shortcut.activated.connect(lambda: self.save_dot(from_input=True, exist_ok=True))
@@ -471,6 +551,24 @@ class MainWindow(QMainWindow):
471
551
 
472
552
  def update_filepath_ui(self):
473
553
  self.file_path_edit.setText(self.input_filepath if self.input_filepath else "")
554
+ self.update_unsaved_indicator()
555
+
556
+ def update_unsaved_indicator(self):
557
+ editor_content = self.editor.toPlainText()
558
+ is_unsaved = bool(editor_content)
559
+
560
+ if self.input_filepath and os.path.isfile(self.input_filepath):
561
+ try:
562
+ with open(self.input_filepath, "r", encoding="utf-8") as file:
563
+ is_unsaved = editor_content != file.read()
564
+ except (OSError, UnicodeError):
565
+ is_unsaved = True
566
+
567
+ self.file_label.setStyleSheet("color: red;" if is_unsaved else "color: black;")
568
+ title = about.__program_name__
569
+ if is_unsaved:
570
+ title += CONFIG["no_saved"]
571
+ self.setWindowTitle(title)
474
572
 
475
573
  def func_toolbar(self):
476
574
  toolbar = QToolBar()
@@ -531,6 +629,15 @@ class MainWindow(QMainWindow):
531
629
  self.load_example_action.setToolTip(CONFIG["action_load_example_tooltip"])
532
630
  self.load_example_action.triggered.connect(self.load_example)
533
631
  toolbar.addAction(self.load_example_action)
632
+
633
+ self.open_examples_action = QAction(
634
+ QIcon(resource_path("icons", "document-open.png")),
635
+ CONFIG["action_open_examples"],
636
+ self,
637
+ )
638
+ self.open_examples_action.setToolTip(CONFIG["action_open_examples_tooltip"])
639
+ self.open_examples_action.triggered.connect(self.open_examples_folder)
640
+ toolbar.addAction(self.open_examples_action)
534
641
 
535
642
  #
536
643
  self.configure_editor_action = QAction( QIcon(resource_path("icons", "text-configure.png")),
@@ -745,6 +852,9 @@ class MainWindow(QMainWindow):
745
852
 
746
853
  self.editor.setPlainText(content)
747
854
  self.compile_dot()
855
+
856
+ def open_examples_folder(self):
857
+ QDesktopServices.openUrl(QUrl.fromLocalFile(self.data_path))
748
858
 
749
859
  def compile_dot(self):
750
860
  dot_code = self.editor.toPlainText()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graphviz_code_viewer
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: Program to edit and view Graphviz code.
5
5
  Author-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
6
6
  Maintainer-email: Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
@@ -16,7 +16,6 @@ Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  Requires-Dist: PyQt5
19
- Requires-Dist: deep-consultation
20
19
  Dynamic: license-file
21
20
 
22
21
  # graphviz-code-viewer
@@ -19,12 +19,17 @@ graphviz_code_viewer/data/ParallelGroupsTB.dot
19
19
  graphviz_code_viewer/data/ParallelGroupsTB.svg
20
20
  graphviz_code_viewer/data/TrafficLightStateMachine.dot
21
21
  graphviz_code_viewer/data/TrafficLightStateMachine.svg
22
+ graphviz_code_viewer/data/gradient1.dot
23
+ graphviz_code_viewer/data/gradient1.svg
24
+ graphviz_code_viewer/data/gradient2.dot
25
+ graphviz_code_viewer/data/gradient2.svg
22
26
  graphviz_code_viewer/icons/document-open.png
23
27
  graphviz_code_viewer/icons/download-green.png
24
28
  graphviz_code_viewer/icons/download.png
25
29
  graphviz_code_viewer/icons/emote-love.png
26
30
  graphviz_code_viewer/icons/image.png
27
31
  graphviz_code_viewer/icons/logo.png
32
+ graphviz_code_viewer/icons/logo.svg
28
33
  graphviz_code_viewer/icons/status_help.png
29
34
  graphviz_code_viewer/icons/system-run.png
30
35
  graphviz_code_viewer/icons/text-configure.png
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "graphviz_code_viewer"
7
- version = "0.1.5"
7
+ version = "0.1.7"
8
8
  description = "Program to edit and view Graphviz code."
9
9
  readme = "README.md"
10
10
  authors = [{name = "Fernando Pujaico Rivera", email = "fernando.pujaico.rivera@gmail.com"}]
@@ -18,8 +18,7 @@ license = "GPL-3.0-only WITH Classpath-Exception-2.0 OR BSD-3-Clause"
18
18
  license-files = ["LICENSE"]
19
19
  keywords = ["writing", "translate"]
20
20
  dependencies = [
21
- "PyQt5",
22
- "deep-consultation"
21
+ "PyQt5"
23
22
  ]
24
23
 
25
24
  [project.urls]
@@ -35,4 +34,4 @@ dependencies = [
35
34
  packages = ["graphviz_code_viewer", "graphviz_code_viewer.modules"]
36
35
 
37
36
  [tool.setuptools.package-data]
38
- "graphviz_code_viewer" = ["icons/*.png", "data/*.svg", "data/*.dot"]
37
+ "graphviz_code_viewer" = ["icons/*.png", "icons/*.svg", "data/*.svg", "data/*.dot"]
@@ -1,2 +0,0 @@
1
- PyQt5
2
- deep-consultation