SourceGraph 0.6.0.0 → 0.6.0.1
raw patch · 4 files changed
+16/−4 lines, 4 files
Files
- Analyse/Colors.hs +3/−0
- Analyse/Visualise.hs +5/−3
- ChangeLog +7/−0
- SourceGraph.cabal +1/−1
Analyse/Colors.hs view
@@ -63,3 +63,6 @@ clusterBackground :: Color clusterBackground = X11Color Lavender++noBackground :: Color+noBackground = X11Color Snow
Analyse/Visualise.hs view
@@ -32,7 +32,7 @@ import Parsing.Types import Analyse.GraphRepr import Analyse.Utils-import Analyse.Colors(defaultNodeColor, defaultEdgeColor, clusterBackground)+import Analyse.Colors import Data.Graph.Analysis hiding (Bold) import Data.Graph.Inductive@@ -235,9 +235,11 @@ eAttr le = [Color [edgeCol md $ edge le]] directoryAttributes :: (Depth, String) -> Attributes-directoryAttributes (d,n) = Label (StrLabel n) : col+directoryAttributes (d,n) = col : [Style [SItem Filled []]+ , Label (StrLabel n)+ ] where- col = bool [] [Style [SItem Filled []], FillColor clusterBackground]+ col = bool (FillColor noBackground) (FillColor clusterBackground) $ d `mod` 2 == 0 -- -----------------------------------------------------------------------------
ChangeLog view
@@ -1,3 +1,8 @@+Changes in 0.6.0.1+==================++* Fix up background colours for nested directories in import visualisation.+ Changes in 0.6.0.0 ================== @@ -15,6 +20,8 @@ * Level-based analyses: visualise how deep an entity is from those exported entities.++* The generated Dot code for the visualisations is also saved. Changes in 0.5.5.0 ==================
SourceGraph.cabal view
@@ -1,5 +1,5 @@ Name: SourceGraph-Version: 0.6.0.0+Version: 0.6.0.1 Synopsis: Static code analysis using graph-theoretic techniques. Description: { Statically analyse Haskell source code using graph-theoretic