A library for working with phylogenetic and population genetic data.
CircularLayout Class Reference

#include <genesis/tree/drawing/circular_layout.hpp>

Inherits LayoutBase.

Detailed Description

Definition at line 47 of file circular_layout.hpp.

Public Member Functions

 CircularLayout ()=default
 CircularLayout (CircularLayout &&)=default
 CircularLayout (CircularLayout const &)=default
 CircularLayout (Tree const &orig_tree, LayoutType const drawing_type=LayoutType::kCladogram, bool ladderize=true)
virtual ~CircularLayout () override=default
CircularLayoutoperator= (CircularLayout &&)=default
CircularLayoutoperator= (CircularLayout const &)=default
double radius () const
CircularLayoutradius (double const value)
- Public Member Functions inherited from LayoutBase
 LayoutBase ()=default
 LayoutBase (LayoutBase &&)=default
 LayoutBase (LayoutBase const &)=default
 LayoutBase (Tree const &orig_tree, LayoutType const drawing_type=LayoutType::kCladogram, bool ladderize=true)
virtual ~LayoutBase ()=default
bool align_labels () const
void align_labels (bool value)
 Align the taxon labels/node names/texts to each other. More...
double extra_spacer () const
void extra_spacer (double value)
 Set some extra space betwen the tree nodes and their labels when align_labels() is set to true. More...
LayoutSpreading inner_node_spreading () const
void inner_node_spreading (LayoutSpreading value)
LayoutBaseoperator= (LayoutBase &&)=default
LayoutBaseoperator= (LayoutBase const &)=default
void set_edge_distance_strokes (std::vector< utils::SvgStroke > const &strokes)
void set_edge_distance_strokes (utils::SvgStroke const &stroke)
void set_edge_shapes (std::vector< utils::SvgGroup > const &shapes)
void set_edge_shapes (utils::SvgGroup const &shape)
void set_edge_spreading_strokes (std::vector< utils::SvgStroke > const &strokes)
void set_edge_spreading_strokes (utils::SvgStroke const &stroke)
void set_edge_strokes (std::vector< utils::SvgStroke > const &strokes)
void set_edge_strokes (utils::SvgStroke const &stroke)
void set_label_spacer_strokes (std::vector< utils::SvgStroke > const &strokes)
void set_label_spacer_strokes (utils::SvgStroke const &stroke, LayoutSpreading spreading=LayoutSpreading::kLeafNodesOnly)
void set_node_shapes (std::vector< utils::SvgGroup > const &shapes)
void set_node_shapes (utils::SvgGroup const &shape)
utils::SvgTexttext_template ()
utils::SvgText const & text_template () const
void text_template (utils::SvgText const &tt)
utils::SvgDocument to_svg_document () const
Tree const & tree () const
void tree (Tree const &orig_tree, bool ladderize=true)
LayoutType type () const
void type (LayoutType const drawing_type)

Additional Inherited Members

- Protected Member Functions inherited from LayoutBase
Treetree ()

Constructor & Destructor Documentation

◆ CircularLayout() [1/4]

CircularLayout ( )

◆ CircularLayout() [2/4]

CircularLayout ( Tree const &  orig_tree,
LayoutType const  drawing_type = LayoutType::kCladogram,
bool  ladderize = true 

Definition at line 56 of file circular_layout.hpp.

◆ ~CircularLayout()

virtual ~CircularLayout ( )

◆ CircularLayout() [3/4]

CircularLayout ( CircularLayout const &  )

◆ CircularLayout() [4/4]

CircularLayout ( CircularLayout &&  )

Member Function Documentation

◆ operator=() [1/2]

CircularLayout& operator= ( CircularLayout &&  )

◆ operator=() [2/2]

CircularLayout& operator= ( CircularLayout const &  )

◆ radius() [1/2]

double radius ( ) const

Definition at line 56 of file circular_layout.cpp.

◆ radius() [2/2]

CircularLayout & radius ( double const  value)

Definition at line 50 of file circular_layout.cpp.

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