Re: Extra data on vertex

2013-05-07 Thread Claudio Martella
Keep in mind that you cannot access a neighbors value directly from a vertex. What you are proposing now is possible because you are using the vertex id to store your information (URL), which makes sense in the context of a web page. As soon as you will store data in the vertex value, as Avery sugg

Re: Extra data on vertex

2013-05-07 Thread Avery Ching
Best way is to add it to the vertex value. The vertex value is meant to store any data associated with a particular vertex. Hope that helps, Avery On 5/7/13 7:47 AM, Ahmet Emre Aladağ wrote: Hi, 1) What's the best way for storing extra data (such as URL) on a vertex? I thought this would b

Extra data on vertex

2013-05-07 Thread Ahmet Emre Aladağ
Hi, 1) What's the best way for storing extra data (such as URL) on a vertex? I thought this would be through a class variable but I could not find the way to access that variable from the neighbor. For example I'd like to remove the duplicate edges going towards the nodes with the "same url" (