Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

DOT.h File Reference

DOT related enums and string conversion functions. More...

#include <ogdf/basic/Graph.h>
#include <ogdf/basic/graphics.h>
#include <string>

Go to the source code of this file.

Namespaces

 ogdf
 The namespace for all OGDF objects.
 
 ogdf::dot
 

Enumerations

enum  ogdf::dot::Attribute {
  ogdf::dot::Attribute::Id = 0, ogdf::dot::Attribute::Label, ogdf::dot::Attribute::Template, ogdf::dot::Attribute::Stroke, ogdf::dot::Attribute::Fill, ogdf::dot::Attribute::StrokeType, ogdf::dot::Attribute::Width, ogdf::dot::Attribute::Height, ogdf::dot::Attribute::Shape, ogdf::dot::Attribute::Weight, ogdf::dot::Attribute::DoubleWeight, ogdf::dot::Attribute::Position, ogdf::dot::Attribute::LabelPosition, ogdf::dot::Attribute::Arrow,
  ogdf::dot::Attribute::StrokeWidth, ogdf::dot::Attribute::FillPattern, ogdf::dot::Attribute::FillBackground, ogdf::dot::Attribute::Type, ogdf::dot::Attribute::Dir, ogdf::dot::Attribute::SubGraphs, ogdf::dot::Attribute::Unknown
}
 

Functions

EdgeArrow ogdf::dot::toArrow (const std::string &str)
 
Attribute ogdf::dot::toAttribute (const std::string &str)
 
Graph::EdgeType ogdf::dot::toEdgeType (const std::string &str)
 
Shape ogdf::dot::toShape (const std::string &str)
 
std::string ogdf::dot::toString (const Attribute &attr)
 
std::string ogdf::dot::toString (const EdgeArrow &arrow)
 
std::string ogdf::dot::toString (const Graph::EdgeType &type)
 
std::string ogdf::dot::toString (const Shape &shape)
 

Detailed Description

DOT related enums and string conversion functions.

Author
Ɓukasz Hanuszczak
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file DOT.h.