The type of each arrow head and the side of the arrow should be
specified by the same way as in \simple_arrow. Arrow is computed
using edges, side and ratio parameters. It is a bezier curve oriented
along the line defined as the mediator of
(orthogonal
crossing the middle of first edge parameter of the arrow). In example
this mediator is called
. The arrow begins near to the
middle of the
segment point (
) and ends near to the
intersection of
and limit arrow edge (
). In
example, the end of arrow is close to point
. Length of the arrow
along
depends of the ratio
of the arrow
beyond
. The default value of
is 50% so the
distance of arrow beyond
is equal to the distance between the
begin of arrow and point
. The side parameter allows to specify
whether the arrow is drawn at left or right of
.
This
operator should only appear within a step block.
% balanced return arrow \return_arrow([mid_ad, mid_bc], [a, b], none, mountain, left); % long return arrow (3/4 beyong [a, b]) \return_arrow([mid_ad, mid_bc], [a, b], unfold, mountain, right, 75);
\return_arrow(EDGE_1, EDGE_2, SRC_ARROW, DST_ARROW, SIDE, RATIO);
EDGE_1 Description : Indicates the origin of arrow (often fold line). Type : Edge, couple of vertex identifiers. Allowed values : Any couple of vertex identifiers already defined in a previous step. EDGE_2 Description : Indicates the limit where the arrow returns. Type : Edge, couple of vertex identifiers. Allowed values : Any couple of vertex identifiers already defined in a previous step. SRC_ARROW Description : Indicates the type of arrow head at the origin. Type : Arrow head type. Allowed values : One value in {valley, mountain, unfold, none}. DST_ARROW Description : Indicates the type of arrow head at the end. Type : Arrow head type. Allowed values : One value in {valley, mountain, unfold, none}. SIDE (optional) Description : Indicates the orientation side of the arrow. Type : Side type. Allowed values : One value in {left, right}. Default value : right RATIO (optional) Description : Indicates the curve ratio of the arrow. Type : Percentage type. Allowed values : One value in the range ]0, 100[. Default value : 50.