Skip to content

Commit bffba0c

Browse files
committed
Remove unused dependencies
1 parent 890f705 commit bffba0c

File tree

3 files changed

+2
-226
lines changed

3 files changed

+2
-226
lines changed

poetry.lock

Lines changed: 1 addition & 205 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,13 @@ description = "Simod is a Python tool for automated discovery of business proces
1212
python = "^3.9,<3.12"
1313
click = "^8.1.3"
1414
hyperopt = "^0.2.7"
15-
jellyfish = "^0.11"
1615
lxml = "^4.9.1"
17-
matplotlib = "^3.6.0"
1816
networkx = "^3.1"
1917
numpy = "^1.23.4"
2018
pandas = "^2"
2119
pendulum = "^2.1.2"
2220
pydantic = "^1.10.3"
23-
python-dotenv = "^0.21.0"
24-
python-multipart = "^0.0.5"
25-
pytz = "^2023.3"
2621
PyYAML = "^6.0"
27-
requests = "^2.28.2"
28-
scipy = "^1.9.2"
29-
statistics = "^1.0.3.5"
30-
tqdm = "^4.64.1"
3122
xmltodict = "^0.13.0"
3223
prosimos = "^1.2.4"
3324
extraneous-activity-delays = { git = "https://github.com/AutomatedProcessImprovement/extraneous-activity-delays.git" }

src/simod/bpm/graph.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import matplotlib.pyplot as plt
21
import networkx as nx
32
import pandas as pd
43

@@ -13,22 +12,12 @@ def get_activities_ids_by_name(process_graph: nx.DiGraph) -> dict:
1312
return {item[0]: item[1] for item in items} # {name: id}
1413

1514

16-
def from_bpmn_reader(bpmn, drawing=False, verbose=True) -> nx.DiGraph:
15+
def from_bpmn_reader(bpmn, verbose=True) -> nx.DiGraph:
1716
"""Creates a process graph from a BPMNReader instance."""
1817
g = _load_process_structure(bpmn, verbose)
19-
if drawing:
20-
_graph_network_x(g)
21-
# sup.print_done_task()
2218
return g
2319

2420

25-
def _graph_network_x(g):
26-
pos = nx.spring_layout(g)
27-
nx.draw_networkx(g, pos, with_labels=True)
28-
plt.draw()
29-
plt.show()
30-
31-
3221
def _find_node_num(g, id):
3322
resp = list(filter(lambda x: g.nodes[x]['id'] == id, g.nodes))
3423
if len(resp) > 0:

0 commit comments

Comments
 (0)