memgraph/storage/model/edge.hpp
2015-07-31 12:31:08 +02:00

19 lines
290 B
C++

#ifndef MEMGRAPH_DATA_MODEL_EDGE_HPP
#define MEMGRAPH_DATA_MODEL_EDGE_HPP
#include <vector>
#include "record.hpp"
struct Vertex;
struct Edge : public Record<Edge>
{
Edge(uint64_t id) : Record<Edge>(id) {}
// pointer to the vertex this edge points to
Vertex* to;
};
#endif