Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
dot.cc
Go to the documentation of this file.
1 #include <vcsn/algos/dot.hh>
2 #include <vcsn/dyn/algos.hh>
3 #include <vcsn/dyn/automaton.hh>
5 
6 namespace vcsn
7 {
8  namespace dyn
9  {
10  /*------.
11  | dot. |
12  `------*/
13 
14  REGISTER_DEFINE(dot);
15 
16  std::ostream&
17  dot(const automaton& aut, std::ostream& out, bool dot2tex)
18  {
19  detail::dot_registry().call(aut, out, dot2tex);
20  return out;
21  }
22  }
23 }
std::shared_ptr< detail::automaton_base > automaton
Definition: automaton.hh:71
std::ostream & dot(const automaton &aut, std::ostream &out, bool dot2tex=false)
Output aut in GraphViz' Dot format.
Definition: dot.cc:17