Skip to main content

Interface: NormalizationFunction()

Factory returning a function normalizing the given node's position & size.

NormalizationFunction(data): Coordinates

Factory returning a function normalizing the given node's position & size.

Parameters

data: Coordinates

Returns

Coordinates

Defined in

sigma/src/utils/normalization.ts:7

Properties

ratio

ratio: number

Defined in

sigma/src/utils/normalization.ts:8

Methods

applyTo()

applyTo(data): void

Parameters

data: Coordinates

Returns

void

Defined in

sigma/src/utils/normalization.ts:10


inverse()

inverse(data): Coordinates

Parameters

data: Coordinates

Returns

Coordinates

Defined in

sigma/src/utils/normalization.ts:9