예제 #1
0
 def _create_node(self, graph, article):
     """Create pygraph node"""
     graph.add_node(article.id)
     graph.add_node_attribute(article.id,{
         'name':article.slug,
         'data':{}
     })
예제 #2
0
파일: hyki.py 프로젝트: mmetzmac/hwios
 def create_node(self, graph, article):
     graph.add_node(article.id)
     graph.add_node_attribute(article.id,{
         'name':article.slug,
         'data':{}
     })