|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
44 class GraphAttributes;
58 static inline void toUpper(std::string& str) {
59 std::transform(str.begin(), str.end(), str.begin(), toupper);
62 static inline void toLower(std::string& str) {
63 std::transform(str.begin(), str.end(), str.begin(), tolower);
66 inline bool fineId(
int vid) {
return 0 < vid && vid <= static_cast<int>(
m_nodeId.size()); }
The namespace for all OGDF objects.
bool readEmbeddedMatrix(Graph &G, GraphAttributes *GA)
Stores additional attributes of a graph (like layout information).
bool readEdgeList(Graph &G, GraphAttributes *GA)
Includes declaration of graph class.
bool readEmbeddedNodeList(Graph &G, GraphAttributes *GA)
std::map< std::string, node > m_nodeLabel
bool readNodeList(Graph &G)
bool readWithLabels(Graph &G, GraphAttributes *GA)
bool readData(Graph &G, GraphAttributes *GA)
enum ogdf::DLParser::Format m_format
bool readEmbeddedEdgeList(Graph &G, GraphAttributes *GA)
bool readAssignment(Graph &G, const std::string &lhs, const std::string &rhs)
bool readMatrix(Graph &G, GraphAttributes *GA)
DLParser(std::istream &is)
bool readStatements(Graph &G, GraphAttributes *GA)
Data type for general directed graphs (adjacency list representation).
std::vector< node > m_nodeId
node requestLabel(GraphAttributes *GA, node &nextFree, const std::string &label)
static void toUpper(std::string &str)
bool readGraph(Graph &G, GraphAttributes *GA)
bool read(Graph &G, GraphAttributes &GA)
static void toLower(std::string &str)
Class for the representation of nodes.