Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

GDF.h File Reference

Declarations for GDF file format. More...

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

Go to the source code of this file.

Namespaces

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

Enumerations

enum  ogdf::gdf::EdgeAttribute { ogdf::gdf::EdgeAttribute::Label = 0, ogdf::gdf::EdgeAttribute::Source, ogdf::gdf::EdgeAttribute::Target, ogdf::gdf::EdgeAttribute::Weight, ogdf::gdf::EdgeAttribute::Directed, ogdf::gdf::EdgeAttribute::Color, ogdf::gdf::EdgeAttribute::Bends, ogdf::gdf::EdgeAttribute::Unknown }
 
enum  ogdf::gdf::NodeAttribute {
  ogdf::gdf::NodeAttribute::Name = 0, ogdf::gdf::NodeAttribute::Label, ogdf::gdf::NodeAttribute::X, ogdf::gdf::NodeAttribute::Y, ogdf::gdf::NodeAttribute::Z, ogdf::gdf::NodeAttribute::FillColor, ogdf::gdf::NodeAttribute::FillPattern, ogdf::gdf::NodeAttribute::StrokeColor, ogdf::gdf::NodeAttribute::StrokeType, ogdf::gdf::NodeAttribute::StrokeWidth, ogdf::gdf::NodeAttribute::Shape, ogdf::gdf::NodeAttribute::Width, ogdf::gdf::NodeAttribute::Height, ogdf::gdf::NodeAttribute::Template,
  ogdf::gdf::NodeAttribute::Weight, ogdf::gdf::NodeAttribute::FillBgColor, ogdf::gdf::NodeAttribute::Unknown
}
 

Functions

EdgeAttribute ogdf::gdf::toEdgeAttribute (const std::string &str)
 
NodeAttribute ogdf::gdf::toNodeAttribute (const std::string &str)
 
Shape ogdf::gdf::toShape (const std::string &str)
 
std::string ogdf::gdf::toString (const EdgeAttribute &attr)
 
std::string ogdf::gdf::toString (const NodeAttribute &attr)
 
std::string ogdf::gdf::toString (const Shape &shape)
 

Detailed Description

Declarations for GDF file format.

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 GDF.h.