Skip to content

Releases: javdome/timeline-arrows

v4.8.0

Choose a tag to compare

@javdome javdome released this 27 Sep 22:08

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

Choose a tag to compare

@javdome javdome released this 19 Sep 14:18

Fix minor bug in example

v4.7.0

Choose a tag to compare

@javdome javdome released this 19 Sep 13:54
fa1db97

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

Choose a tag to compare

@javdome javdome released this 24 Mar 11:43

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

Choose a tag to compare

@javdome javdome released this 05 Feb 08:54

Added method getIdArrows

v4.4.0

Choose a tag to compare

@javdome javdome released this 05 Feb 07:04

Added function removeArrowsBetweenItems

v4.3.2

Choose a tag to compare

@javdome javdome released this 17 Jan 10:20

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

v4.3.1

Choose a tag to compare

@javdome javdome released this 16 Jan 14:14

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

Added Tooltip config and Stroke width

Choose a tag to compare

@javdome javdome released this 15 Jan 15:27
ecd81e5

Added Tooltip config and Stroke width

v4.1.1

Choose a tag to compare

@javdome javdome released this 07 Nov 10:04

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