pangraph 0.1.1.5 → 0.1.2
raw patch · 3 files changed
+14/−9 lines, 3 filesdep ~algebraic-graphs
Dependency ranges changed: algebraic-graphs
Files
- LICENSE +1/−1
- pangraph.cabal +12/−7
- src/Pangraph.hs +1/−1
LICENSE view
@@ -1,4 +1,4 @@-Copyright Author name here (c) 2016+Copyright Joesph Scott (c) 2016-2018 All rights reserved.
pangraph.cabal view
@@ -1,17 +1,22 @@ name: pangraph-version: 0.1.1.5-synopsis: A set of parsers for graph languages.-description: A package allowing parsing of graph files into graph library datatypes. With aim the cope with large networks and provide translations between graph libraries. Like a pandoc but for graphs. This is my first library so any feedback and help is appreicated. For example use please see the homepage.+version: 0.1.2+synopsis: A set of parsers for graph languages and conversions to + graph libaries.+description: A package allowing parsing of graph files into graph + library datatypes. With aim the cope with large networks + and provide translations between graph libraries. Like a + pandoc but for graphs. This is my first library so any + feedback and help is appreicated. For example use please + see the homepage. homepage: https://github.com/tuura/pangraph#readme license: BSD3 license-file: LICENSE author: Joe Scott maintainer: joseph-scott@hotmail.co.uk-copyright: 2017 Joe Scott-category: graphs, library, data-structures, parser, xml+copyright: 2016-2018 Joesph Scott+category: Data Structures, Graphs, Parser build-type: Simple cabal-version: >=1.10-tested-with: GHC==8.0.2 library hs-source-dirs: src@@ -28,7 +33,7 @@ , bytestring , hexml , containers- , algebraic-graphs+ , algebraic-graphs == 0.1.1.* default-language: Haskell2010 GHC-options: -Wall -fwarn-tabs
src/Pangraph.hs view
@@ -65,7 +65,7 @@ instance Alga.ToGraph Pangraph where type ToVertex Pangraph = Vertex- toGraph p = Alga.graph (vertexList p) (map edgeEndpoints $ edgeList p)+ toGraph p = Alga.vertices (vertexList p) `Alga.overlay` Alga.edges (map edgeEndpoints $ edgeList p) -- * List based constructors