24 #include "../graphs/AnonHypergraph.h"
83 unordered_map<IDType,string>
const& labels = (unordered_map<IDType,string>()),
84 unordered_map<IDType,GraphDrawer::BorderStyle>
const& borderStyles = (unordered_map<IDType, GraphDrawer::BorderStyle>()));
PictureFormat
This enumeration specifies all supported picture formats.
Definition: GraphDrawer.h:44
static string BorderStyleToString(GraphDrawer::BorderStyle style)
Generates a string representing the given BorderStyle in the 'dot' format.
Definition: GraphDrawer.cpp:157
Yellow color style.
Definition: GraphDrawer.h:64
Green color style.
Definition: GraphDrawer.h:60
GraphDrawer()
GraphDrawer is not instantiable (all methods are static).
Definition: GraphDrawer.cpp:34
PictureFormat for png graphics files.
Definition: GraphDrawer.h:48
PictureFormat for postscript files.
Definition: GraphDrawer.h:46
Red color style.
Definition: GraphDrawer.h:62
Blue color style.
Definition: GraphDrawer.h:58
BorderStyle
A collection of layouts used to distinguish different vertices and edges visually.
Definition: GraphDrawer.h:56
An AnonHypergraph is a data structure storing a hypergraph.
Definition: AnonHypergraph.h:43
static string getStandardExtension(PictureFormat format)
Returns the filename extension normally used for the given picture format.
Definition: GraphDrawer.cpp:137
static void convertDotTo(string dotFile, string outFile, PictureFormat format, bool genExt=false)
Takes the given 'dot' file and converts it to a picture file using neato.
Definition: GraphDrawer.cpp:116
static void writeGraphToDotFile(graphs::AnonHypergraph const &graph, string filename, unordered_map< IDType, string > const &labels=(unordered_map< IDType, string >()), unordered_map< IDType, GraphDrawer::BorderStyle > const &borderStyles=(unordered_map< IDType, GraphDrawer::BorderStyle >()))
Takes the given Hypergraph and converts it to the 'dot' format.
Definition: GraphDrawer.cpp:38
This class provides static methods for Converting GXL files to the 'dot' format.
Definition: GraphDrawer.h:36
virtual ~GraphDrawer()
Destroys an instance of GraphDrawer.
Definition: GraphDrawer.cpp:36
PictureFormat for pdf graphics files.
Definition: GraphDrawer.h:50