[−][src]Trait handlegraph::mutablehandlegraph::AdditiveHandleGraph
Methods for adding handles and edges to a graph.
Required methods
fn append_handle(&mut self, sequence: &[u8]) -> Handle
[src]
Add a node with the provided sequence to the graph, letting the graph pick the node ID.
fn create_handle<T: Into<NodeId>>(
&mut self,
sequence: &[u8],
node_id: T
) -> Handle
[src]
&mut self,
sequence: &[u8],
node_id: T
) -> Handle
Add a node with the provided sequence and ID to the graph.
fn create_edge(&mut self, edge: Edge)
[src]
Insert an edge into the graph. Implementations may panic if both handles of the edge do not already exist.