/** * @see prefuse.data.Node#getChildIndex(prefuse.data.Node) */ public int getChildIndex(Node child) { return m_graph.getSpanningTree().getChildIndex(this, child); }
/** * @see prefuse.data.Node#getChildIndex(prefuse.data.Node) */ public int getChildIndex(Node child) { return m_graph.getSpanningTree().getChildIndex(this, child); }
/** * Get the child index (order number of the child) for the given parent * and child nodes. * @param p the parent Node * @param c the child Node * @return the index of the child, or -1 if the given child node is not * actually a child of the given parent node, or either node is * invalud. */ public int getChildIndex(Node p, Node c) { return getChildIndex(p.getRow(), c.getRow()); }