
12 May
2010
12 May
'10
6:16 a.m.
Heinrich Apfelmus
It appears to me that the concerns of labels and vertexes are not separate enough. After all, the point is that they have to be kept in sync. Keeping them in sync should be the business of the graph library, not of the user. It doesn't have to be baked into the graph type, though, an abstract Node type might work as well.
An abstract vertex type is orthoganal to the label type (though it took me a while to convince Thomas of that; he wanted to somehow embed the vertex type inside the label :s). -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com