11 std::cerr <<
"Could not load sierpinski_04.gml" << std::endl;
15 for (
node v : G.nodes)
Declaration of Fast Multipole Multilevel Method (FM^3).
Declares class GraphIO which provides access to all graph read and write functionality.
The fast multipole multilevel layout algorithm.
FMMMOptions::QualityVsSpeed qualityVersusSpeed() const
Returns the current setting of option qualityVersusSpeed.
double unitEdgeLength() const
Returns the current setting of option unitEdgeLength.
bool useHighLevelOptions() const
Returns the current setting of option useHighLevelOptions.
virtual void call(GraphAttributes &GA) override
Calls the algorithm for graph GA and returns the layout information in GA.
bool newInitialPlacement() const
Returns the current setting of option newInitialPlacement.
Stores additional attributes of a graph (like layout information).
double height(node v) const
Returns the height of the bounding box of node v.
double width(node v) const
Returns the width of the bounding box of node v.
Data type for general directed graphs (adjacency list representation).
static bool write(const Graph &G, const string &filename, WriterFunc writer=nullptr)
Writes graph G to a file with name filename and infers the format to use from the file's extension.
static bool writeGML(const Graph &G, std::ostream &os)
Writes graph G in GML format to output stream os.
static bool drawSVG(const GraphAttributes &A, std::ostream &os, const SVGSettings &settings)
static bool read(Graph &G, const string &filename, ReaderFunc reader=nullptr)
Reads graph G from a file with name filename and infers the used format from the file's extension.
Class for the representation of nodes.
The namespace for all OGDF objects.