pm4py.visualization.heuristics_net.variants package

Submodules

pm4py.visualization.heuristics_net.variants.pydotplus module

class pm4py.visualization.heuristics_net.variants.pydotplus.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

FORMAT = 'format'
pm4py.visualization.heuristics_net.variants.pydotplus.apply(heu_net, parameters=None)[source]

Gets a representation of an Heuristics Net

Parameters
  • heu_net – Heuristics net

  • parameters

    Possible parameters of the algorithm, including:
    • Parameters.FORMAT

Returns

Representation of the Heuristics Net

Return type

gviz

pm4py.visualization.heuristics_net.variants.pydotplus.get_corr_hex(num)[source]

Gets correspondence between a number and an hexadecimal string

Parameters

num – Number

Returns

Hexadecimal string

Return type

hex_string

pm4py.visualization.heuristics_net.variants.pydotplus.transform_to_hex(graycolor)[source]

Transform color to hexadecimal representation

Parameters

graycolor – Gray color (int from 0 to 255)

Returns

Hexadecimal color

Return type

hex_string

pm4py.visualization.heuristics_net.variants.pydotplus.transform_to_hex_2(color)[source]

Transform color to hexadecimal representation

Parameters

color – Gray color (int from 0 to 255)

Returns

Hexadecimal color

Return type

hex_string

Module contents