aiphoria 0.0.1__py3-none-any.whl → 0.8.0__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.
- aiphoria/__init__.py +59 -0
- aiphoria/core/__init__.py +55 -0
- aiphoria/core/builder.py +305 -0
- aiphoria/core/datachecker.py +1808 -0
- aiphoria/core/dataprovider.py +806 -0
- aiphoria/core/datastructures.py +1686 -0
- aiphoria/core/datavisualizer.py +431 -0
- aiphoria/core/datavisualizer_data/LICENSE +21 -0
- aiphoria/core/datavisualizer_data/datavisualizer_plotly.html +5561 -0
- aiphoria/core/datavisualizer_data/pako.min.js +2 -0
- aiphoria/core/datavisualizer_data/plotly-3.0.0.min.js +3879 -0
- aiphoria/core/flowmodifiersolver.py +1754 -0
- aiphoria/core/flowsolver.py +1472 -0
- aiphoria/core/logger.py +113 -0
- aiphoria/core/network_graph.py +136 -0
- aiphoria/core/network_graph_data/ECHARTS_LICENSE +202 -0
- aiphoria/core/network_graph_data/echarts_min.js +45 -0
- aiphoria/core/network_graph_data/network_graph.html +76 -0
- aiphoria/core/network_graph_data/network_graph.js +1391 -0
- aiphoria/core/parameters.py +269 -0
- aiphoria/core/types.py +20 -0
- aiphoria/core/utils.py +362 -0
- aiphoria/core/visualizer_parameters.py +7 -0
- aiphoria/data/example_scenario.xlsx +0 -0
- aiphoria/example.py +66 -0
- aiphoria/lib/docs/dynamic_stock.py +124 -0
- aiphoria/lib/odym/modules/ODYM_Classes.py +362 -0
- aiphoria/lib/odym/modules/ODYM_Functions.py +1299 -0
- aiphoria/lib/odym/modules/__init__.py +1 -0
- aiphoria/lib/odym/modules/dynamic_stock_model.py +808 -0
- aiphoria/lib/odym/modules/test/DSM_test_known_results.py +762 -0
- aiphoria/lib/odym/modules/test/ODYM_Classes_test_known_results.py +107 -0
- aiphoria/lib/odym/modules/test/ODYM_Functions_test_known_results.py +136 -0
- aiphoria/lib/odym/modules/test/__init__.py +2 -0
- aiphoria/runner.py +678 -0
- aiphoria-0.8.0.dist-info/METADATA +119 -0
- aiphoria-0.8.0.dist-info/RECORD +40 -0
- {aiphoria-0.0.1.dist-info → aiphoria-0.8.0.dist-info}/WHEEL +1 -1
- aiphoria-0.8.0.dist-info/licenses/LICENSE +21 -0
- aiphoria-0.0.1.dist-info/METADATA +0 -5
- aiphoria-0.0.1.dist-info/RECORD +0 -5
- {aiphoria-0.0.1.dist-info → aiphoria-0.8.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8"/>
|
|
5
|
+
<title>Network graph</title>
|
|
6
|
+
<script type="text/javascript">{echarts_content}</script>
|
|
7
|
+
<style>
|
|
8
|
+
.settings-wrapper {
|
|
9
|
+
display: block;
|
|
10
|
+
position: fixed;
|
|
11
|
+
top: 48px;
|
|
12
|
+
left: 16px;
|
|
13
|
+
width: 250px;
|
|
14
|
+
height: auto;
|
|
15
|
+
font: 14px "Fira Sans", sans-serif;
|
|
16
|
+
user-select: auto;
|
|
17
|
+
z-index: 2000;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.settings-item-wrapper {
|
|
21
|
+
width: auto;
|
|
22
|
+
height: auto;
|
|
23
|
+
border: solid 1px #aaa;
|
|
24
|
+
border-radius: 4px;
|
|
25
|
+
padding: 0.5rem;
|
|
26
|
+
margin: 0.5rem;
|
|
27
|
+
background: #fff;
|
|
28
|
+
}
|
|
29
|
+
</style>
|
|
30
|
+
</head>
|
|
31
|
+
<body style="width: 100vw; height: 100vh; margin: 0; overflow: hidden">
|
|
32
|
+
<div class="settings-wrapper">
|
|
33
|
+
<div class="settings-item-wrapper">
|
|
34
|
+
<label for="processLabelType" class="settings-item-label">Process label type</label><br/>
|
|
35
|
+
<select id="processLabelType" name="processLabelType">
|
|
36
|
+
<option value="id" selected>Process ID</option>
|
|
37
|
+
<option value="label">Process label</option>
|
|
38
|
+
</select>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="settings-item-wrapper">
|
|
41
|
+
<label for="flowLabelType">Flow label type</label><br/>
|
|
42
|
+
<select id="flowLabelType" name="flowLabelType">
|
|
43
|
+
<option value="type">Flow type (ABS / %)</option>
|
|
44
|
+
<option value="value" selected>Flow value (baseline)</option>
|
|
45
|
+
</select>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="settings-item-wrapper">
|
|
48
|
+
<label for="useTransformationStageColors" class="settings-item-label">Use transformation stage
|
|
49
|
+
colors</label><br/>
|
|
50
|
+
<select id="useTransformationStageColors" name="useTransformationStageColors">
|
|
51
|
+
<option value="yes" selected>Yes</option>
|
|
52
|
+
<option value="no">No</option>
|
|
53
|
+
</select>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="settings-item-wrapper">
|
|
56
|
+
<label for="hideUnconnectedProcesses" class="settings-item-label">Hide unconnected processes</label><br/>
|
|
57
|
+
<select id="hideUnconnectedProcesses" name="hideUnconnectedProcesses">
|
|
58
|
+
<option value="yes">Yes</option>
|
|
59
|
+
<option value="no" selected>No</option>
|
|
60
|
+
</select>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="settings-item-wrapper">
|
|
63
|
+
<label for="freezeNodePositions">Freeze node positions</label><br/>
|
|
64
|
+
<button id="freezeNodePositions" name="freezeNodePositions">
|
|
65
|
+
<label id="freezeNodePositionsButtonLabel">Freeze</label>
|
|
66
|
+
</button>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="settings-item-wrapper">
|
|
69
|
+
<label for="resetView">Reset view</label><br/>
|
|
70
|
+
<button id="resetView" name="resetView"><label>Reset</label></button>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
<div id="main" style="width: 100%; height: 100vh"></div>
|
|
74
|
+
<script type="text/javascript">{visualizer_content}</script>
|
|
75
|
+
</body>
|
|
76
|
+
</html>
|