Skip to contents

Add a link/edge mark (for networks, sankeys, slope graphs)

Usage

mark_link(spec, ..., data = NULL, style = list())

Arguments

spec

A glyph_spec

...

Aesthetic mappings (x, y, color, size, shape, alpha, tooltip)

data

Optional per-mark data override

style

Named list of fixed visual properties

Value

Modified glyph_spec object with the link mark added