pm4py.util.colors module#

pm4py.util.colors.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.util.colors.get_transitions_color(count_move_on_model, count_fit)[source]#

Gets the color associated to the transition

Parameters:
  • count_move_on_model – Number of move on models

  • count_fit – Number of fit moves

Returns:

Color associated to the transition

Return type:

color

pm4py.util.colors.get_string_from_int_below_255(factor)[source]#

Gets a string from an integer below 255

Parameters:

factor – Factor

Returns:

Length 2 string

Return type:

stru