def __init__(self, commit):
        self.commit = commit
        self.x = None
        self.y = None
        self.color = None

        self.parent_edges = []
        self.child_edges  = []
        self.references   = []

        if len(commit.parents) > 1 and len(commit.children) > 1:
            self.style = NODE_JUNCTION
        elif len(commit.parents) > 1:
            self.style = NODE_MERGE
        elif len(commit.children) > 1:
            self.style = NODE_BRANCH
        else:
            self.style = NODE_NORMAL
dataset/ETHPy150Open gyim/stupidgit/stupidgit_gui/CommitList.py/GraphNode.__init__/original