graphite-0.4.2.0: Graphs and networks library

Safe HaskellNone
LanguageHaskell2010

Data.Graph.Read

Synopsis

Documentation

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)"