Add label configuration to graph config