Copyright | (c) Oleksandr Zhabenko 2017-2023 |
---|---|
License | MIT |
Maintainer | oleksandr.zhabenko@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Extensions | BangPatterns |
A program gvti
converts a specially formated .csv
file with a colon as a field separator obtained from the electronic table
into a visualized by GraphViz graph in the one of the supported by GraphViz graphics format. The proper GraphViz installation is required.
This is the main functionality module.
Documentation
getFormat :: String -> String Source #
For the given argument (usually of two characters) return the full form of the file format to be generated by GraphViz and mmsyn4
. The default one
is "svg".
process2 :: String -> String -> String -> String -> String -> String -> Maybe (Double, Double) -> String -> String -> IO () Source #
Processes the given text (the first String
argument). The second one is used to get a name of the command to be
executed to obtain a visualization file. The third argument is used for the getFormat
. The fourth argument is the
basic name for the created files (without prefixes and extensions), the fifth one is an option for GraphVize splines
functionality. The sixth argument is used to specify whether to remove at-signs from the created files.