label vertices

Hi
i would like to know the code that change the label of vertices form
index (0,1,3,... n-1) to different names (PDC,HOD,KNF,...n-1)?

Hi,

i would like to know the code that change the label of vertices form
index (0,1,3,... n-1) to different names (PDC,HOD,KNF,...n-1)?

In graph-tool, the vertices are uniquely identified by indexes from 0 to
N-1, and this cannot be changed. However, you are free to create
property maps to attach arbitrary information to them (such as
labels). See

    http://projects.skewed.de/graph-tool/doc/quickstart.html#property-maps

for more information.

Cheers,
Tiago