def METHOD_NAME(self, cls: ClassDefinition) -> bool:
    if self.classnames and cls.name not in self.classnames:
        return False
    if self.dirname:
        self.classdot = Digraph(comment=self.schema.name)
    self.node(cls.name, cls.name)
    if cls.is_a:
        self.edge(cls.name, cls.is_a, label="is_a")
    for mixin in cls.mixins:
        self.edge(cls.name, mixin, label="uses")
    self.cls_subj = self.cls_obj = None
    return True