Convert a dodgr graph into an equivalent sf object. Works by
aggregating edges into LINESTRING objects representing longest sequences
between all junction nodes. The resultant objects will generally contain more
LINESTRING objects than the original sf object, because the former
will be bisected at every junction point.