Class DotGraphWriter

Inheritance Relationships

Base Type

Class Documentation

class DotGraphWriter : public NetworKit::GraphWriter

This class turns a graph into a very basic GraphViz file as documented in the official manual [1]. If a more thorough support is desired, please contact the developers: https://github.com/networkit/networkit

[1] https://graphviz.gitlab.io/_pages/pdf/dotguide.pdf

Public Functions

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

Write a graph as a GraphViz/file.

Parameters:
  • graph[in] The graph object

  • path[in] The file path to be written to