pm4py.convert.convert_ocel_to_networkx#
- pm4py.convert.convert_ocel_to_networkx(ocel: OCEL, variant: str = 'ocel_to_nx') DiGraph [source]#
Converts an OCEL to a NetworkX DiGraph object.
- Parameters:
ocel (
OCEL
) – object-centric event logvariant (
str
) – variant of the conversion to use: “ocel_to_nx” -> graph containing event and object IDS and two type of relations (REL=related objects, DF=directly-follows); “ocel_features_to_nx” -> graph containing different types of interconnection at the object level
- Return type:
nx.DiGraph