dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
dfx::Graph::Exporter::Dot::Style Struct Reference

Style used when generating a graph in dot format. More...

#include <dfx-graph/exporter/Dot.hpp>

Collaboration diagram for dfx::Graph::Exporter::Dot::Style:
[legend]

Public Attributes

std::string defaultNodeColor
 The default node color (default: #E0E0E0)
std::unordered_map< Core::Endpoint::Location, std::string > nodeLocationColor
 Node color specialization per location (default: Local= #E0E0E0, Remote= #FFE0B2)
std::string defaultEdgeStyle
 The default edge style (default: solid)
std::string defaultEdgeColor
 The default edge color (default: #616161)
std::unordered_map< Core::Kind, std::string > kindToEdgeStyle
 Edge style specialization depending on the port kind (default: Data=solid, Control=dashed)
std::unordered_map< std::string, std::string > schemeToEdgeColor
 Edge color specialization depending on the scheme.

Detailed Description

Style used when generating a graph in dot format.

Member Data Documentation

◆ defaultEdgeColor

std::string dfx::Graph::Exporter::Dot::Style::defaultEdgeColor

The default edge color (default: #616161)

◆ defaultEdgeStyle

std::string dfx::Graph::Exporter::Dot::Style::defaultEdgeStyle

The default edge style (default: solid)

◆ defaultNodeColor

std::string dfx::Graph::Exporter::Dot::Style::defaultNodeColor

The default node color (default: #E0E0E0)

◆ kindToEdgeStyle

std::unordered_map<Core::Kind, std::string> dfx::Graph::Exporter::Dot::Style::kindToEdgeStyle

Edge style specialization depending on the port kind (default: Data=solid, Control=dashed)

◆ nodeLocationColor

std::unordered_map<Core::Endpoint::Location, std::string> dfx::Graph::Exporter::Dot::Style::nodeLocationColor

Node color specialization per location (default: Local= #E0E0E0, Remote= #FFE0B2)

◆ schemeToEdgeColor

std::unordered_map<std::string, std::string> dfx::Graph::Exporter::Dot::Style::schemeToEdgeColor

Edge color specialization depending on the scheme.

scheme color value
tcp #D32F2F
udp #F44336
uds #1976D2
pipe #64B5F6
mq #388E3C
shm #7B1FA2
local #616161

The documentation for this struct was generated from the following file: