summaryrefslogtreecommitdiff
path: root/src-py/model.py
blob: 3c3ce6294aedf882f8507e20a1393f7c4123b164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
class link():
    """
    documentation anchor - this class currently carries no implementation
    and only acts as a documentation anchor
    
    link['__src'] - meta attribute for link source
    link['__dst'] - meta attribute for link destination
    """
    pass

class GDiff():

    def __init__(self, link_set_rm=[],
                        node_set_rm=[],
                        node_set_add=[],
                        link_set_add=[]):
        self.link_set_rm = link_set_rm
        self.node_set_rm = node_set_rm
        self.node_set_add = node_set_add
        self.link_set_add = link_set_add

    @property
    def link_set_rm(self):
        return self.link_set_rm

    @property
    def node_set_rm(self):
        return self.node_set_rm

    @property
    def link_set_add(self):
        return self.link_set_add

    @property
    def node_set_add(self):
        return self.node_set_add