Class GMLGraphWriter

Inheritance Relationships

Base Type

Class Documentation

class GMLGraphWriter : public NetworKit::GraphWriter

Public Functions

GMLGraphWriter() = default

Default constructor

virtual void write(const Graph &G, const std::string &path) override

Write a graph G and its coordinates to a GML file.

Parameters:
  • G[in] Graph of type NetworKit with 2D coordinates.

  • path[in] Path to file.