MRPT  1.9.9
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. More...
 

Constructor & Destructor Documentation

◆ TGraphvizExportParams()

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

Definition at line 42 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 34 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 37 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 40 of file CDirectedGraph.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020