Graphalyze 0.14.0.0 → 0.14.0.1
raw patch · 3 files changed
+10/−10 lines, 3 filesdep ~graphvizdep ~pandoc
Dependency ranges changed: graphviz, pandoc
Files
- Data/Graph/Analysis/Reporting.hs +2/−2
- Data/Graph/Analysis/Reporting/Pandoc.hs +5/−5
- Graphalyze.cabal +3/−3
Data/Graph/Analysis/Reporting.hs view
@@ -141,7 +141,7 @@ deriving (Eq, Ord, Show, Read) -- | Specify the size the 'DotGraph' should be at.-data GraphSize = GivenSize AC.GraphSize -- ^ Specify the size to use.+data GraphSize = GivenSize AC.GraphSize -- ^ Specify the maximum size to use. | DefaultSize -- ^ Let GraphViz choose an appropriate size. deriving (Eq, Ord, Show, Read) @@ -277,7 +277,7 @@ -- | Using a 6:4 ratio, create the given 'Point' representing -- width,height from the width. createSize :: Double -> GraphSize-createSize w = GivenSize $ AC.GSize w (Just $ w*4/6) True+createSize w = GivenSize $ AC.GSize w (Just $ w*4/6) False -- | Replace all @.@ with @-@ in the given 'FilePath', since some output -- formats (e.g. LaTeX) don't like extraneous @.@'s in the filename.
Data/Graph/Analysis/Reporting/Pandoc.hs view
@@ -125,10 +125,10 @@ -- | Define the 'WriterOptions' used. writerOptions :: WriterOptions-writerOptions = defaultWriterOptions { writerStandalone = True- , writerTableOfContents = True- , writerNumberSections = True- }+writerOptions = def { writerStandalone = True+ , writerTableOfContents = True+ , writerNumberSections = True+ } -- | Used when traversing the document structure. data PandocProcess = PP { secLevel :: Int@@ -231,7 +231,7 @@ elements p (Section lbl elems) = do let n = secLevel p p' = p { secLevel = n + 1}- sec = Header n (inlines lbl)+ sec = Header n nullAttr (inlines lbl) elems' <- multiElems p' elems return (fmap (sec:) elems')
Graphalyze.cabal view
@@ -1,5 +1,5 @@ Name: Graphalyze-Version: 0.14.0.0+Version: 0.14.0.1 Synopsis: Graph-Theoretic Analysis library. Description: A library to use graph theory to analyse the relationships inherent in discrete data.@@ -30,8 +30,8 @@ time, bktrees >= 0.2 && <0.4, fgl >= 5.4.2.3 && < 5.5,- graphviz >= 2999.15 && < 2999.16,- pandoc >= 1.8 && < 1.10,+ graphviz >= 2999.15 && < 2999.17,+ pandoc == 1.10.*, text Exposed-Modules: Data.Graph.Analysis