code: def visualize(self, graph_attrs=None, node_attrs=None, **kw):
      from graphviz import Source
  
      g = self.build_graph(**kw)
      dot = g.to_dot(
          graph_attrs=graph_attrs,
          node_attrs=node_attrs,
          result_chunk_keys={c.key for c in self.chunks},
      )
  
      return Source(dot)
  
imports: from ...serialization.serializables import Serializable, FieldTypes, DictField, ReferenceField
  from ...utils import AttributeDict
  from ..base import Base
label_desc: Use image node_id 8 for calling the EntityData obj's underlying member method code with example usage: obj.visualize(graph_attrs, node_attrs) and returns: Source