MRPT  2.0.3
List of all members | Public Member Functions | Public Attributes
mrpt::graphs::TGraphvizExportParams Struct Reference

Detailed Description

Used in mrpt::graphs export functions to .dot files.

See also
mrpt::graphs::CDirectedGraph::saveAsDot

Definition at line 28 of file CDirectedGraph.h.

#include <mrpt/graphs/CDirectedGraph.h>

Public Member Functions

 TGraphvizExportParams ()=default
 

Public Attributes

bool mark_edges_as_not_constraint {false}
 If true (default=false), an "[constraint=false]" will be added to all edges (see Graphviz docs). More...
 
std::map< TNodeID, std::string > node_names
 If provided, these textual names will be used for naming the nodes instead of their numeric IDs given in the edges. More...
 
std::map< TNodeID, std::string > node_props
 If provided, an extra line will be added setting Graphviz properties for each node, e.g. More...
 

Constructor & Destructor Documentation

◆ TGraphvizExportParams()

mrpt::graphs::TGraphvizExportParams::TGraphvizExportParams ( )
default

Member Data Documentation

◆ mark_edges_as_not_constraint

bool mrpt::graphs::TGraphvizExportParams::mark_edges_as_not_constraint {false}

If true (default=false), an "[constraint=false]" will be added to all edges (see Graphviz docs).

Definition at line 32 of file CDirectedGraph.h.

◆ node_names

std::map<TNodeID, std::string> mrpt::graphs::TGraphvizExportParams::node_names

If provided, these textual names will be used for naming the nodes instead of their numeric IDs given in the edges.

Definition at line 35 of file CDirectedGraph.h.

◆ node_props

std::map<TNodeID, std::string> mrpt::graphs::TGraphvizExportParams::node_props

If provided, an extra line will be added setting Graphviz properties for each node, e.g.

to set a node position, use the string "pos = \"x,y""

Definition at line 38 of file CDirectedGraph.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.3 Git: 8e9e8af54 Wed May 13 17:41:24 2020 +0200 at miƩ may 13 17:55:54 CEST 2020