public function edges($collection, $vertexHandle, $direction = 'any', array $options = [])
    {
        $collection = $this->makeCollection($collection);

        $params   = [
            self::OPTION_VERTEX    => $vertexHandle,
            self::OPTION_DIRECTION => $direction
        ];
        $url      = UrlHelper::appendParamsUrl(Urls::URL_EDGES . '/' . urlencode($collection), $params);
        $response = $this->getConnection()->get($url);
        
        if ($batchPart = $response->getBatchPart()) {
            return $batchPart;
        }

        $options['_isNew'] = false;
        $json              = $response->getJson();
        $edges             = [];
        foreach ($json[self::ENTRY_EDGES] as $data) {
            $edges[] = $this->createFromArrayWithContext($data, $options);
        }

        return $edges;
    }