Search this API

y.algo
Interface NodeSequencer

All Known Implementing Classes:
NodeTypeAwareSequencer

public interface NodeSequencer

This is a generic interface for classes that provide an ordering for the nodes of a graph.

 

Method Summary
 NodeCursor nodes(Graph graph)
          Returns a cursor that grants access to all nodes of the given graph in some order.
 

Method Detail

nodes

NodeCursor nodes(Graph graph)
Returns a cursor that grants access to all nodes of the given graph in some order.

Parameters:
graph - the input graph
Returns:
a NodeCursor that grants access to all nodes of a graph

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.