func edgeAnnotation(e *gen.Edge) (*Annotation, error) {
	ant := &Annotation{}
	if e.Annotations != nil && e.Annotations[ant.Name()] != nil {
		if err := ant.Decode(e.Annotations[ant.Name()]); err != nil {
			return nil, err
		}
	}
	return ant, nil
}
// edgeAnnotation returns the Annotation of this edge.
edgeAnnotation returns the Annotation of this edge.
// edgeAnnotation returns the Annotation of this edge .
func edgeAnnotation(e *gen.Edge) (*Annotation, error) {
	ant := &Annotation{}
	if e.Annotations != nil && e.Annotations[ant.Name()] != nil {
		if err := ant.Decode(e.Annotations[ant.Name()]); err != nil {
			return nil, err
		}
	}
	return ant, nil
}
func edgeAnnotation ( e * gen . Edge ) ( * Annotation , error ) { ant := & Annotation { } if e . Annotations != nil && e . Annotations [ ant . Name ( ) ] != nil { if err := ant . Decode ( e . Annotations [ ant . Name ( ) ] ) ; err != nil { return nil , err } } return ant , nil }
edgeAnnotation returns the Annotation of this edge.
edgeAnnotation returns the Annotation of this edge .