syntax = "proto3";

package graphs;

import "graph.proto";
import "shared_messages.proto";

option cc_enable_arenas = true;

message KruskalRequest {
    Graph graph = 1;

    map<uint64, double> edgeCosts = 2;

    map<uint64, VertexCoordinates> vertexCoordinates = 3;
};

message KruskalResponse {
    Graph graph = 1;

    // Key is uid of referenced Edge
    map<uint64, double> edgeCosts = 2;

    // Key is uid of referenced Vertex
    map<uint64, VertexCoordinates> vertexCoordinates = 3;
};
