public final class GenericGraph extends GenericElement implements ImmutableGraph<GenericVertex,GenericEdge>
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericGraph.GenericGraphBuilder |
GenericElement.GenericElementBuilder<T extends GenericElement.GenericElementBuilder>propertiesgetId, getNamespace, getProperties, getProperty, getProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetNamespacepublic GenericGraph asGenericGraph()
asGenericGraph in interface ImmutableGraph<GenericVertex,GenericEdge>public List<GenericVertex> getVertices()
getVertices in interface ImmutableGraph<GenericVertex,GenericEdge>public List<GenericEdge> getEdges()
getEdges in interface ImmutableGraph<GenericVertex,GenericEdge>public GraphInfo getGraphInfo()
public String getDescription()
GraphInfogetDescription in interface GraphInfopublic String getLabel()
GraphInfogetLabel in interface GraphInfogetLabel in class GenericElementpublic Focus getDefaultFocus()
getDefaultFocus in interface ImmutableGraph<GenericVertex,GenericEdge>public List<GenericVertex> resolveVertices(NodeRef nodeRef)
resolveVertices in interface ImmutableGraph<GenericVertex,GenericEdge>public GenericVertex getVertex(String id)
getVertex in interface ImmutableGraph<GenericVertex,GenericEdge>public GenericEdge getEdge(String id)
getEdge in interface ImmutableGraph<GenericVertex,GenericEdge>public List<String> getVertexIds()
getVertexIds in interface ImmutableGraph<GenericVertex,GenericEdge>public List<String> getEdgeIds()
getEdgeIds in interface ImmutableGraph<GenericVertex,GenericEdge>public List<GenericVertex> resolveVertices(Collection<String> vertexIds)
resolveVertices in interface ImmutableGraph<GenericVertex,GenericEdge>public GenericVertex resolveVertex(VertexRef vertexRef)
resolveVertex in interface ImmutableGraph<GenericVertex,GenericEdge>public List<GenericVertex> resolveVertexRefs(Collection<VertexRef> vertexRefs)
public List<GenericEdge> resolveEdges(Collection<String> vertexIds)
resolveEdges in interface ImmutableGraph<GenericVertex,GenericEdge>public Collection<GenericVertex> getNeighbors(GenericVertex eachVertex)
getNeighbors in interface ImmutableGraph<GenericVertex,GenericEdge>public Collection<GenericEdge> getConnectingEdges(GenericVertex eachVertex)
getConnectingEdges in interface ImmutableGraph<GenericVertex,GenericEdge>public ImmutableGraph<GenericVertex,GenericEdge> getView(Collection<GenericVertex> verticesInFocus, int szl)
getView in interface ImmutableGraph<GenericVertex,GenericEdge>public boolean equals(Object o)
equals in class GenericElementpublic int hashCode()
hashCode in class GenericElementpublic static GenericGraph.GenericGraphBuilder builder()
public static GenericGraph.GenericGraphBuilder from(GenericGraph graph)
Copyright © 2022. All rights reserved.