syntax = "proto3";
package MapMessage;
message Node {
  int32 id=1;
  float x=2;
  float y=3;
}

message Edge
{
  int32 id1=1;
  int32 id2=2;
  bool directed=3; //是否单项
}

message Map {
  repeated Node nodes=1;
  repeated Edge edges=2;
}

