Successfully connected graphs with legends.