On 04/21/2011 10:09 PM, Emad Fadhal wrote:
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
for more information.