core/Repository.js
function getEdgeViewsOf(view) {
        return getRefsTo(view, function (ref) {
            return (ref instanceof Core.EdgeView) &&
                   (ref.head === view || ref.tail === view);
        });
    }
function getEdgeViewsOf(view) {
        return getRefsTo(view, function (ref) {
            return (ref instanceof Core.EdgeView) &&
                   (ref.head === view || ref.tail === view);
        });
    }
function getEdgeViewsOf ( view ) { return getRefsTo ( view , function ( ref ) { return ( ref instanceof Core . EdgeView ) && ( ref . head === view || ref . tail === view ) ; } ) ; }
Return all instances of EdgeView linked to the given view.
@param {Core.View} view View element. Typically an instance of NodeView.
@return {Array<Core.EdgeView>} Instances of EdgeView linked to.
Return all instances of EdgeView linked to the given view .