Main MRPT website > C++ reference for MRPT 1.5.7
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 30 of file CDirectedGraph.h.

#include <mrpt/graphs/CDirectedGraph.h>

Public Member Functions

 TGraphvizExportParams ()
 

Public Attributes

bool mark_edges_as_not_constraint
 If true (default=false), an "[constraint=false]" will be added to all edges (see Graphviz docs). More...
 
std::map< TNodeID, std::stringnode_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::stringnode_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"". More...
 

Constructor & Destructor Documentation

◆ TGraphvizExportParams()

mrpt::graphs::TGraphvizExportParams::TGraphvizExportParams ( )
inline

Definition at line 36 of file CDirectedGraph.h.

Member Data Documentation

◆ mark_edges_as_not_constraint

bool mrpt::graphs::TGraphvizExportParams::mark_edges_as_not_constraint

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 33 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 34 of file CDirectedGraph.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019