pm4py.visualization.trie.variants package

Submodules

pm4py.visualization.trie.variants.classic module

class pm4py.visualization.trie.variants.classic.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

FORMAT = 'format'
pm4py.visualization.trie.variants.classic.apply(trie: pm4py.objects.trie.obj.Trie, parameters: Optional[Dict[str, Any]] = None) → graphviz.dot.Graph[source]

Represents the trie

Parameters
  • trie – Trie

  • parameters – Parameters, including: - Parameters.FORMAT: the format of the visualization

Returns

Representation of the trie

Return type

graph

pm4py.visualization.trie.variants.classic.draw_recursive(trie_node: pm4py.objects.trie.obj.Trie, parent: Optional[str], gviz: graphviz.dot.Graph)[source]

Draws recursively the specified trie node

Parameters
  • trie_node – Node of the trie

  • parent – Parent node in the graph (expressed as a string)

  • gviz – Graphviz object

Module contents