antvis/G6

Remove data transform process #5322

Aarebecca posted onGitHub

In order to reduce the complexity inside G6, improve the flexibility of the data processing process, G6 will remove the ability to process data, leaving it up to the user. But G6 will export some tool methods to simplify some operations.

For example:

import { transformV4Data } from '@antv/g6-utils';

// data from g6 v4
const oldData = [...];

const newData = transformV4Data(oldData);

Fund this Issue

$0.00
Funded

Pull requests