public interface NodeContext
Modifier and Type | Method and Description |
---|---|
List<NodeContext> |
getContexts(LinkType linkType,
RelationShipType relationshipType)
Get sources/targets/children/parents of the current node.
|
List<Link> |
getIncomingLinks(NodeContext startNode)
Returns a list of links from the start node to the current node.
|
Node |
getNode()
Returns the current node.
|
List<Link> |
getOutgoingLinks(NodeContext endNode)
Returns a list of links from the current node to the end node.
|
boolean |
isDisplayed()
Returns
true if this node is currently displayed in the graph. |
List<Link> getOutgoingLinks(NodeContext endNode)
List<Link> getIncomingLinks(NodeContext startNode)
List<NodeContext> getContexts(LinkType linkType, RelationShipType relationshipType)
linkType
- a type of link.relationshipType
- a type of relationshipNode getNode()
boolean isDisplayed()
true
if this node is currently displayed in the graph.