Thanks a ton Weibin. ________________________________ From: Weibin Zeng <wei...@apache.org> Sent: Tuesday, August 6, 2024 11:48 AM To: dev@graphar.apache.org <dev@graphar.apache.org> Subject: Re: Creating graphs from CSV files of nodes and edges
Hi, there is a example[1] that use high-level writer to create graph from CSV [1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-graphar%2Fblob%2Fmain%2Fcpp%2Fexamples%2Fsnap_dataset_to_graphar.cc&data=05%7C02%7C%7C4e898f80019447ce5ac408dcb5df9106%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638585219022989624%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=bg0kt3djL%2BGL1nY6n9YUYB%2FagkjLLHwYQ1jnz6HX38Y%3D&reserved=0<https://github.com/apache/incubator-graphar/blob/main/cpp/examples/snap_dataset_to_graphar.cc> On 2024/08/06 05:51:31 Muniraju Pulipalyam wrote: > Hi All, > > I have seen samples showing how to read and update graphs in graphAr, but > couldn't find a sample that shows how to create a new graph given CSV files > of vertices and edges. I saw person_0_0.csv and person_knows_person_0_0.csv, > but I could not find any sample that is loading that data to create a new > graph. Any sample c++ code snippet to create a graph from CSV files will help > a lot. > > Thanks, > Muni > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@graphar.apache.org For additional commands, e-mail: dev-h...@graphar.apache.org