Skip to main content

Options Struct

Render options controlling which fields and labels are emitted. More...

Declaration

struct simaai::neat::graph::GraphPrinter::Options { ... }

Included Headers

#include <GraphPrinter.h>

Public Member Attributes Index

boolshow_index = true

Prefix each node with its NodeId. More...

boolshow_kind = true

Show Node::kind(). More...

boolshow_user_label = true

Show Node::user_label() when non-empty. More...

boolshow_backend = true

Show the node backend (pipeline / stage). More...

boolshow_ports = true

Print input/output port lists per node. More...

std::size_tmax_label_chars = 200

Truncate user labels longer than this. More...

std::size_tmax_ports = 16

Cap the number of ports printed per node. More...

booldot_rankdir_lr = true

Use left-to-right layout in dot output. More...

std::stringdot_graph_name = "sima_hybrid_graph"

Dot graph identifier. More...

boolmermaid_lr = true

Use flowchart LR (else TD) for mermaid. More...

std::stringmermaid_id_prefix = "n"

Mermaid node-id prefix. More...

Description

Render options controlling which fields and labels are emitted.

Definition at line 35 of file GraphPrinter.h.

Public Member Attributes

dot_graph_name

std::string simaai::neat::graph::GraphPrinter::Options::dot_graph_name = "sima_hybrid_graph"

Dot graph identifier.

Definition at line 46 of file GraphPrinter.h.

46 std::string dot_graph_name = "sima_hybrid_graph";

dot_rankdir_lr

bool simaai::neat::graph::GraphPrinter::Options::dot_rankdir_lr = true

Use left-to-right layout in dot output.

Definition at line 45 of file GraphPrinter.h.

45 bool dot_rankdir_lr = true;

max_label_chars

std::size_t simaai::neat::graph::GraphPrinter::Options::max_label_chars = 200

Truncate user labels longer than this.

Definition at line 42 of file GraphPrinter.h.

42 std::size_t max_label_chars = 200;

max_ports

std::size_t simaai::neat::graph::GraphPrinter::Options::max_ports = 16

Cap the number of ports printed per node.

Definition at line 43 of file GraphPrinter.h.

43 std::size_t max_ports = 16;

mermaid_id_prefix

std::string simaai::neat::graph::GraphPrinter::Options::mermaid_id_prefix = "n"

Mermaid node-id prefix.

Definition at line 49 of file GraphPrinter.h.

49 std::string mermaid_id_prefix = "n";

mermaid_lr

bool simaai::neat::graph::GraphPrinter::Options::mermaid_lr = true

Use flowchart LR (else TD) for mermaid.

Definition at line 48 of file GraphPrinter.h.

48 bool mermaid_lr = true;

show_backend

bool simaai::neat::graph::GraphPrinter::Options::show_backend = true

Show the node backend (pipeline / stage).

Definition at line 39 of file GraphPrinter.h.

39 bool show_backend = true;

show_index

bool simaai::neat::graph::GraphPrinter::Options::show_index = true

Prefix each node with its NodeId.

Definition at line 36 of file GraphPrinter.h.

36 bool show_index = true;

show_kind

bool simaai::neat::graph::GraphPrinter::Options::show_kind = true

Show Node::kind().

Definition at line 37 of file GraphPrinter.h.

37 bool show_kind = true;

show_ports

bool simaai::neat::graph::GraphPrinter::Options::show_ports = true

Print input/output port lists per node.

Definition at line 40 of file GraphPrinter.h.

40 bool show_ports = true;

show_user_label

bool simaai::neat::graph::GraphPrinter::Options::show_user_label = true

Show Node::user_label() when non-empty.

Definition at line 38 of file GraphPrinter.h.

38 bool show_user_label = true;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.