vis

class DotGenerator(top)[source]

Bases: object

static dot_chain(chains, has_label=True)[source]
dot_default_edge = '    "{}" -> "{}";\n'
dot_default_node = '    "{}" [shape=none];\n'
dot_head = '\ndigraph {\n    rankdir=LR;\n    node [shape=point];\n    edge [arrowhead=none, labelfloat=true];\n'
dot_label_edge = '    "{}" -> "{}" [label="{}"];\n'
dot_ranksame = '    {{ rank=same {} }};\n'
dot_tail = '}\n'
get_dot_source()[source]
draw_decay_struct(decay_chain, show=False, **kwargs)[source]
get_decay_layout(decay_chain)[source]
get_layout(decay_chain, xs, ys)[source]
get_node_layout(decay_chain)[source]
plot_decay_struct(decay_chain, ax=<module 'matplotlib.pyplot' from '/home/docs/checkouts/readthedocs.org/user_builds/tf-pwa/envs/latest/lib/python3.10/site-packages/matplotlib/pyplot.py'>)[source]
reorder_final_particle(decay_chain, ys)[source]