Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
lib::dot_gen Namespace Reference

Classes

struct  Code
 markup to generate a piece of code More...
 
class  DotOut
 Helper to collect DOT-Graphviz code for output. More...
 
struct  Node
 generate a Node name or a node_statement defining attributes of that node. More...
 
struct  Scope
 accumulator to collect nodes grouped into a scope More...
 
struct  Section
 Accumulator to collect lines of DOT code. More...
 

Functions

Node node (size_t id)
 
Scope scope (size_t id)
 
Code connect (size_t src, size_t dest)
 generate a directed node connectivity clause
 
template<class... COD>
DotOut digraph (COD ...parts)
 Entrance-point: generate a graph spec in DOT-Language.
 

Function Documentation

◆ node()

Node node ( size_t  id)
inline

Definition at line 165 of file dot-gen.hpp.

◆ scope()

Scope scope ( size_t  id)
inline

Definition at line 166 of file dot-gen.hpp.

◆ connect()

Code connect ( size_t  src,
size_t  dest 
)
inline

generate a directed node connectivity clause

Definition at line 170 of file dot-gen.hpp.

◆ digraph()

template<class... COD>
DotOut digraph ( COD ...  parts)
inline

Entrance-point: generate a graph spec in DOT-Language.

Parameters
partsa sequence of Section or Code objects to be combined and rendered
Returns
DotOut object holding the script rendered into a stringstream-buffer

Definition at line 228 of file dot-gen.hpp.