async readData()

in backend/src/models/GraphCreator.js [76:92]


    async readData(file, type, resolve){
        Papa.parse(file, {
            complete: (res) => {
                res.errors.forEach((e)=>{
                    if (e.type === 'FieldMismatch'){
                        res.data.splice(e.row, 1);
                    }
                })
                const o = {
                    type,
                    data:res.data
                }
                resolve(o);
            },
            header: true,
        });
    }