vgteam / libhandlegraph

Library for the Handle Graph abstraction
MIT License
20 stars 3 forks source link

Add a truncate method with a default implementation to DeletableHandleGraph interface #60

Closed jeizenga closed 3 years ago

jeizenga commented 3 years ago

The semantics are to remove one half of a node from a given offset. It can be accomplished by composing divide_handle with destroy_handle, but I want to have the option of a more efficient implementation as well.