def get_graph(self):
"""
:return: Isd graphviz graph with correct formatting
"""
graph_name = 'cluster_' + "ISD " + self.ISD
label = "ISD " + self.ISD
isd_graph = Graph(name=graph_name,
graph_attr={'color': 'blue', 'label': label, 'style': 'rounded'})
return isd_graph
评论列表
文章目录