public class LayoutManager extends Object
Constructor and Description |
---|
LayoutManager(LayoutDao layoutDao,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
Modifier and Type | Method and Description |
---|---|
protected static String |
calculateHash(Collection<VertexRef> vertices) |
boolean |
isPersistedLayoutEqualToCurrentLayout(Graph graph) |
LayoutEntity |
loadLayout(Graph graph) |
void |
persistLayout(GraphContainer graphContainer) |
protected static List<VertexRef> |
toVertexRef(Collection<Vertex> input) |
static VertexRefEntity |
toVertexRefEntity(VertexRef vertexRef) |
public LayoutManager(LayoutDao layoutDao, org.springframework.transaction.support.TransactionOperations transactionOperations)
public void persistLayout(GraphContainer graphContainer)
public LayoutEntity loadLayout(Graph graph)
protected static List<VertexRef> toVertexRef(Collection<Vertex> input)
protected static String calculateHash(Collection<VertexRef> vertices)
public static VertexRefEntity toVertexRefEntity(VertexRef vertexRef)
public boolean isPersistedLayoutEqualToCurrentLayout(Graph graph)
Copyright © 2020. All rights reserved.