Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Static Public Member Functions | Static Protected Member Functions
mty::Drawer Class Reference

Static Public Member Functions

static drawer::LatexLinker buildDiagram (std::shared_ptr< wick::Graph > const &graph, bool external=true)
 
static drawer::LatexLinker buildDiagram (std::shared_ptr< wick::Graph > const &graph, drawer::Graph const &model, std::map< size_t, size_t > &mapping)
 
static std::vector< drawer::LatexLinkerbuildDiagrams (std::vector< std::shared_ptr< wick::Graph >> const &graph)
 
static void launchViewer (std::vector< drawer::LatexLinker > const &links)
 
static void launchViewer (std::vector< std::shared_ptr< wick::Graph >> const &links)
 
static std::string buildLatex (std::shared_ptr< wick::Graph > const &graph)
 
static void exportPDF (std::string const &name, std::vector< std::shared_ptr< wick::Graph >> const &graphs, std::string const &path="diagrams")
 
static void exportPNG (std::string const &name, std::vector< std::shared_ptr< wick::Graph >> const &graphs, std::string const &path="diagrams")
 

Static Protected Member Functions

static drawer::ParticleType getType (mty::QuantumField const &field)
 
static drawer::Graph convertGraph (std::shared_ptr< wick::Graph > const &graph, bool minimize=true, bool external=true)
 

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