These functions exists for supporting different data structures. There is no need to call these directly
collect_connections(layout, from, to, ...)collect_edges(layout)
The layout data
A numeric vector giving the indexes of the start and end nodes
Additional parameters passed on to the specific method