[graph-tool] Community detection with metadata in graph-tool