dot.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:crc-diagram 作者: IuryAlves 项目源码 文件源码
def __init__(self, crc_cards, format='png', graph_data=None):
        self.format = format
        self.crc_cards = crc_cards
        self.graph_data = {'shape': 'record'}
        self._edges = []  # keep track of the edges

        if graph_data is not None:
            self.graph_data.update(graph_data)

        self.graph = Digraph(
            comment='CRC Diagram',
            node_attr=self.graph_data,
            format=self.format
        )

        self._init()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号