package routing

import 

// makeLoopRoute makes a `Route` based on the edge points
func makeLoopRoute( *layoutgraph.Edge,  *OVG) *Route {
	var  []*OVGNode
	 = append(, .Centers[.From])
	for ,  := range .Points {
		 = append(, NewOVGNode())
	}
	 = append(, .Centers[.To])
	return &Route{
		GEdge:    ,
		FromPort: *.Points[0],
		ToPort:   *.Points[len(.Points)-1],
		OVGNodes: ,
	}
}