algebraic-graphs-io-0.4: I/O utilities and datasets for algebraic-graphs
Safe HaskellNone
LanguageHaskell2010

Algebra.Graph.IO.GML

Description

Mostly-complete implementation of the GML format

https://en.wikipedia.org/wiki/Graph_Modelling_Language

Synopsis

Documentation

gmlGraph :: GMLGraph a b -> Graph a Source #

Construct a Graph using the edge data contained in a GMLGraph

gmlGraphP Source #

Arguments

:: Parser a

parser for node id's

-> Parser b 
-> Parser (GMLGraph a b) 

Parser for the GML graph format

data GMLGraph a b Source #

Graph entities of the GML graph format

Constructors

GMLGraph 

Fields

Instances

Instances details
(Show a, Show b) => Show (GMLGraph a b) Source # 
Instance details

Defined in Algebra.Graph.IO.GML

Methods

showsPrec :: Int -> GMLGraph a b -> ShowS #

show :: GMLGraph a b -> String #

showList :: [GMLGraph a b] -> ShowS #

data GMLNode a Source #

GML nodes

Constructors

GMLNode a (Maybe String) 

Instances

Instances details
Show a => Show (GMLNode a) Source # 
Instance details

Defined in Algebra.Graph.IO.GML

Methods

showsPrec :: Int -> GMLNode a -> ShowS #

show :: GMLNode a -> String #

showList :: [GMLNode a] -> ShowS #

data GMLEdge a b Source #

GML edges

Constructors

GMLEdge a a (Maybe b) (Maybe String) 

Instances

Instances details
(Show a, Show b) => Show (GMLEdge a b) Source # 
Instance details

Defined in Algebra.Graph.IO.GML

Methods

showsPrec :: Int -> GMLEdge a b -> ShowS #

show :: GMLEdge a b -> String #

showList :: [GMLEdge a b] -> ShowS #