Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

GML.h File Reference

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

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

Go to the source code of this file.

Classes

struct  std::hash< ogdf::gml::Key >
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 
 ogdf::gml
 
 std
 

Enumerations

enum  ogdf::gml::Key {
  ogdf::gml::Key::Id, ogdf::gml::Key::Label, ogdf::gml::Key::Creator, ogdf::gml::Key::Name, ogdf::gml::Key::Graph, ogdf::gml::Key::Version, ogdf::gml::Key::Directed, ogdf::gml::Key::Node, ogdf::gml::Key::Edge, ogdf::gml::Key::Graphics, ogdf::gml::Key::X, ogdf::gml::Key::Y, ogdf::gml::Key::Z, ogdf::gml::Key::W,
  ogdf::gml::Key::H, ogdf::gml::Key::Type, ogdf::gml::Key::Width, ogdf::gml::Key::Source, ogdf::gml::Key::Target, ogdf::gml::Key::Arrow, ogdf::gml::Key::Outline, ogdf::gml::Key::Point, ogdf::gml::Key::Bends, ogdf::gml::Key::Generalization, ogdf::gml::Key::SubGraph, ogdf::gml::Key::Fill, ogdf::gml::Key::FillBg, ogdf::gml::Key::Cluster,
  ogdf::gml::Key::Root, ogdf::gml::Key::Vertex, ogdf::gml::Key::Color, ogdf::gml::Key::Height, ogdf::gml::Key::Stipple, ogdf::gml::Key::Pattern, ogdf::gml::Key::LineWidth, ogdf::gml::Key::Template, ogdf::gml::Key::Weight, ogdf::gml::Key::EdgeIntWeight, ogdf::gml::Key::Unknown
}
 
enum  ogdf::gml::ObjectType { ogdf::gml::ObjectType::IntValue, ogdf::gml::ObjectType::DoubleValue, ogdf::gml::ObjectType::StringValue, ogdf::gml::ObjectType::ListBegin, ogdf::gml::ObjectType::ListEnd, ogdf::gml::ObjectType::Key, ogdf::gml::ObjectType::Eof, ogdf::gml::ObjectType::Error }
 

Functions

EdgeArrow ogdf::gml::toArrow (const std::string &str)
 
Key ogdf::gml::toKey (const std::string &str)
 
Graph::NodeType ogdf::gml::toNodeType (const std::string &str)
 
std::string ogdf::gml::toString (const EdgeArrow &arrow)
 
std::string ogdf::gml::toString (const Graph::NodeType &type)
 
std::string ogdf::gml::toString (const Key &attr)
 

Detailed Description

GML related enums and string conversion functions.

Author
Jöran Schierbaum
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 GML.h.