diff --git a/alib2cli/src/builtin/Dot.cpp b/alib2cli/src/builtin/Dot.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..e867028d59b38c0e9b974292eccf84f51ab053ef
--- /dev/null
+++ b/alib2cli/src/builtin/Dot.cpp
@@ -0,0 +1,25 @@
+/*
+ * Dot.cpp
+ *
+ *  Created on: 16. 8. 2017
+ *	  Author: Jan Travnicek
+ */
+
+#include "Dot.h"
+#include <registration/AlgoRegistration.hpp>
+#include <cstdlib>
+
+namespace cli {
+
+namespace builtin {
+
+void Dot::dot ( const std::string & data ) {
+	std::system ( ( "dot -Tx11 <<DOTDATA\n" + data + "\nDOTDATA" ).c_str ( ) );
+}
+
+auto DotString = registration::AbstractRegister < Dot, void, const std::string & > ( Dot::dot );
+
+} /* namespace builtin */
+
+} /* namespace cli */
+
diff --git a/alib2cli/src/builtin/Dot.h b/alib2cli/src/builtin/Dot.h
new file mode 100644
index 0000000000000000000000000000000000000000..c8c101acd8a3d2f706179649ae4e155ae6fa388c
--- /dev/null
+++ b/alib2cli/src/builtin/Dot.h
@@ -0,0 +1,29 @@
+/*
+ * Dot.h
+ *
+ *  Created on: 16. 8. 2017
+ *	  Author: Jan Travnicek
+ */
+
+#ifndef _DOT_H_
+#define _DOT_H_
+
+#include <string>
+
+namespace cli {
+
+namespace builtin {
+
+class Dot {
+public:
+	/**
+	 * Removes dead states from FSM. Melichar 2.29
+	 */
+	static void dot( const std::string & dot );
+};
+
+} /* namespace builtin */
+
+} /* namespace cli */
+
+#endif /* _DOT_H_ */