Skip to main content

Interface: PeriodicPulseOptions

Options for continuous periodic packet pulses along a connector.

Extends​

Properties​

PropertyTypeDescription
color?stringColor of the glowing particle (defaults to connector stroke color).
delay?numberInitial delay in seconds before the first pulse emission fires (default: 0s).
duration?numberDuration of the particle traversal in seconds (default: 0.6s).
interval?numberInterval between successive pulse emissions in seconds (default: 2.0s).
onComplete?() => voidCallback invoked when the pulse completes its traversal.
reverse?booleanTraverse the connector backward (from the destination to the origin) (default: false).
size?numberDiameter of the particle in virtual canvas pixels (default: 12px).