function e(e) {
	return e.map((e) => "from" in e ? {
		x0: e.from,
		x1: e.to,
		length: e.weight
	} : {
		x0: e.x0,
		x1: e.x1,
		length: e.length
	});
}
export { e as normalizeBins };

//# sourceMappingURL=normalizeBins.js.map