graphite-0.4.2.0: Graphs and networks library
Data.Graph.Read
Synopsis
csvToUGraph :: (Hashable v, Eq v, FromField v) => FilePath -> IO (Either String (UGraph v ())) Source #
Read a UGraph from a CSV file | The line "1,2,3,4" translates to the list of edges | "(1 - 2), (1 - 3), (1 - 4)"
UGraph