mmsyn4 0.1.1.1 → 0.1.2.0
raw patch · 4 files changed
+13/−8 lines, 4 filesdep ~basedep ~directorydep ~process
Dependency ranges changed: base, directory, process, vector
Files
- ChangeLog.md +5/−0
- Main.hs +3/−3
- README +2/−2
- mmsyn4.cabal +3/−3
ChangeLog.md view
@@ -11,3 +11,8 @@ ## 0.1.1.1 -- 2019-10-18 * First version revised B. Some minor documentation and .cabal file improvements.++## 0.1.2.0 -- 2019-10-22++* First version revised C. Changed the output files scheme. Avoided a pipe redirection in the terminal. + Some minor documentation and .cabal file improvements.
Main.hs view
@@ -158,7 +158,7 @@ 11. Your first visualization is then created. 12. Save the spreadsheet document as a spreadsheet file. 13. Repeat the steps from 2 to 12 as needed to produce more visualizations. -14. Afterwards, you have a list of svg files, x12.gv file as a last source file for Graphviz, and a list of csv files, and a saved spreadsheet file. Then you can use the produced visualizations for some other documents.+14. Afterwards, you have a list of svg files, a list of .gv files -- source files for Graphviz -- and a list of csv files, and a saved spreadsheet file. Then you can use the produced visualizations for some other documents. -} main :: IO ()@@ -168,8 +168,8 @@ then do putStrLn "Please, input the basic name of the visualization file!" zs <- getLine - let ys = combineCells xs in writeFile "x12.gv" ys ts <- getCPUTime+ let ys = combineCells xs in writeFile (show ts ++ "." ++ zs ++ ".gv") ys renameFile "1.csv" (show ts ++ "." ++ zs ++ ".csv") let x1 = showE "fdp" x2 = showE "twopi"@@ -187,7 +187,7 @@ putStrLn "otherwise there will be used the default neato" u <- getChar let temp r = getBFst' (fromJust (showE "neato"), V.fromList (map (\(x, y) -> (x, fromJust y)) [('c', showE "circo"), ('f', showE "fdp"), ('n', showE "neato"), ('s', showE "sfdp"), ('t', showE "twopi")])) r- callCommand $ temp u ++ " -Tsvg x12.gv > " ++ show ts ++ "." ++ zs ++ ".svg"+ callCommand $ temp u ++ " -Tsvg " ++ show ts ++ "." ++ zs ++ ".gv -O " else error "Please, install the GraphViz so that its executables are in the directories mentioned in the variable PATH!" else error "Epmty file 1.csv!"
README view
@@ -38,7 +38,7 @@ 12. Save the spreadsheet document as a spreadsheet file. 13. Repeat the steps from 2 to 12 as needed to produce more visualizations. -14. Afterwards, you have a list of svg files, x12.gv file- as a last source file for Graphviz, and a list of csv+14. Afterwards, you have a list of svg files, a list of .gv + files as source files for Graphviz, and a list of csv files, and a saved spreadsheet file. Then you can use the produced visualizations for some other documents.
mmsyn4.cabal view
@@ -2,9 +2,9 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: mmsyn4-version: 0.1.1.1+version: 0.1.2.0 synopsis: The "glue" between electronic tables and GraphViz-description: The program mmsyn4 converts a specially formated .csv file with a colon as a field separator obtained from the electronic teble into a visualized by GraphViz graph.+description: The program mmsyn4 converts a specially formated .csv file with a colon as a field separator obtained from the electronic table into a visualized by GraphViz graph. homepage: http://hackage.haskell.org/package/mmsyn4 license: MIT license-file: LICENSE@@ -20,6 +20,6 @@ main-is: Main.hs -- other-modules: -- other-extensions:- build-depends: base >=4.11 && <4.13, directory >=1.3 && <1.4, process >=1.6 && <1.7, mmsyn2 >=0.1.6.0 && <0.2, vector >=0.12 && <0.13, mmsyn3 >=0.1.1.0 && <0.2+ build-depends: base >=4.7 && <4.14, directory >=1 && <1.4, process >=1.2 && <1.7, mmsyn2 >=0.1.6.0 && <0.2, vector >=0.11 && <0.13, mmsyn3 >=0.1.1.0 && <0.2 -- hs-source-dirs: default-language: Haskell2010