comparison wsgraph/model.py @ 11:7b8e40eda563

more notes to self
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 10 Dec 2012 17:16:21 -0800
parents 81d68388ec97
children ee45f44394a0
comparison
equal deleted inserted replaced
10:81d68388ec97 11:7b8e40eda563
10 get or set a node 10 get or set a node
11 11
12 When setting a node, a value of `None` will pop the value from 12 When setting a node, a value of `None` will pop the value from
13 the nodal values 13 the nodal values
14 """ 14 """
15 # TODO: values should not be **kwargs as you could conceivably want
16 # to set a node or edge to an empty dict
17 # Instead, should be (self, name, values=None)
15 18
16 @abstractmethod 19 @abstractmethod
17 def nodes(self): 20 def nodes(self):
18 """returns a list of all nodes""" 21 """returns a list of all nodes"""
19 22