abdullahmeda commited on
Commit
1a6516d
1 Parent(s): 0ea5424
Files changed (1) hide show
  1. cw2.py +2 -1
cw2.py CHANGED
@@ -133,7 +133,8 @@ def also_like_graph(data, doc_uuid, visitor_uuid, ascending):
133
  # print(y)
134
  dot = graphviz.Digraph()
135
  dot.node(visitor_uuid[-4:], visitor_uuid[-4:], fillcolor='green')
136
- dot.edge(doc_uuid[-4:], doc_uuid[-4:], fillcolor='green')
 
137
  for index, row in top_docs.iterrows():
138
  dot.node(str(row[0]), str(row[0]))
139
  dot.node(str(row[1]), str(row[1]))
 
133
  # print(y)
134
  dot = graphviz.Digraph()
135
  dot.node(visitor_uuid[-4:], visitor_uuid[-4:], fillcolor='green')
136
+ dot.node(doc_uuid[-4:], doc_uuid[-4:], fillcolor='green')
137
+ dot.edge(visitor_uuid[-4:], doc_uuid[-4:])
138
  for index, row in top_docs.iterrows():
139
  dot.node(str(row[0]), str(row[0]))
140
  dot.node(str(row[1]), str(row[1]))