Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
goby::middleware::tool::interface::detail::D2Writer Class Reference

Writes a deployment as D2 (https://d2lang.com): the same containers, colors and edge conventions as the DOT output, with styles defined once as classes. More...

#include <goby/middleware/tool/interface/render_d2.h>

Public Member Functions

 D2Writer (std::ostream &os, const Deployment &deployment, const Resolution &resolution, const D2Params &params)
 
void write ()
 

Detailed Description

Writes a deployment as D2 (https://d2lang.com): the same containers, colors and edge conventions as the DOT output, with styles defined once as classes.

Definition at line 91 of file render_d2.h.

Constructor & Destructor Documentation

◆ D2Writer()

goby::middleware::tool::interface::detail::D2Writer::D2Writer ( std::ostream &  os,
const Deployment &  deployment,
const Resolution &  resolution,
const D2Params &  params 
)
inline

Definition at line 94 of file render_d2.h.

Member Function Documentation

◆ write()

void goby::middleware::tool::interface::detail::D2Writer::write ( )
inline

Definition at line 106 of file render_d2.h.


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