hltflow.core¶
Implement functionality to visualise an HLT streamer in a TiKz flowchart.
-
class
hltflow.core.Operation[source]¶ A helper class that is never instantiated. Only has static methods to check for different kinds of operations.
-
static
is_cut(op)[source]¶ Checks whether an operation is a cut (i.e. starts with an opening parenthesis).
-
static
-
class
hltflow.core.StreamerFlowchart(name, code, prefix=None)[source]¶ Implement the structure for a flowchart.
-
generateTikz()[source]¶ Generates TikZ code for this streamer.
This method is used internally and should (for performance reasons) not be called manually. Use the StreamerFlowchart.tikz property instead.
-
tikz¶ Getter for the generated TikZ code representing the streamer.
An internal variable is used to cache the value so the code is generated on demand and only once.
-