summaryrefslogtreecommitdiff
path: root/src-py
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-10-15 18:36:02 +0200
committerLV-426 <lv-426@taproot.org.il>2014-10-15 18:36:02 +0200
commitb6824dd09a58d2e400851fc310b416f4311bd030 (patch)
tree5fb6f7561084bf3764904abd9c21eb37f9087f85 /src-py
parent252ec42ffdd065b3db0d564a1b57b0a446a7fcd8 (diff)
model.graph package
Diffstat (limited to 'src-py')
-rw-r--r--src-py/model/__init__.py0
-rw-r--r--src-py/model/graph.py (renamed from src-py/model.py)15
-rw-r--r--src-py/model/model.py9
3 files changed, 17 insertions, 7 deletions
diff --git a/src-py/model/__init__.py b/src-py/model/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src-py/model/__init__.py
diff --git a/src-py/model.py b/src-py/model/graph.py
index 3c3ce629..9891c4ef 100644
--- a/src-py/model.py
+++ b/src-py/model/graph.py
@@ -1,14 +1,15 @@
-class link():
+class Attribute_Diff():
"""
- 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
+ Represents a change to note attributes, where nodes can represent
+ either logical nodes or logical links, and attributes can be added,
+ changed or removed
"""
pass
-class GDiff():
+class Topo_Diff():
+ """
+ Represents a change to the graph topology
+ """
def __init__(self, link_set_rm=[],
node_set_rm=[],
diff --git a/src-py/model/model.py b/src-py/model/model.py
new file mode 100644
index 00000000..9ee61397
--- /dev/null
+++ b/src-py/model/model.py
@@ -0,0 +1,9 @@
+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