MCPcopy Create free account
hub / github.com/rambaut/figtree / createExternalNode

Method createExternalNode

src/figtree/treeviewer/ReRootedTree.java:135–139  ·  view source on GitHub ↗

Creates a new external node with the given taxon. See createInternalNode for a description of how to use these methods. @param source the source node @return the created node reference

(Node source, Taxon taxon)

Source from the content-addressed store, hash-verified

133 * @return the created node reference
134 */
135 private Node createExternalNode(Node source, Taxon taxon) {
136 ReRootedNode node = new ReRootedNode(source, taxon);
137 externalNodes.put(taxon, node);
138 return node;
139 }
140
141 /**
142 * Once a SimpleRootedTree has been created, the node stucture can be created by

Callers 2

createNodesMethod · 0.95
getSelectedSubtreeMethod · 0.80

Calls 1

putMethod · 0.65

Tested by

no test coverage detected