Skip to content

Releases: javdome/timeline-arrows

v4.8.0

27 Sep 22:08

Choose a tag to compare

More options, made having groups optional & Straight Cornered Lines

  • direction: Arrow direction.
    0: No arrows (just a line)
    1: Arrow always at the second event (id_item_2)
    2: Arrow always at the first event (id_item_1)
    3: Arrows on both ends
  • type: Line shape.
    0: Bezier (default, smooth curve)
    1: Straight line (center to center)
    2: Cornered line (2 or 4 bends, attaches to the side of events)
  • align: If set to 'center', the line is straight and connects the centers of events (used with type 1).
image

v4.7.1

19 Sep 14:18

Choose a tag to compare

Fix minor bug in example

v4.7.0

19 Sep 13:54
fa1db97

Choose a tag to compare

Individual arrow colors, directions and line types

  • Add color parameter for individual arrow colors
  • Add direction parameter (0=no arrows, 1=forward, 2=backward, 3=both)
  • Add line parameter (0=solid, 1=dashed)
  • Update README with new parameters documentation

v4.6.0

24 Mar 11:43

Choose a tag to compare

Added option hideWhenItemsNotVisible

hideWhenItemsNotVisible - defaults to true. When you zoom the timeline and both items go out of the screen. You can set if the arrow is still visible. By default, the arrow hides, but you can change it setting this option to false.

See Issue #8

v4.5.0

05 Feb 08:54

Choose a tag to compare

Added method getIdArrows

v4.4.0

05 Feb 07:04

Choose a tag to compare

Added function removeArrowsBetweenItems

v4.3.2

17 Jan 10:20

Choose a tag to compare

Dependencies are clone to isolate them in case of multiple instances + Fix typescript errors.

v4.3.1

16 Jan 14:14

Choose a tag to compare

Arrowhead Id with random string. In case of multiple timelines.

Added Tooltip config and Stroke width

15 Jan 15:27
ecd81e5

Choose a tag to compare

Added Tooltip config and Stroke width

v4.1.1

07 Nov 10:04

Choose a tag to compare

Fix bug "Line not connecting when orientation of item is set to top" #6