alright i find out i didn't use the right library , my bad, i used "vis-network/standalone" and i need to use :react-vis-network-graph"