Comment: need to update this when read count is implemented
This commit is contained in:
@@ -69,6 +69,7 @@ public class GraphMLFileWriter {
|
|||||||
//Set graph attributes
|
//Set graph attributes
|
||||||
exporter.setGraphAttributeProvider( () -> graphAttributes);
|
exporter.setGraphAttributeProvider( () -> graphAttributes);
|
||||||
//set type, sequence, and occupancy attributes for each vertex
|
//set type, sequence, and occupancy attributes for each vertex
|
||||||
|
//NEED TO ADD NEW FIELD FOR READ COUNT
|
||||||
exporter.setVertexAttributeProvider( v -> {
|
exporter.setVertexAttributeProvider( v -> {
|
||||||
Map<String, Attribute> attributes = new HashMap<>();
|
Map<String, Attribute> attributes = new HashMap<>();
|
||||||
attributes.put("type", DefaultAttribute.createAttribute(v.getType().name()));
|
attributes.put("type", DefaultAttribute.createAttribute(v.getType().name()));
|
||||||
|
|||||||
Reference in New Issue
Block a user