code: def geom(self):
          
          adj_nodes = self._grid._graph.nodes_from_line(self)
  
          return LineString([adj_nodes[0].geom, adj_nodes[1].geom])
docs: Provide :shapely:`Shapely LineString object<linestrings>` geometry of
          :class:`Line`