Interface NodeGraphChooseParent


public interface NodeGraphChooseParent
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(String nodeId, String[] candidates)
    Chooses the parent of a node in a "spanning" traversal (see NodeGraphQuerySettings.chooseParent).
  • Method Details

    • execute

      String execute(String nodeId, String[] candidates)
      Chooses the parent of a node in a "spanning" traversal (see NodeGraphQuerySettings.chooseParent).
      Parameters:
      nodeId - the node being placed
      candidates - the IDs of the nodes one level up with an edge to it, in the order the traversal reached them
      Returns:
      the chosen parent, one of the candidates