mcstasscript.instrument_diagram.arrow.Arrow

mcstasscript.instrument_diagram.arrow.Arrow

class mcstasscript.instrument_diagram.arrow.Arrow(origin, target, lane=None, kind=None, description=None)

Helper class for creating arrows with connections

__init__(origin, target, lane=None, kind=None, description=None)

Arrow object with origin Component_box and target component_box

Methods

__init__(origin, target[, lane, kind, ...])

Arrow object with origin Component_box and target component_box

get_box_offset_origin()

get_box_offset_target()

get_lane_value()

plot_left_side(ax)

plot_right_side(ax, text_end)

set_alpha(value)

set_arrow_length(value)

set_arrow_width(value)

set_box_offset_origin(value)

In units of box height

set_box_offset_target(value)

In units of box height

set_connection(value)

set_lane(lane)

set_lane_offset(offset)

set_lane_width(lane_width)

set_linestyle(value)

set_origin_congested(value)

set_sub_lane(lane)

set_target_congested(value)

set_box_offset_origin(value)

In units of box height

set_box_offset_target(value)

In units of box height