/** * @see prefuse.data.Node#getDegree() */ public int getDegree() { return m_graph.getDegree(this); }
/** * @see prefuse.data.Node#getDegree() */ public int getDegree() { return m_graph.getDegree(this); }
/** * Get the degree of a node, the number of edges for which a node * is either the source or the target. * @param n the Node instance * @return the total degree of the node */ public int getDegree(Node n) { nodeCheck(n, true); return getDegree(n.getRow()); }