Hello,
I'd like more information on how to create an instance of EdgeTypeExporter,
I've read the official documentation and I have some doubts about the parameters of the EdgeTypeExporter's constructor:
EdgeTypeExporter(RowWriter rw, Graph g, int t, AttributeList attrs, int hPos, int tPos, int hAttr, int tAttr)
Reading the manual, i understand the parameters (hPos, tPos) were the positions inside the row where node's information will be,
but the next two, i believe those arguments were the heads and tails attributes IDs which value will be in the positions previously added.
(i.e)
int edgeType=graph.findType... // type of the edge
int headType=... // type of the head node
int tailType=... //type of the tail node
int edgeAttr=graph.findAttribute... //attribute of the egde
AttributeList attributelist = new AttributeList();
attributelist.add(edgeAttr);
int headAttr=graph.findAttribute... //attribute ID that i want make csv files
int tailAttr=...
EdgeTypeExporter ete= new EdgeTypeExporter(csv, graph,egdeType, attributelist, 1,3,headAttr,tailAttr);
i ran this, but the result in the csv file are just the edgeAttr's value. I expected the head and tail value too,
I dont know if I'm using the wrong arguments or I simply don't undertand how to call the method
Thank for your time.