[graph-tool] Can't write labels on generated graph