Arguments

class Arguments<D, T>

Wrapper around d3's standard argument order. This helps serve as syntax sugar for their style of overloading, where you often don't use the arguments at all, or only bind the first one or two.

Library consumers should not hold on to instances of this class, it is internally mutated heavily as an optimization.

Properties

Link copied to clipboard
var data: List<T>
Link copied to clipboard
var datum: D
Link copied to clipboard
var index: Int

Functions

Link copied to clipboard
operator fun component1(): D
Link copied to clipboard
operator fun component2(): Int
Link copied to clipboard
operator fun component3(): List<T>