Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

GraphML.h File Reference

GraphML 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::graphml
 

Enumerations

enum  ogdf::graphml::Attribute {
  ogdf::graphml::Attribute::NodeLabel = 0, ogdf::graphml::Attribute::EdgeLabel, ogdf::graphml::Attribute::X, ogdf::graphml::Attribute::Y, ogdf::graphml::Attribute::Z, ogdf::graphml::Attribute::Width, ogdf::graphml::Attribute::Height, ogdf::graphml::Attribute::Size, ogdf::graphml::Attribute::Shape, ogdf::graphml::Attribute::NodeLabelX, ogdf::graphml::Attribute::NodeLabelY, ogdf::graphml::Attribute::NodeLabelZ, ogdf::graphml::Attribute::NodeStrokeColor, ogdf::graphml::Attribute::NodeStrokeType,
  ogdf::graphml::Attribute::NodeStrokeWidth, ogdf::graphml::Attribute::EdgeStrokeColor, ogdf::graphml::Attribute::EdgeStrokeType, ogdf::graphml::Attribute::EdgeStrokeWidth, ogdf::graphml::Attribute::ClusterStroke, ogdf::graphml::Attribute::NodeFillPattern, ogdf::graphml::Attribute::NodeFillBackground, ogdf::graphml::Attribute::R, ogdf::graphml::Attribute::G, ogdf::graphml::Attribute::B, ogdf::graphml::Attribute::NodeWeight, ogdf::graphml::Attribute::EdgeWeight, ogdf::graphml::Attribute::NodeType, ogdf::graphml::Attribute::EdgeType,
  ogdf::graphml::Attribute::NodeId, ogdf::graphml::Attribute::Template, ogdf::graphml::Attribute::EdgeArrow, ogdf::graphml::Attribute::EdgeSubGraph, ogdf::graphml::Attribute::EdgeBends, ogdf::graphml::Attribute::Unknown
}
 

Functions

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

Detailed Description

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