summaryrefslogtreecommitdiff
path: root/src-py
diff options
context:
space:
mode:
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