packages feed

Graphalyze 0.14.1.1 → 0.15.0.0

raw patch · 3 files changed

+20/−23 lines, 3 filesdep ~arraydep ~containersdep ~directoryPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: array, containers, directory, fgl, filepath, graphviz, old-locale, pandoc, process, random, text, time

API changes (from Hackage documentation)

- Data.Graph.Analysis: dataPoints :: ImportParams n e -> [n]
- Data.Graph.Analysis: directed :: ImportParams n e -> Bool
- Data.Graph.Analysis: relationships :: ImportParams n e -> [Rel n e]
- Data.Graph.Analysis: roots :: ImportParams n e -> [n]
- Data.Graph.Analysis.Algorithms.Clustering: instance Eq a => Metric (PosLabel a)
- Data.Graph.Analysis.Reporting: author :: Document -> String
- Data.Graph.Analysis.Reporting: content :: Document -> [DocElement]
- Data.Graph.Analysis.Reporting: date :: Document -> String
- Data.Graph.Analysis.Reporting: defaultImage :: VisParams -> VisProperties
- Data.Graph.Analysis.Reporting: description :: DocGraph -> DocInline
- Data.Graph.Analysis.Reporting: dotGraph :: DocGraph -> DotGraph Node
- Data.Graph.Analysis.Reporting: fileFront :: Document -> String
- Data.Graph.Analysis.Reporting: format :: VisProperties -> GraphvizOutput
- Data.Graph.Analysis.Reporting: graphDir :: VisParams -> FilePath
- Data.Graph.Analysis.Reporting: graphDirectory :: Document -> FilePath
- Data.Graph.Analysis.Reporting: imageFile :: DocGraph -> FilePath
- Data.Graph.Analysis.Reporting: instance Eq DocElement
- Data.Graph.Analysis.Reporting: instance Eq DocGraph
- Data.Graph.Analysis.Reporting: instance Eq DocInline
- Data.Graph.Analysis.Reporting: instance Eq Document
- Data.Graph.Analysis.Reporting: instance Eq GraphSize
- Data.Graph.Analysis.Reporting: instance Eq Location
- Data.Graph.Analysis.Reporting: instance Eq VisParams
- Data.Graph.Analysis.Reporting: instance Eq VisProperties
- Data.Graph.Analysis.Reporting: instance Ord DocElement
- Data.Graph.Analysis.Reporting: instance Ord DocGraph
- Data.Graph.Analysis.Reporting: instance Ord DocInline
- Data.Graph.Analysis.Reporting: instance Ord Document
- Data.Graph.Analysis.Reporting: instance Ord GraphSize
- Data.Graph.Analysis.Reporting: instance Ord Location
- Data.Graph.Analysis.Reporting: instance Ord VisParams
- Data.Graph.Analysis.Reporting: instance Ord VisProperties
- Data.Graph.Analysis.Reporting: instance Read DocElement
- Data.Graph.Analysis.Reporting: instance Read DocGraph
- Data.Graph.Analysis.Reporting: instance Read DocInline
- Data.Graph.Analysis.Reporting: instance Read Document
- Data.Graph.Analysis.Reporting: instance Read GraphSize
- Data.Graph.Analysis.Reporting: instance Read Location
- Data.Graph.Analysis.Reporting: instance Read VisParams
- Data.Graph.Analysis.Reporting: instance Read VisProperties
- Data.Graph.Analysis.Reporting: instance Show DocElement
- Data.Graph.Analysis.Reporting: instance Show DocGraph
- Data.Graph.Analysis.Reporting: instance Show DocInline
- Data.Graph.Analysis.Reporting: instance Show Document
- Data.Graph.Analysis.Reporting: instance Show GraphSize
- Data.Graph.Analysis.Reporting: instance Show Location
- Data.Graph.Analysis.Reporting: instance Show VisParams
- Data.Graph.Analysis.Reporting: instance Show VisProperties
- Data.Graph.Analysis.Reporting: largeImage :: VisParams -> Maybe VisProperties
- Data.Graph.Analysis.Reporting: legend :: Document -> [(Either DocGraph DocInline, DocInline)]
- Data.Graph.Analysis.Reporting: rootDir :: VisParams -> FilePath
- Data.Graph.Analysis.Reporting: rootDirectory :: Document -> FilePath
- Data.Graph.Analysis.Reporting: saveDot :: VisParams -> Bool
- Data.Graph.Analysis.Reporting: size :: VisProperties -> GraphSize
- Data.Graph.Analysis.Reporting: title :: Document -> DocInline
- Data.Graph.Analysis.Reporting.Pandoc: instance DocumentGenerator PandocDocument
- Data.Graph.Analysis.Reporting.Pandoc: instance Eq PandocProcess
- Data.Graph.Analysis.Reporting.Pandoc: instance Ord PandocProcess
- Data.Graph.Analysis.Reporting.Pandoc: instance Read PandocProcess
- Data.Graph.Analysis.Reporting.Pandoc: instance Show PandocProcess
- Data.Graph.Analysis.Types: clust :: GenCluster a -> Int
- Data.Graph.Analysis.Types: directedData :: GraphData n e -> Bool
- Data.Graph.Analysis.Types: graph :: GraphData n e -> AGr n e
- Data.Graph.Analysis.Types: instance (Eq n, Ord e) => Eq (GraphData n e)
- Data.Graph.Analysis.Types: instance (Read n, Read e) => Read (GraphData n e)
- Data.Graph.Analysis.Types: instance (Show n, Show e) => Show (GraphData n e)
- Data.Graph.Analysis.Types: instance ClusterLabel (GenCluster a)
- Data.Graph.Analysis.Types: instance Eq a => Eq (GenCluster a)
- Data.Graph.Analysis.Types: instance Eq a => Eq (PosLabel a)
- Data.Graph.Analysis.Types: instance Show a => Show (GenCluster a)
- Data.Graph.Analysis.Types: instance Show a => Show (PosLabel a)
- Data.Graph.Analysis.Types: nLbl :: GenCluster a -> a
- Data.Graph.Analysis.Types: plabel :: PosLabel a -> a
- Data.Graph.Analysis.Types: pnode :: PosLabel a -> Node
- Data.Graph.Analysis.Types: unusedRelationships :: GraphData n e -> [Rel n e]
- Data.Graph.Analysis.Types: wantedRootNodes :: GraphData n e -> NGroup
- Data.Graph.Analysis.Types: xPos :: PosLabel a -> Int
- Data.Graph.Analysis.Types: yPos :: PosLabel a -> Int
+ Data.Graph.Analysis: [dataPoints] :: ImportParams n e -> [n]
+ Data.Graph.Analysis: [directed] :: ImportParams n e -> Bool
+ Data.Graph.Analysis: [relationships] :: ImportParams n e -> [Rel n e]
+ Data.Graph.Analysis: [roots] :: ImportParams n e -> [n]
+ Data.Graph.Analysis.Algorithms.Clustering: instance GHC.Classes.Eq a => Data.Set.BKTree.Metric (Data.Graph.Analysis.Types.PosLabel a)
+ Data.Graph.Analysis.Reporting: [author] :: Document -> String
+ Data.Graph.Analysis.Reporting: [content] :: Document -> [DocElement]
+ Data.Graph.Analysis.Reporting: [date] :: Document -> String
+ Data.Graph.Analysis.Reporting: [defaultImage] :: VisParams -> VisProperties
+ Data.Graph.Analysis.Reporting: [description] :: DocGraph -> DocInline
+ Data.Graph.Analysis.Reporting: [dotGraph] :: DocGraph -> DotGraph Node
+ Data.Graph.Analysis.Reporting: [fileFront] :: Document -> String
+ Data.Graph.Analysis.Reporting: [format] :: VisProperties -> GraphvizOutput
+ Data.Graph.Analysis.Reporting: [grSize] :: VisProperties -> GraphSize
+ Data.Graph.Analysis.Reporting: [graphDir] :: VisParams -> FilePath
+ Data.Graph.Analysis.Reporting: [graphDirectory] :: Document -> FilePath
+ Data.Graph.Analysis.Reporting: [imageFile] :: DocGraph -> FilePath
+ Data.Graph.Analysis.Reporting: [largeImage] :: VisParams -> Maybe VisProperties
+ Data.Graph.Analysis.Reporting: [legend] :: Document -> [(Either DocGraph DocInline, DocInline)]
+ Data.Graph.Analysis.Reporting: [rootDir] :: VisParams -> FilePath
+ Data.Graph.Analysis.Reporting: [rootDirectory] :: Document -> FilePath
+ Data.Graph.Analysis.Reporting: [saveDot] :: VisParams -> Bool
+ Data.Graph.Analysis.Reporting: [title] :: Document -> DocInline
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.DocElement
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.DocGraph
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.DocInline
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.Document
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.GraphSize
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.Location
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.VisParams
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.VisProperties
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.DocElement
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.DocGraph
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.DocInline
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.Document
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.GraphSize
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.Location
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.VisParams
+ Data.Graph.Analysis.Reporting: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.VisProperties
+ Data.Graph.Analysis.Reporting: instance GHC.Read.Read Data.Graph.Analysis.Reporting.DocElement
+ Data.Graph.Analysis.Reporting: instance GHC.Read.Read Data.Graph.Analysis.Reporting.DocGraph
+ Data.Graph.Analysis.Reporting: instance GHC.Read.Read Data.Graph.Analysis.Reporting.DocInline
+ Data.Graph.Analysis.Reporting: instance GHC.Read.Read Data.Graph.Analysis.Reporting.Document
+ Data.Graph.Analysis.Reporting: instance GHC.Read.Read Data.Graph.Analysis.Reporting.GraphSize
+ Data.Graph.Analysis.Reporting: instance GHC.Read.Read Data.Graph.Analysis.Reporting.Location
+ Data.Graph.Analysis.Reporting: instance GHC.Read.Read Data.Graph.Analysis.Reporting.VisParams
+ Data.Graph.Analysis.Reporting: instance GHC.Read.Read Data.Graph.Analysis.Reporting.VisProperties
+ Data.Graph.Analysis.Reporting: instance GHC.Show.Show Data.Graph.Analysis.Reporting.DocElement
+ Data.Graph.Analysis.Reporting: instance GHC.Show.Show Data.Graph.Analysis.Reporting.DocGraph
+ Data.Graph.Analysis.Reporting: instance GHC.Show.Show Data.Graph.Analysis.Reporting.DocInline
+ Data.Graph.Analysis.Reporting: instance GHC.Show.Show Data.Graph.Analysis.Reporting.Document
+ Data.Graph.Analysis.Reporting: instance GHC.Show.Show Data.Graph.Analysis.Reporting.GraphSize
+ Data.Graph.Analysis.Reporting: instance GHC.Show.Show Data.Graph.Analysis.Reporting.Location
+ Data.Graph.Analysis.Reporting: instance GHC.Show.Show Data.Graph.Analysis.Reporting.VisParams
+ Data.Graph.Analysis.Reporting: instance GHC.Show.Show Data.Graph.Analysis.Reporting.VisProperties
+ Data.Graph.Analysis.Reporting.Pandoc: instance Data.Graph.Analysis.Reporting.DocumentGenerator Data.Graph.Analysis.Reporting.Pandoc.PandocDocument
+ Data.Graph.Analysis.Reporting.Pandoc: instance GHC.Classes.Eq Data.Graph.Analysis.Reporting.Pandoc.PandocProcess
+ Data.Graph.Analysis.Reporting.Pandoc: instance GHC.Classes.Ord Data.Graph.Analysis.Reporting.Pandoc.PandocProcess
+ Data.Graph.Analysis.Reporting.Pandoc: instance GHC.Read.Read Data.Graph.Analysis.Reporting.Pandoc.PandocProcess
+ Data.Graph.Analysis.Reporting.Pandoc: instance GHC.Show.Show Data.Graph.Analysis.Reporting.Pandoc.PandocProcess
+ Data.Graph.Analysis.Types: [clust] :: GenCluster a -> Int
+ Data.Graph.Analysis.Types: [directedData] :: GraphData n e -> Bool
+ Data.Graph.Analysis.Types: [graph] :: GraphData n e -> AGr n e
+ Data.Graph.Analysis.Types: [nLbl] :: GenCluster a -> a
+ Data.Graph.Analysis.Types: [plabel] :: PosLabel a -> a
+ Data.Graph.Analysis.Types: [pnode] :: PosLabel a -> Node
+ Data.Graph.Analysis.Types: [unusedRelationships] :: GraphData n e -> [Rel n e]
+ Data.Graph.Analysis.Types: [wantedRootNodes] :: GraphData n e -> NGroup
+ Data.Graph.Analysis.Types: [xPos] :: PosLabel a -> Int
+ Data.Graph.Analysis.Types: [yPos] :: PosLabel a -> Int
+ Data.Graph.Analysis.Types: instance (GHC.Classes.Eq n, GHC.Classes.Ord e) => GHC.Classes.Eq (Data.Graph.Analysis.Types.GraphData n e)
+ Data.Graph.Analysis.Types: instance (GHC.Read.Read e, GHC.Read.Read n) => GHC.Read.Read (Data.Graph.Analysis.Types.GraphData n e)
+ Data.Graph.Analysis.Types: instance (GHC.Show.Show e, GHC.Show.Show n) => GHC.Show.Show (Data.Graph.Analysis.Types.GraphData n e)
+ Data.Graph.Analysis.Types: instance Data.Graph.Analysis.Types.ClusterLabel (Data.Graph.Analysis.Types.GenCluster a)
+ Data.Graph.Analysis.Types: instance GHC.Classes.Eq a => GHC.Classes.Eq (Data.Graph.Analysis.Types.GenCluster a)
+ Data.Graph.Analysis.Types: instance GHC.Classes.Eq a => GHC.Classes.Eq (Data.Graph.Analysis.Types.PosLabel a)
+ Data.Graph.Analysis.Types: instance GHC.Show.Show a => GHC.Show.Show (Data.Graph.Analysis.Types.GenCluster a)
+ Data.Graph.Analysis.Types: instance GHC.Show.Show a => GHC.Show.Show (Data.Graph.Analysis.Types.PosLabel a)
+ Data.Graph.Analysis.Types: type family NodeLabel cl;
+ Data.Graph.Analysis.Types: }
- Data.Graph.Analysis: collapseAndUpdate :: Ord n => [AGr n e -> [(NGroup, n)]] -> GraphData n e -> GraphData n e
+ Data.Graph.Analysis: collapseAndUpdate :: (Ord n) => [AGr n e -> [(NGroup, n)]] -> GraphData n e -> GraphData n e
- Data.Graph.Analysis: collapseAndUpdate' :: Ord n => [AGr n e -> [(NGroup, n)]] -> GraphData n e -> (GraphData n e, Map n n)
+ Data.Graph.Analysis: collapseAndUpdate' :: (Ord n) => [AGr n e -> [(NGroup, n)]] -> GraphData n e -> (GraphData n e, Map n n)
- Data.Graph.Analysis: levelGraphFromRoot :: Ord n => GraphData n e -> GraphData (GenCluster n) e
+ Data.Graph.Analysis: levelGraphFromRoot :: (Ord n) => GraphData n e -> GraphData (GenCluster n) e
- Data.Graph.Analysis.Algorithms.Clustering: collapseAndReplace :: DynGraph gr => [gr a b -> [(NGroup, a)]] -> gr a b -> gr a b
+ Data.Graph.Analysis.Algorithms.Clustering: collapseAndReplace :: (DynGraph gr) => [gr a b -> [(NGroup, a)]] -> gr a b -> gr a b
- Data.Graph.Analysis.Algorithms.Clustering: collapseAndReplace' :: DynGraph gr => [gr a b -> [(NGroup, a)]] -> gr a b -> (gr a b, [(NGroup, a)])
+ Data.Graph.Analysis.Algorithms.Clustering: collapseAndReplace' :: (DynGraph gr) => [gr a b -> [(NGroup, a)]] -> gr a b -> (gr a b, [(NGroup, a)])
- Data.Graph.Analysis.Algorithms.Clustering: collapseGraphBy :: DynGraph gr => [gr (CNodes a) b -> [NGroup]] -> gr a b -> gr (CNodes a) b
+ Data.Graph.Analysis.Algorithms.Clustering: collapseGraphBy :: (DynGraph gr) => [gr (CNodes a) b -> [NGroup]] -> gr a b -> gr (CNodes a) b
- Data.Graph.Analysis.Algorithms.Clustering: trivialCollapse :: Graph gr => gr (CNodes a) b -> Bool
+ Data.Graph.Analysis.Algorithms.Clustering: trivialCollapse :: (Graph gr) => gr (CNodes a) b -> Bool
- Data.Graph.Analysis.Algorithms.Common: cliquesIn :: DynGraph g => g a b -> [[LNode a]]
+ Data.Graph.Analysis.Algorithms.Common: cliquesIn :: (DynGraph g) => g a b -> [[LNode a]]
- Data.Graph.Analysis.Algorithms.Common: cliquesIn' :: DynGraph g => g a b -> [NGroup]
+ Data.Graph.Analysis.Algorithms.Common: cliquesIn' :: (DynGraph g) => g a b -> [NGroup]
- Data.Graph.Analysis.Algorithms.Common: componentsOf :: DynGraph g => g a b -> [g a b]
+ Data.Graph.Analysis.Algorithms.Common: componentsOf :: (DynGraph g) => g a b -> [g a b]
- Data.Graph.Analysis.Algorithms.Common: cyclesIn :: DynGraph g => g a b -> [LNGroup a]
+ Data.Graph.Analysis.Algorithms.Common: cyclesIn :: (DynGraph g) => g a b -> [LNGroup a]
- Data.Graph.Analysis.Algorithms.Common: cyclesIn' :: DynGraph g => g a b -> [NGroup]
+ Data.Graph.Analysis.Algorithms.Common: cyclesIn' :: (DynGraph g) => g a b -> [NGroup]
- Data.Graph.Analysis.Algorithms.Common: findRegular :: Graph g => g a b -> [[Node]]
+ Data.Graph.Analysis.Algorithms.Common: findRegular :: (Graph g) => g a b -> [[Node]]
- Data.Graph.Analysis.Algorithms.Common: isRegular :: Graph g => g a b -> NGroup -> Bool
+ Data.Graph.Analysis.Algorithms.Common: isRegular :: (Graph g) => g a b -> NGroup -> Bool
- Data.Graph.Analysis.Algorithms.Common: pathTree :: DynGraph g => Decomp g a b -> [NGroup]
+ Data.Graph.Analysis.Algorithms.Common: pathTree :: (DynGraph g) => Decomp g a b -> [NGroup]
- Data.Graph.Analysis.Algorithms.Common: uniqueCycles :: DynGraph g => g a b -> [LNGroup a]
+ Data.Graph.Analysis.Algorithms.Common: uniqueCycles :: (DynGraph g) => g a b -> [LNGroup a]
- Data.Graph.Analysis.Algorithms.Common: uniqueCycles' :: DynGraph g => g a b -> [NGroup]
+ Data.Graph.Analysis.Algorithms.Common: uniqueCycles' :: (DynGraph g) => g a b -> [NGroup]
- Data.Graph.Analysis.Algorithms.Directed: accessibleFrom :: Graph g => g a b -> [Node] -> [Node]
+ Data.Graph.Analysis.Algorithms.Directed: accessibleFrom :: (Graph g) => g a b -> [Node] -> [Node]
- Data.Graph.Analysis.Algorithms.Directed: accessibleFrom' :: Graph g => g a b -> Set Node -> Set Node
+ Data.Graph.Analysis.Algorithms.Directed: accessibleFrom' :: (Graph g) => g a b -> Set Node -> Set Node
- Data.Graph.Analysis.Algorithms.Directed: accessibleOnlyFrom :: Graph g => g a b -> [Node] -> [Node]
+ Data.Graph.Analysis.Algorithms.Directed: accessibleOnlyFrom :: (Graph g) => g a b -> [Node] -> [Node]
- Data.Graph.Analysis.Algorithms.Directed: accessibleOnlyFrom' :: Graph g => g a b -> Set Node -> Set Node
+ Data.Graph.Analysis.Algorithms.Directed: accessibleOnlyFrom' :: (Graph g) => g a b -> Set Node -> Set Node
- Data.Graph.Analysis.Algorithms.Directed: endBy :: Graph g => (g a b -> Node -> NGroup) -> g a b -> LNGroup a
+ Data.Graph.Analysis.Algorithms.Directed: endBy :: (Graph g) => (g a b -> Node -> NGroup) -> g a b -> LNGroup a
- Data.Graph.Analysis.Algorithms.Directed: endBy' :: Graph g => (g a b -> Node -> NGroup) -> g a b -> NGroup
+ Data.Graph.Analysis.Algorithms.Directed: endBy' :: (Graph g) => (g a b -> Node -> NGroup) -> g a b -> NGroup
- Data.Graph.Analysis.Algorithms.Directed: endNode :: Graph g => (g a b -> Node -> NGroup) -> g a b -> LNode a -> Bool
+ Data.Graph.Analysis.Algorithms.Directed: endNode :: (Graph g) => (g a b -> Node -> NGroup) -> g a b -> LNode a -> Bool
- Data.Graph.Analysis.Algorithms.Directed: endNode' :: Graph g => (g a b -> Node -> NGroup) -> g a b -> Node -> Bool
+ Data.Graph.Analysis.Algorithms.Directed: endNode' :: (Graph g) => (g a b -> Node -> NGroup) -> g a b -> Node -> Bool
- Data.Graph.Analysis.Algorithms.Directed: isLeaf :: Graph g => g a b -> LNode a -> Bool
+ Data.Graph.Analysis.Algorithms.Directed: isLeaf :: (Graph g) => g a b -> LNode a -> Bool
- Data.Graph.Analysis.Algorithms.Directed: isLeaf' :: Graph g => g a b -> Node -> Bool
+ Data.Graph.Analysis.Algorithms.Directed: isLeaf' :: (Graph g) => g a b -> Node -> Bool
- Data.Graph.Analysis.Algorithms.Directed: isRoot :: Graph g => g a b -> LNode a -> Bool
+ Data.Graph.Analysis.Algorithms.Directed: isRoot :: (Graph g) => g a b -> LNode a -> Bool
- Data.Graph.Analysis.Algorithms.Directed: isRoot' :: Graph g => g a b -> Node -> Bool
+ Data.Graph.Analysis.Algorithms.Directed: isRoot' :: (Graph g) => g a b -> Node -> Bool
- Data.Graph.Analysis.Algorithms.Directed: isSingleton :: Graph g => g a b -> LNode a -> Bool
+ Data.Graph.Analysis.Algorithms.Directed: isSingleton :: (Graph g) => g a b -> LNode a -> Bool
- Data.Graph.Analysis.Algorithms.Directed: isSingleton' :: Graph g => g a b -> Node -> Bool
+ Data.Graph.Analysis.Algorithms.Directed: isSingleton' :: (Graph g) => g a b -> Node -> Bool
- Data.Graph.Analysis.Algorithms.Directed: leafMinPaths :: Graph g => g a b -> [LNGroup a]
+ Data.Graph.Analysis.Algorithms.Directed: leafMinPaths :: (Graph g) => g a b -> [LNGroup a]
- Data.Graph.Analysis.Algorithms.Directed: leafMinPaths' :: Graph g => g a b -> [NGroup]
+ Data.Graph.Analysis.Algorithms.Directed: leafMinPaths' :: (Graph g) => g a b -> [NGroup]
- Data.Graph.Analysis.Algorithms.Directed: leavesOf :: Graph g => g a b -> LNGroup a
+ Data.Graph.Analysis.Algorithms.Directed: leavesOf :: (Graph g) => g a b -> LNGroup a
- Data.Graph.Analysis.Algorithms.Directed: leavesOf' :: Graph g => g a b -> NGroup
+ Data.Graph.Analysis.Algorithms.Directed: leavesOf' :: (Graph g) => g a b -> NGroup
- Data.Graph.Analysis.Algorithms.Directed: rootsOf :: Graph g => g a b -> LNGroup a
+ Data.Graph.Analysis.Algorithms.Directed: rootsOf :: (Graph g) => g a b -> LNGroup a
- Data.Graph.Analysis.Algorithms.Directed: rootsOf' :: Graph g => g a b -> NGroup
+ Data.Graph.Analysis.Algorithms.Directed: rootsOf' :: (Graph g) => g a b -> NGroup
- Data.Graph.Analysis.Algorithms.Directed: singletonsOf :: Graph g => g a b -> LNGroup a
+ Data.Graph.Analysis.Algorithms.Directed: singletonsOf :: (Graph g) => g a b -> LNGroup a
- Data.Graph.Analysis.Algorithms.Directed: singletonsOf' :: Graph g => g a b -> NGroup
+ Data.Graph.Analysis.Algorithms.Directed: singletonsOf' :: (Graph g) => g a b -> NGroup
- Data.Graph.Analysis.Types: class (Ord (Cluster cl), ToGraphID (Cluster cl)) => ClusterLabel cl where type family Cluster cl type family NodeLabel cl
+ Data.Graph.Analysis.Types: class (Ord (Cluster cl), ToGraphID (Cluster cl)) => ClusterLabel cl where type Cluster cl type NodeLabel cl where {
- Data.Graph.Analysis.Utils: addLabels :: Graph g => g a b -> [Node] -> [LNode a]
+ Data.Graph.Analysis.Utils: addLabels :: (Graph g) => g a b -> [Node] -> [LNode a]
- Data.Graph.Analysis.Utils: clusterCount :: Graph g => g (GenCluster a) b -> IntMap Int
+ Data.Graph.Analysis.Utils: clusterCount :: (Graph g) => g (GenCluster a) b -> IntMap Int
- Data.Graph.Analysis.Utils: compact :: DynGraph gr => gr a b -> gr a [b]
+ Data.Graph.Analysis.Utils: compact :: (DynGraph gr) => gr a b -> gr a [b]
- Data.Graph.Analysis.Utils: compact' :: DynGraph gr => gr a b -> gr a Int
+ Data.Graph.Analysis.Utils: compact' :: (DynGraph gr) => gr a b -> gr a Int
- Data.Graph.Analysis.Utils: delLNodes :: DynGraph gr => LNGroup a -> gr a b -> gr a b
+ Data.Graph.Analysis.Utils: delLNodes :: (DynGraph gr) => LNGroup a -> gr a b -> gr a b
- Data.Graph.Analysis.Utils: filterNodes :: Graph g => (g a b -> LNode a -> Bool) -> g a b -> [LNode a]
+ Data.Graph.Analysis.Utils: filterNodes :: (Graph g) => (g a b -> LNode a -> Bool) -> g a b -> [LNode a]
- Data.Graph.Analysis.Utils: filterNodes' :: Graph g => (g a b -> Node -> Bool) -> g a b -> [Node]
+ Data.Graph.Analysis.Utils: filterNodes' :: (Graph g) => (g a b -> Node -> Bool) -> g a b -> [Node]
- Data.Graph.Analysis.Utils: fixPoint :: Eq a => (a -> a) -> a -> a
+ Data.Graph.Analysis.Utils: fixPoint :: (Eq a) => (a -> a) -> a -> a
- Data.Graph.Analysis.Utils: getLabels :: Graph g => g a b -> [Node] -> [a]
+ Data.Graph.Analysis.Utils: getLabels :: (Graph g) => g a b -> [Node] -> [a]
- Data.Graph.Analysis.Utils: groupElems :: Ord b => (a -> b) -> [a] -> [(b, [a])]
+ Data.Graph.Analysis.Utils: groupElems :: (Ord b) => (a -> b) -> [a] -> [(b, [a])]
- Data.Graph.Analysis.Utils: labels :: Graph g => g a b -> [a]
+ Data.Graph.Analysis.Utils: labels :: (Graph g) => g a b -> [a]
- Data.Graph.Analysis.Utils: mkSimple :: DynGraph gr => gr a b -> gr a b
+ Data.Graph.Analysis.Utils: mkSimple :: (DynGraph gr) => gr a b -> gr a b
- Data.Graph.Analysis.Utils: nlmap :: DynGraph gr => (LNode a -> c) -> gr a b -> gr c b
+ Data.Graph.Analysis.Utils: nlmap :: (DynGraph gr) => (LNode a -> c) -> gr a b -> gr c b
- Data.Graph.Analysis.Utils: reCluster :: DynGraph g => g (GenCluster a) b -> g (GenCluster a) b
+ Data.Graph.Analysis.Utils: reCluster :: (DynGraph g) => g (GenCluster a) b -> g (GenCluster a) b
- Data.Graph.Analysis.Utils: reClusterBy :: DynGraph g => IntMap Int -> g (GenCluster a) b -> g (GenCluster a) b
+ Data.Graph.Analysis.Utils: reClusterBy :: (DynGraph g) => IntMap Int -> g (GenCluster a) b -> g (GenCluster a) b
- Data.Graph.Analysis.Utils: setCluster :: DynGraph gr => IntMap Int -> gr a b -> gr (GenCluster a) b
+ Data.Graph.Analysis.Utils: setCluster :: (DynGraph gr) => IntMap Int -> gr a b -> gr (GenCluster a) b
- Data.Graph.Analysis.Utils: shuffle :: RandomGen g => g -> [a] -> ([a], g)
+ Data.Graph.Analysis.Utils: shuffle :: (RandomGen g) => g -> [a] -> ([a], g)
- Data.Graph.Analysis.Utils: sortMinMax :: Ord a => [a] -> ([a], a, a)
+ Data.Graph.Analysis.Utils: sortMinMax :: (Ord a) => [a] -> ([a], a, a)
- Data.Graph.Analysis.Visualisation: assignCluster :: ClusterLabel cl => LNode cl -> LNodeCluster (Cluster cl) (NodeLabel cl)
+ Data.Graph.Analysis.Visualisation: assignCluster :: (ClusterLabel cl) => LNode cl -> LNodeCluster (Cluster cl) (NodeLabel cl)
- Data.Graph.Analysis.Visualisation: blockPrint :: Show a => [a] -> String
+ Data.Graph.Analysis.Visualisation: blockPrint :: (Show a) => [a] -> String
- Data.Graph.Analysis.Visualisation: blockPrintList :: Show a => [a] -> String
+ Data.Graph.Analysis.Visualisation: blockPrintList :: (Show a) => [a] -> String
- Data.Graph.Analysis.Visualisation: blockPrintWith :: Show a => String -> [a] -> String
+ Data.Graph.Analysis.Visualisation: blockPrintWith :: (Show a) => String -> [a] -> String
- Data.Graph.Analysis.Visualisation: graphviz :: Ord cl => GraphvizParams Node nl el cl l -> GraphData nl el -> DotGraph Node
+ Data.Graph.Analysis.Visualisation: graphviz :: (Ord cl) => GraphvizParams Node nl el cl l -> GraphData nl el -> DotGraph Node
- Data.Graph.Analysis.Visualisation: graphvizClusters :: ClusterLabel nl => GraphvizParams Node nl el (Cluster nl) (NodeLabel nl) -> GraphData nl el -> DotGraph Node
+ Data.Graph.Analysis.Visualisation: graphvizClusters :: (ClusterLabel nl) => GraphvizParams Node nl el (Cluster nl) (NodeLabel nl) -> GraphData nl el -> DotGraph Node
- Data.Graph.Analysis.Visualisation: showCycle :: Show a => [a] -> String
+ Data.Graph.Analysis.Visualisation: showCycle :: (Show a) => [a] -> String
- Data.Graph.Analysis.Visualisation: showNodes :: Show a => [a] -> String
+ Data.Graph.Analysis.Visualisation: showNodes :: (Show a) => [a] -> String
- Data.Graph.Analysis.Visualisation: showPath :: Show a => [a] -> String
+ Data.Graph.Analysis.Visualisation: showPath :: (Show a) => [a] -> String

Files

Data/Graph/Analysis/Reporting.hs view
@@ -37,7 +37,7 @@ import           Data.GraphViz.Commands.IO         (writeDotFile) import           Data.GraphViz.Exception -import Control.Exception     (SomeException (..), tryJust)+import Control.Exception     (SomeException(..), tryJust) import Control.Monad         (liftM, when) import Data.Time             (formatTime, getZonedTime, zonedTimeToLocalTime) import System.Directory      (createDirectoryIfMissing)@@ -142,7 +142,7 @@                deriving (Eq, Ord, Show, Read)  -- | A specification on how to visualise a 'DocGraph'.-data VisProperties = VProps { size   :: GraphSize+data VisProperties = VProps { grSize :: GraphSize                             , format :: GraphvizOutput                             }                    deriving (Eq, Ord, Show, Read)@@ -182,7 +182,7 @@ legToDef fp gfp vp (Left dg) def = liftM ((,) def)                                    $ graphImage' fp gfp vp' dg   where-    vp' = vp { size = DefaultSize }+    vp' = vp { grSize = DefaultSize } legToDef _ _ _ (Right di) def = return (def,di)  -- | Return today's date as a string, e.g. \"Monday 1 January, 2000\".@@ -273,7 +273,7 @@  -- | Add a 'GlobalAttribute' to the 'DotGraph' specifying the given size. setSize      :: VisProperties -> DotGraph a -> DotGraph a-setSize vp g = case size vp of+setSize vp g = case grSize vp of                  DefaultSize   -> g                  (GivenSize s) -> g { graphStatements = setS s}   where
Data/Graph/Analysis/Reporting/Pandoc.hs view
@@ -29,7 +29,7 @@  import Data.Graph.Analysis.Reporting -import           Data.GraphViz.Commands (GraphvizOutput (Png, Svg))+import           Data.GraphViz.Commands (GraphvizOutput(Png, Svg)) import           Text.Pandoc import qualified Text.Pandoc.Shared     as P @@ -50,7 +50,7 @@ pandocHtml = pd { writer        = writeHtmlString                 , extension     = "html"                 , templateName  = "html"-                , extGraphProps = Just VProps { size   = DefaultSize+                , extGraphProps = Just VProps { grSize = DefaultSize                                               , format = Svg                                               }                 }@@ -60,7 +60,7 @@                  , extension  = "tex"                  , templateName = "latex"                  -- 4.5" should be less than \textwidth in LaTeX.-                 , graphProps = defaultProps { size = createSize 4.5 }+                 , graphProps = defaultProps { grSize = createSize 4.5 }                  }  pandocRtf :: PandocDocument@@ -116,7 +116,7 @@ defaultWidth = 10  defaultProps :: VisProperties-defaultProps = VProps { size   = createSize defaultWidth+defaultProps = VProps { grSize = createSize defaultWidth                       , format = Png                       } @@ -126,8 +126,7 @@  -- | Define the 'WriterOptions' used. writerOptions :: WriterOptions-writerOptions = def { writerStandalone = True-                    , writerTableOfContents = True+writerOptions = def { writerTableOfContents = True                     , writerNumberSections = True                     } @@ -145,8 +144,7 @@  -- | Create the document. createPandoc     :: PandocDocument -> Document -> IO (Maybe FilePath)-createPandoc p d = do Right template <- getDefaultTemplate Nothing (templateName p)-                      created <- tryCreateDirectory dir+createPandoc p d = do created <- tryCreateDirectory dir                       -- If the first one fails, so will this one.                       _ <- tryCreateDirectory $ dir </> gdir                       if not created@@ -156,7 +154,7 @@                                  case elems of                                    Just es -> do let es' = htmlAuthDt : es                                                      pnd = Pandoc meta es'-                                                     doc = convert template pnd+                                                     doc = convert pnd                                                  wr <- tryWrite doc                                                  case wr of                                                    (Right _) -> success@@ -177,7 +175,7 @@                    , largeImage   = extGraphProps p                    , saveDot      = keepDot p                    }-      convert t = writer p (writerOptions {writerTemplate = t})+      convert = writer p writerOptions       file = dir </> fileFront d <.> extension p       tryWrite :: String -> IO (Either SomeException ())       tryWrite = try . writeFile file@@ -214,8 +212,8 @@ inlines (Grouping grp)     = concat . intersperse [Space] $ map inlines grp inlines (Bold inl)         = [Strong (inlines inl)] inlines (Emphasis inl)     = [Emph (inlines inl)]-inlines (DocLink inl loc)  = [Link (inlines inl) (loc2target loc)]-inlines (DocImage inl loc) = [Image (inlines inl) (loc2target loc)]+inlines (DocLink inl loc)  = [Link nullAttr (inlines inl) (loc2target loc)]+inlines (DocImage inl loc) = [Image nullAttr (inlines inl) (loc2target loc)]  {- |    Conversion of complex elements.  The only reason it's in the IO monad is
Graphalyze.cabal view
@@ -1,5 +1,5 @@ Name:                Graphalyze-Version:             0.14.1.1+Version:             0.15.0.0 Synopsis:            Graph-Theoretic Analysis library. Description:         A library to use graph theory to analyse the relationships                         inherent in discrete data.@@ -18,12 +18,12 @@  Source-Repository head     Type:         git-    Location:     git://github.com/ivan-m/Graphalyze.git+    Location:     https://github.com/ivan-m/Graphalyze.git  Flag old-locale {      Description: Use old-locale and time < 1.5      Manual:      False-     Default:     True+     Default:     False }  Library {@@ -36,15 +36,15 @@                          random,                          bktrees >= 0.2 && <0.4,                          fgl == 5.5.*,-                         graphviz >= 2999.15 && < 2999.19,-                         pandoc >= 1.12 && < 1.16,+                         graphviz >= 2999.15 && < 2999.20,+                         pandoc == 1.19.*,                          text          if flag(old-locale) {            Build-Depends: time < 1.5,                           old-locale         } else {-           Build-Depends: time == 1.5.*+           Build-Depends: time >= 1.5 && < 1.9         }          Exposed-Modules:     Data.Graph.Analysis@@ -62,5 +62,4 @@                              Paths_Graphalyze          Ghc-Options:         -Wall-        Ghc-Prof-Options:    -prof }