Package | Description |
---|---|
org.graphstream.ui.graphicGraph | |
org.graphstream.ui.view.camera |
Modifier and Type | Field and Description |
---|---|
GraphicNode |
GraphicEdge.from
The first node.
|
GraphicNode |
GraphicEdge.to
The second node.
|
Modifier and Type | Method and Description |
---|---|
GraphicNode |
GraphicSprite.getNodeAttachment()
The node this sprite is attached to or null if not attached to an edge.
|
GraphicNode |
GraphicEdge.otherNode(GraphicNode n)
Obtain the node that is not "n" attached to this edge.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphicSprite.attachToNode(GraphicNode node)
Attach this sprite to the given node.
|
GraphicNode |
GraphicEdge.otherNode(GraphicNode n)
Obtain the node that is not "n" attached to this edge.
|
Constructor and Description |
---|
GraphicEdge(java.lang.String id,
GraphicNode from,
GraphicNode to,
boolean dir,
java.util.HashMap<java.lang.String,java.lang.Object> attributes)
New graphic edge.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultCamera2D.isNodeIn(GraphicNode node,
double X1,
double Y1,
double X2,
double Y2)
Is the given node visible in the given area.
|