@classmethod
    def extended_follow(cls, start_vertex, edge_collection, graph_name=None, **kwargs):

        request_data = {
            'startVertex': start_vertex,
            'edgeCollection': edge_collection,
        }

        if graph_name:
            request_data['graphName'] = graph_name

        # Set search data
        option_name = 'filter'
        if option_name in kwargs:
            request_data['filter'] = kwargs[option_name]

        option_name = 'min_depth'
        if option_name in kwargs:
            request_data['minDepth'] = kwargs[option_name]

        option_name = 'max_depth'
        if option_name in kwargs:
            request_data['maxDepth'] = kwargs[option_name]

        option_name = 'visitor'
        if option_name in kwargs:
            request_data['visitor'] = kwargs[option_name]

        option_name = 'direction'
        if option_name in kwargs:
            request_data['direction'] = kwargs[option_name]

        option_name = 'init'
        if option_name in kwargs:
            request_data['init'] = kwargs[option_name]

        option_name = 'expander'
        if option_name in kwargs:
            request_data['expander'] = kwargs[option_name]

        option_name = 'sort'
        if option_name in kwargs:
            request_data['sort'] = kwargs[option_name]

        option_name = 'strategy'
        if option_name in kwargs:
            request_data['strategy'] = kwargs[option_name]

        option_name = 'order'
        if option_name in kwargs:
            request_data['order'] = kwargs[option_name]

        option_name = 'item_order'
        if option_name in kwargs:
            request_data['itemOrder'] = kwargs[option_name]

        option_name = 'uniqueness'
        if option_name in kwargs:
            request_data['uniqueness'] = kwargs[option_name]

        option_name = 'max_iterations'
        if option_name in kwargs:
            request_data['maxIterations'] = kwargs[option_name]

        # Make tests
        if not 'direction' in kwargs and not 'expander' in kwargs:
            raise Exception('Either direction or expander have to be set')

        if 'direction' in kwargs and 'expander' in kwargs:
            raise Exception('Either direction or expander have to be set')

        return Traveser._send_follow(request_data=request_data)
Returns the number of bytes necessary to store the given integer.
dataset/ETHPy150Open saeschdivara/ArangoPy/arangodb/query/advanced.py/Traveser.extended_follow--crossover with--dataset/ETHPy150Open pascalw/Airplayer/airplayer/lib/biplist/__init__.py/PlistWriter.intSize