ripple-down-rules 0.4.1__py3-none-any.whl → 0.4.2__py3-none-any.whl
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.
- ripple_down_rules/user_interface/gui.py +3 -3
- ripple_down_rules/user_interface/object_diagram.py +1 -1
- {ripple_down_rules-0.4.1.dist-info → ripple_down_rules-0.4.2.dist-info}/METADATA +1 -1
- {ripple_down_rules-0.4.1.dist-info → ripple_down_rules-0.4.2.dist-info}/RECORD +7 -7
- {ripple_down_rules-0.4.1.dist-info → ripple_down_rules-0.4.2.dist-info}/WHEEL +0 -0
- {ripple_down_rules-0.4.1.dist-info → ripple_down_rules-0.4.2.dist-info}/licenses/LICENSE +0 -0
- {ripple_down_rules-0.4.1.dist-info → ripple_down_rules-0.4.2.dist-info}/top_level.txt +0 -0
@@ -153,16 +153,16 @@ class CollapsibleBox(QWidget):
|
|
153
153
|
layout.setSpacing(2)
|
154
154
|
self.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
155
155
|
|
156
|
-
def toggle(self
|
156
|
+
def toggle(self):
|
157
157
|
is_expanded = self.toggle_button.isChecked()
|
158
158
|
self.update_object_diagram(is_expanded)
|
159
|
-
if object_diagram_only:
|
160
|
-
return
|
161
159
|
self.toggle_button.setArrowType(
|
162
160
|
Qt.ArrowType.DownArrow if is_expanded else Qt.ArrowType.RightArrow
|
163
161
|
)
|
164
162
|
self.content_area.setVisible(is_expanded)
|
165
163
|
|
164
|
+
self.update_object_diagram(is_expanded)
|
165
|
+
|
166
166
|
# toggle children
|
167
167
|
if not is_expanded:
|
168
168
|
for i in range(self.content_layout.count()):
|
@@ -32,7 +32,7 @@ def generate_object_graph(obj, name='root', seen=None, graph=None, current_depth
|
|
32
32
|
if seen is None:
|
33
33
|
seen = set()
|
34
34
|
if graph is None:
|
35
|
-
graph = graphviz.Digraph(format='svg'
|
35
|
+
graph = graphviz.Digraph(format='svg')
|
36
36
|
graph.attr('node', shape='plaintext')
|
37
37
|
|
38
38
|
obj_id = id(obj)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ripple_down_rules
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.2
|
4
4
|
Summary: Implements the various versions of Ripple Down Rules (RDR) for knowledge representation and reasoning.
|
5
5
|
Author-email: Abdelrhman Bassiouny <abassiou@uni-bremen.de>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
@@ -13,13 +13,13 @@ ripple_down_rules/datastructures/case.py,sha256=oC8OSdhXvHE-Zx1IIQlad-fsKzQQqr6M
|
|
13
13
|
ripple_down_rules/datastructures/dataclasses.py,sha256=GWnUF4h4zfNHSsyBIz3L9y8sLkrXRv0FK_OxzzLc8L8,8183
|
14
14
|
ripple_down_rules/datastructures/enums.py,sha256=ce7tqS0otfSTNAOwsnXlhsvIn4iW_Y_N3TNebF3YoZs,5700
|
15
15
|
ripple_down_rules/user_interface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
-
ripple_down_rules/user_interface/gui.py,sha256=
|
16
|
+
ripple_down_rules/user_interface/gui.py,sha256=p4HIAXXa8ijylw5PIpzHGNL4AhbjKmcInEYg-i7jzlI,25941
|
17
17
|
ripple_down_rules/user_interface/ipython_custom_shell.py,sha256=tc7ms80iPNElm9AYC6i1FlfMKkqHLT8wmOEXg_k9yAU,6275
|
18
|
-
ripple_down_rules/user_interface/object_diagram.py,sha256=
|
18
|
+
ripple_down_rules/user_interface/object_diagram.py,sha256=84JlEH0nQmtGmP8Su5iRX3ZfqByYHbVwd0BQYYPuckY,4436
|
19
19
|
ripple_down_rules/user_interface/prompt.py,sha256=tQyIrRno1YuS3K0c4p48FVTdDJGG0HCE63WHVKpSJ1I,7976
|
20
20
|
ripple_down_rules/user_interface/template_file_creator.py,sha256=PegwW_g8UScjEF2GGe1eV0VoWUzxPhA27L9ExbL7Y_E,12610
|
21
|
-
ripple_down_rules-0.4.
|
22
|
-
ripple_down_rules-0.4.
|
23
|
-
ripple_down_rules-0.4.
|
24
|
-
ripple_down_rules-0.4.
|
25
|
-
ripple_down_rules-0.4.
|
21
|
+
ripple_down_rules-0.4.2.dist-info/licenses/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
|
22
|
+
ripple_down_rules-0.4.2.dist-info/METADATA,sha256=s8NdJ2_MsA-ABMI1mO5jsDb-waIEA2pvFLNnQCw3ysk,42668
|
23
|
+
ripple_down_rules-0.4.2.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
24
|
+
ripple_down_rules-0.4.2.dist-info/top_level.txt,sha256=VeoLhEhyK46M1OHwoPbCQLI1EifLjChqGzhQ6WEUqeM,18
|
25
|
+
ripple_down_rules-0.4.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|