/** * Adds a node to the end of the graph. * * @param node The node that should be added. */ private void addNode(SequentialNode node) { lastNode.insertAfter(node); lastNode = node; }
/** * Adds a node to the end of the graph. * * @param node The node that should be added. */ private void addNode(SequentialNode node) { lastNode.insertAfter(node); lastNode = node; }