Skip to content

Commit

Permalink
feat(pm4py): moving networkx dependency
Browse files Browse the repository at this point in the history
moving networkx dependency
  • Loading branch information
fit-alessandro-berti committed Oct 14, 2021
1 parent 53af01f commit dcebaf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pm4py/objects/bpmn/obj.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import uuid

import networkx as nx

DEFAULT_PROCESS = str(uuid.uuid4())


Expand Down Expand Up @@ -170,6 +168,8 @@ def __str__(self):
return self.__repr__()

def __init__(self, name="", nodes=None, flows=None):
import networkx as nx

self.__id = uuid.uuid4()
self.__name = name
self.__graph = nx.MultiDiGraph()
Expand Down

0 comments on commit dcebaf8

Please sign in to comment.