2016-01-09 04:03:45 +00:00
|
|
|
local current = (...):gsub('%.[^%.]+$', '');
|
|
|
|
|
2015-12-20 11:09:20 +00:00
|
|
|
local Edge = {};
|
|
|
|
|
|
|
|
function Edge.new( id, origin, target )
|
|
|
|
local self = {};
|
|
|
|
|
|
|
|
self.id = id;
|
|
|
|
self.origin = origin;
|
|
|
|
self.target = target;
|
|
|
|
|
|
|
|
return self;
|
|
|
|
end
|
|
|
|
|
|
|
|
return Edge;
|