fgl icon indicating copy to clipboard operation
fgl copied to clipboard

The insMapEdge family of functions are partial

Open TOTBWF opened this issue 4 years ago • 0 comments

The insMapEdge family of functions are partial, and will crash when you try to add an edge where one of the nodes doesn't exist in the graph. This doesn't appear to be documented anywhere. Perhaps it would make sense to either return a Maybe, or at the very least make this a no-op.

TOTBWF avatar Mar 30 '21 23:03 TOTBWF