@staticmethod
def create_from_dot_code(dot_code):
    """This statis method returns the Automata object that can represents the provided DOT code

        :param dot_code: DOT definition of the Automata to parse
        :type dot_code: str
        :rtype: pylstar.automata.Automata.Automata
        """
    if dot_code is None:
        raise Exception('Dot code cannot be None')
    if not isinstance(dot_code, str):
        raise Exception('Dot code must be a String')
    from pylstar.automata.DOTParser import DOTParser
    return DOTParser.parse(dot_code)
