Skip to content

Commit

Permalink
These lables (in node) are more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Meindert Kroese committed Oct 12, 2017
1 parent 391aa1f commit d06e758
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void serialize(SerializableResult serializableResult) throws IOException
Integer nodeId = entityIds.computeIfAbsent(entity.getKey(), k -> nodeCounter.incrementAndGet());
writer.println(" <node id=\"node" + nodeId + "\">");
writer.println(" <data key=\"" + entity.getKey() + "\">" + entity.getValue() + "</data>");
writer.println(" <data label=\"" + entity.getKey() + "\">" + entity.getValue() + "</data>");
writer.println(" <data key=\"label\">" + entity.getKey() + "</data>");
writer.println(" </node>");
for (Map.Entry<String, Set<String>> relation : entity.getValue().relations.entrySet()) {
for (String otherNodeUri : relation.getValue()) {
Expand Down

0 comments on commit d06e758

Please sign in to comment.