MCPcopy Index your code
hub / github.com/tbtlr/gordon / cloneEdge

Function cloneEdge

src/parser.js:878–886  ·  view source on GitHub ↗
(edge)

Source from the content-addressed store, hash-verified

876 }
877
878 function cloneEdge(edge){
879 return {
880 i: edge.i,
881 f: edge.f,
882 x1: edge.x1, y1: edge.y1,
883 cx: edge.cx, cy: edge.cy,
884 x2: edge.x2, y2: edge.y2
885 };
886 }
887
888 function edges2cmds(edges, stroke){
889 var firstEdge = edges[0],

Callers 1

parser.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected