pm4py.vis.view_sna#
- pm4py.vis.view_sna(sna_metric: SNA, variant_str: str | None = None)[source]#
Represents a SNA metric (.html)
- Parameters:
sna_metric (
SNA
) – Values of the metricvariant_str – variant to be used (default: pyvis)
import pm4py metric = pm4py.discover_subcontracting_network(dataframe, resource_key='org:resource', timestamp_key='time:timestamp', case_id_key='case:concept:name') pm4py.view_sna(metric)