Current.AnalysisSourceDiagram generation, introspection, and statistics.
metadata t is the metadata of t, if any. Raises an exception if t is not a primitive (or a map of one).
val pp_dot :
env:(string * string) list ->
collapse_link:(k:string -> v:string -> string option) ->
job_info:(Metadata.t -> Current_term.Output.active option * string option) ->
_ t Fmt.tpp_dot ~env ~collapse_link ~job_info formats a t as a graphviz dot graph.
stat t count how many stages are in each state. This can be slow for large pipelines. Consider using quick_stat instead.
quick_stat () returns the current values of the counters. This is O(1). It only counts some operations (binds, primitives and of_output).