public interface GraphToImageMap
| Modifier and Type | Method and Description |
|---|---|
boolean |
drawArcLabels(Arc arc)
Controls drawing of arc labels
|
String |
hoverForArc(Arc arc)
Every arc in a generated image of a graph may have
associated text which will pop-up when the arc is
hovered over.
|
String |
hoverForNode(Node node)
Every node in a generated image of a graph may have
associated text which will pop-up when the node is
hovered over.
|
String |
hrefForArc(Arc arc)
Every arc in a generated image of a graph may have
a link for when the arc is clicked.
|
String |
hrefForNode(Node node)
Every node in a generated image of a graph may have
a link for when the node is clicked.
|
Icon |
iconForNode(Node node)
Each node may have a different
Icon representing
it in the generated image map. |
boolean drawArcLabels(Arc arc)
arc - Icon iconForNode(Node node)
Icon representing
it in the generated image map. Override this method
to specify which Icon to use for a given node.node - The graph node needing an iconString hrefForNode(Node node)
node - The node to generate the HREF forString hoverForNode(Node node)
node - The node to generate the hover for.String hrefForArc(Arc arc)
arc - The arc to generate the HREF forString hoverForArc(Arc arc)
arc - The arc to generate the hover for.Copyright © 2012. All Rights Reserved.