graphviz-code-viewer 0.1.5__tar.gz → 0.1.6__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.
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/PKG-INFO +1 -2
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/about.py +1 -1
- graphviz_code_viewer-0.1.6/graphviz_code_viewer/icons/logo.svg +151 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/program.py +23 -1
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/PKG-INFO +1 -2
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/SOURCES.txt +1 -0
- graphviz_code_viewer-0.1.6/graphviz_code_viewer.egg-info/requires.txt +1 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/pyproject.toml +3 -4
- graphviz_code_viewer-0.1.5/graphviz_code_viewer.egg-info/requires.txt +0 -2
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/LICENSE +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/README.md +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/__init__.py +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/data/LoginStateMachine.dot +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/data/LoginStateMachine.svg +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/data/ParallelGroupsLR.dot +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/data/ParallelGroupsLR.svg +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/data/ParallelGroupsTB.dot +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/data/ParallelGroupsTB.svg +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/data/TrafficLightStateMachine.dot +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/data/TrafficLightStateMachine.svg +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/desktop.py +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/document-open.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/download-green.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/download.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/emote-love.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/image.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/logo.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/status_help.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/system-run.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/text-configure.png +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/__init__.py +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/configure.py +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/example_selector.py +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/resources.py +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/wabout.py +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/dependency_links.txt +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/entry_points.txt +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/top_level.txt +0 -0
- {graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: graphviz_code_viewer
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
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
|
|
@@ -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>
|
|
@@ -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",
|
|
@@ -393,7 +395,15 @@ class MainWindow(QMainWindow):
|
|
|
393
395
|
self.icon_path = resource_path("icons", "logo.png")
|
|
394
396
|
self.setWindowIcon(QIcon(self.icon_path))
|
|
395
397
|
|
|
396
|
-
|
|
398
|
+
packaged_data_path = resource_path("data")
|
|
399
|
+
self.data_path = os.path.join(
|
|
400
|
+
os.path.expanduser("~"), ".config", about.__package__, "examples"
|
|
401
|
+
)
|
|
402
|
+
os.makedirs(self.data_path, exist_ok=True)
|
|
403
|
+
with os.scandir(self.data_path) as examples:
|
|
404
|
+
examples_dir_is_empty = next(examples, None) is None
|
|
405
|
+
if examples_dir_is_empty:
|
|
406
|
+
shutil.copytree(packaged_data_path, self.data_path, dirs_exist_ok=True)
|
|
397
407
|
|
|
398
408
|
# Toolbar
|
|
399
409
|
self.func_toolbar()
|
|
@@ -531,6 +541,15 @@ class MainWindow(QMainWindow):
|
|
|
531
541
|
self.load_example_action.setToolTip(CONFIG["action_load_example_tooltip"])
|
|
532
542
|
self.load_example_action.triggered.connect(self.load_example)
|
|
533
543
|
toolbar.addAction(self.load_example_action)
|
|
544
|
+
|
|
545
|
+
self.open_examples_action = QAction(
|
|
546
|
+
QIcon(resource_path("icons", "document-open.png")),
|
|
547
|
+
CONFIG["action_open_examples"],
|
|
548
|
+
self,
|
|
549
|
+
)
|
|
550
|
+
self.open_examples_action.setToolTip(CONFIG["action_open_examples_tooltip"])
|
|
551
|
+
self.open_examples_action.triggered.connect(self.open_examples_folder)
|
|
552
|
+
toolbar.addAction(self.open_examples_action)
|
|
534
553
|
|
|
535
554
|
#
|
|
536
555
|
self.configure_editor_action = QAction( QIcon(resource_path("icons", "text-configure.png")),
|
|
@@ -745,6 +764,9 @@ class MainWindow(QMainWindow):
|
|
|
745
764
|
|
|
746
765
|
self.editor.setPlainText(content)
|
|
747
766
|
self.compile_dot()
|
|
767
|
+
|
|
768
|
+
def open_examples_folder(self):
|
|
769
|
+
QDesktopServices.openUrl(QUrl.fromLocalFile(self.data_path))
|
|
748
770
|
|
|
749
771
|
def compile_dot(self):
|
|
750
772
|
dot_code = self.editor.toPlainText()
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: graphviz_code_viewer
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
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
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer.egg-info/SOURCES.txt
RENAMED
|
@@ -25,6 +25,7 @@ graphviz_code_viewer/icons/download.png
|
|
|
25
25
|
graphviz_code_viewer/icons/emote-love.png
|
|
26
26
|
graphviz_code_viewer/icons/image.png
|
|
27
27
|
graphviz_code_viewer/icons/logo.png
|
|
28
|
+
graphviz_code_viewer/icons/logo.svg
|
|
28
29
|
graphviz_code_viewer/icons/status_help.png
|
|
29
30
|
graphviz_code_viewer/icons/system-run.png
|
|
30
31
|
graphviz_code_viewer/icons/text-configure.png
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
PyQt5
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "graphviz_code_viewer"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.6"
|
|
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"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/download.png
RENAMED
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/emote-love.png
RENAMED
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/image.png
RENAMED
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/logo.png
RENAMED
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/status_help.png
RENAMED
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/icons/system-run.png
RENAMED
|
File without changes
|
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/__init__.py
RENAMED
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/configure.py
RENAMED
|
File without changes
|
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/resources.py
RENAMED
|
File without changes
|
{graphviz_code_viewer-0.1.5 → graphviz_code_viewer-0.1.6}/graphviz_code_viewer/modules/wabout.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|