<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cli(yamlfile, directory, out, classname, format):
 """ Generate graphviz representations of the biolink model """

    DotGenerator(yamlfile, format).serialize(classname=classname, dirname=directory, filename=out)