Provides plotting capabilities for most 2d graphs including bar charts, line graphs, scatter plots, or any combination of these. More...
#include <HGraph.h>
Public Member Functions | |
int | AddDataSet (int points_count, const HPoint *points, HGraphPointFormat format=PointFormatCartesian, const HPoint *colors=0) |
double | GetAspectRatio () |
void | GetAxisColor (HGraphAxisSelection axis, char *color) |
double | GetAxisGridFrequency (HGraphAxisSelection axis) |
void | GetAxisGridRange (HGraphAxisSelection axis, double *min, double *max) |
void | GetAxisLabelTextColor (HGraphAxisSelection axis, char *color) |
void | GetAxisLabelTextFont (HGraphAxisSelection axis, char *font) |
void | GetAxisLabelTextPath (HGraphAxisSelection axis, float *xvector, float *yvector, float *zvector) |
bool | GetAxisLabelVisibility (HGraphAxisSelection axis) |
int | GetAxisPrecision (HGraphAxisSelection axis) |
void | GetAxisRange (HGraphAxisSelection axis, double *min, double *max) |
HGraphAxisScale | GetAxisScale (HGraphAxisSelection axis, double *factor=0) |
double | GetAxisTickFrequency (HGraphAxisSelection axis) |
double | GetAxisTickSize (HGraphAxisSelection axis) |
bool | GetAxisVisibility (HGraphAxisSelection axis) |
float | GetAxisWeight (HGraphAxisSelection axis) |
void | GetBarColorMap (int data_set, char *map) |
void | GetBarColorMapByValue (int data_set, int *count, HPoint *values, char *color_space) |
bool | GetBarEdgeVisibility (int data_set) |
bool | GetBarVisibility (int data_set) |
double | GetBarWidth (int data_set) |
void | GetDataSet (int data_set, HPoint *points) |
HGraphPointFormat | GetDataSetFormat (int data_set) |
int | GetDataSetSize (int data_set) |
void | GetGridColor (char *color) |
void | GetGridPattern (char *pattern) |
HGraphGridType | GetGridType () |
bool | GetGridVisibility () |
void | GetLineColor (int data_set, char *color) |
void | GetLinePattern (int data_set, char *pattern) |
bool | GetLineVisibility (int data_set) |
float | GetLineWeight (int data_set) |
HGraphPlotType | GetPlotType () |
void | GetPointColor (int data_set, char *color) |
float | GetPointSize (int data_set) |
void | GetPointSymbol (int data_set, char *symbol) |
bool | GetPointVisibility (int data_set) |
void | GetPolygonColor (int data_set, char *color) |
bool | GetPolygonVisibility (int data_set) |
HPlot2D (HC_KEY plot_seg, HGraphPlotType plot_type=PlotTypeScatter) | |
void | RemoveDataSet (int data_set) |
void | ReplaceDataSet (int data_set, int points_count, const HPoint *points, HGraphPointFormat format=PointFormatCartesian, const HPoint *colors=0) |
void | SetAspectRatio (double ratio) |
void | SetAxisColor (HGraphAxisSelection axis, const char *color) |
void | SetAxisGridFrequency (HGraphAxisSelection axis, double freq) |
void | SetAxisGridRange (HGraphAxisSelection axis, double min, double max) |
void | SetAxisLabelTextColor (HGraphAxisSelection axis, const char *color) |
void | SetAxisLabelTextFont (HGraphAxisSelection axis, const char *font) |
void | SetAxisLabelTextPath (HGraphAxisSelection axis, float xvector, float yvector, float zvector) |
void | SetAxisLabelVisibility (HGraphAxisSelection axis, bool vis) |
void | SetAxisPrecision (HGraphAxisSelection axis, int precision) |
void | SetAxisRange (HGraphAxisSelection axis, double min, double max) |
void | SetAxisScale (HGraphAxisSelection axis, HGraphAxisScale scale, double factor=0.0) |
void | SetAxisTickFrequency (HGraphAxisSelection axis, double freq) |
void | SetAxisTickSize (HGraphAxisSelection axis, double size) |
void | SetAxisVisibility (HGraphAxisSelection axis, bool vis) |
void | SetAxisWeight (HGraphAxisSelection axis, float weight) |
void | SetBarColorMap (int data_set, const char *map) |
void | SetBarColorMapByValue (int data_set, int count, const HPoint *values, const char *color_space=0) |
void | SetBarEdgeVisibility (int data_set, bool vis) |
void | SetBarVisibility (int data_set, bool vis) |
void | SetBarWidth (int data_set, double width) |
void | SetGridColor (const char *color) |
void | SetGridPattern (const char *pattern) |
void | SetGridType (HGraphGridType gtype) |
void | SetGridVisibility (bool value) |
void | SetLineColor (int data_set, const char *color) |
void | SetLinePattern (int data_set, const char *pattern) |
void | SetLineVisibility (int data_set, bool vis) |
void | SetLineWeight (int data_set, float weight) |
void | SetPlotOrigin (HPoint origin) |
void | SetPlotTitle (const char *title) |
void | SetPlotUnicodeTitle (unsigned short *title) |
void | SetPointColor (int data_set, const char *color) |
void | SetPointSize (int data_set, double size) |
void | SetPointSymbol (int data_set, const char *symbol) |
void | SetPointVisibility (int data_set, bool vis) |
void | SetPolygonColor (int data_set, const char *color) |
void | SetPolygonVisibility (int data_set, bool vis) |
void | UnSetAspectRatio () |
virtual void | Update () |
virtual | ~HPlot2D () |
Protected Member Functions | |
virtual void | DrawAxes () |
virtual void | DrawData (int data_set) |
virtual void | DrawFrame () |
virtual void | DrawGrid () |
Protected Attributes | |
double | m_aspect_ratio |
HGraphGridType | m_grid_type |
HGraphPlotType | m_plot_type |
VArray< HGraphDataSetNode * > | m_points |
HGraphAxis | m_x_axis |
HGraphAxis | m_y_axis |
Provides plotting capabilities for most 2d graphs including bar charts, line graphs, scatter plots, or any combination of these.
HPlot2D::HPlot2D | ( | HC_KEY | plot_seg, |
HGraphPlotType | plot_type = PlotTypeScatter |
||
) |
HPlot2D Constructor.
plot_seg | The segment that all graph subsegments will be created beneath. |
plot_type | The type of 2d plot preferred. This just affects the default visibilities for datasets created on this plot. |
virtual HPlot2D::~HPlot2D | ( | ) | [virtual] |
~HPlot2D Destructor
int HPlot2D::AddDataSet | ( | int | points_count, |
const HPoint * | points, | ||
HGraphPointFormat | format = PointFormatCartesian , |
||
const HPoint * | colors = 0 |
||
) |
Adds a data set to the plot.
points_count | The number of points being passed. |
points | An array of points in the data set. Passed by reference always. |
format | The format of the points. Default value: PointFormatCartesian. |
colors | An array of (RGB) color values, one per point, that override the colors of the data set. If used, this should be the same size as points. Passed by reference always. |
virtual void HPlot2D::DrawAxes | ( | ) | [protected, virtual] |
Draw the graph axes.
virtual void HPlot2D::DrawData | ( | int | data_set | ) | [protected, virtual] |
Draw a data set.
data_set | the data set to be drawn or updated. |
virtual void HPlot2D::DrawFrame | ( | ) | [protected, virtual] |
Draw a frame around the graph.
Implements HBaseGraph.
virtual void HPlot2D::DrawGrid | ( | ) | [protected, virtual] |
Draw the grid overlay for the graph.
double HPlot2D::GetAspectRatio | ( | ) |
Get the forced aspect ratio.
void HPlot2D::GetAxisColor | ( | HGraphAxisSelection | axis, |
char * | color | ||
) |
Retrieves the color used to draw an axis.
axis | The axis. |
color | A string value for the color. Returned to user. Passed by reference always |
double HPlot2D::GetAxisGridFrequency | ( | HGraphAxisSelection | axis | ) |
Retrieves the frequency of lines along an axis when the grid is drawn.
axis | The axis. |
void HPlot2D::GetAxisGridRange | ( | HGraphAxisSelection | axis, |
double * | min, | ||
double * | max | ||
) |
Retrieves the range of an axis.
axis | The axis. |
min | The minimal value of the grid on the axis. Returned to user. Passed by reference always |
max | The maximal value of the grid on the axis. Returned to user. Passed by reference always |
void HPlot2D::GetAxisLabelTextColor | ( | HGraphAxisSelection | axis, |
char * | color | ||
) |
Retrieves the text font used for labels on an axis.
axis | The axis. |
color | A string value for the color. Returned to user. Passed by reference always. |
void HPlot2D::GetAxisLabelTextFont | ( | HGraphAxisSelection | axis, |
char * | font | ||
) |
Retrieves the text font used for labels on an axis.
axis | The axis. |
font | A string value for the font. Returned to user. Passed by reference always. |
void HPlot2D::GetAxisLabelTextPath | ( | HGraphAxisSelection | axis, |
float * | xvector, | ||
float * | yvector, | ||
float * | zvector | ||
) |
Sets the text path used for labels on an axis.
axis | The axis. |
xvector | The x component of the text path vector. Returned to user. |
yvector | The y component of the text path vector. Returned to user. |
zvector | The z component of the text path vector. Returned to user. |
bool HPlot2D::GetAxisLabelVisibility | ( | HGraphAxisSelection | axis | ) |
axis | The axis. |
int HPlot2D::GetAxisPrecision | ( | HGraphAxisSelection | axis | ) |
Gets the number of places after the decimal point that will be displayed.
axis | The axis. |
void HPlot2D::GetAxisRange | ( | HGraphAxisSelection | axis, |
double * | min, | ||
double * | max | ||
) |
Retrieves the range of an axis.
axis | The axis. |
min | The minimal value of the axis. Returned to user. Passed by reference always |
max | The maximal value of the axis. Returned to user. Passed by reference always |
HGraphAxisScale HPlot2D::GetAxisScale | ( | HGraphAxisSelection | axis, |
double * | factor = 0 |
||
) |
Retrieves the scale used for labeling an axis.
axis | The axis. |
factor | Optionally the scaling factor may be retrieved. Returned to user. Passed by reference always |
double HPlot2D::GetAxisTickFrequency | ( | HGraphAxisSelection | axis | ) |
Retrieves a value indicating how frequently regularly spaced ticks occur on the axis.
axis | The axis. |
double HPlot2D::GetAxisTickSize | ( | HGraphAxisSelection | axis | ) |
Retrieves the size of tick marks along the axis.
axis | The axis. |
bool HPlot2D::GetAxisVisibility | ( | HGraphAxisSelection | axis | ) |
axis | The axis. |
float HPlot2D::GetAxisWeight | ( | HGraphAxisSelection | axis | ) |
Retrieves the line weight of an axis.
axis | The axis. |
void HPlot2D::GetBarColorMap | ( | int | data_set, |
char * | map | ||
) |
Retrieves the color map for the bars in a data set. Bars are colored in the order they appear in the data set point list. When the color map is exhausted, colors wrap around to the beginning.
data_set | The ID of the data set. |
map | A text string of all the colors in the color map. Returned to user. Passed by reference always. |
void HPlot2D::GetBarColorMapByValue | ( | int | data_set, |
int * | count, | ||
HPoint * | values, | ||
char * | color_space | ||
) |
Retrieves a color map for the bars in a data set. Bars are colored in the order they appear in the data set point list. When the color map is exhausted, colors wrap around to the beginning.
data_set | The ID of the data set. |
count | The number of colors in the values array. Returned to user. Passed by reference always. |
values | An array of HPoints containing all the colors in the color map. Returned to user. Passed by reference always. |
color_space | The color space that the values are in. Returned to user. Passed by reference always. |
bool HPlot2D::GetBarEdgeVisibility | ( | int | data_set | ) |
data_set | The ID of the data set. |
bool HPlot2D::GetBarVisibility | ( | int | data_set | ) |
data_set | The ID of the data set. |
double HPlot2D::GetBarWidth | ( | int | data_set | ) |
Retrieves the width of bars, centered on data points.
data_set | The ID of the data set. |
void HPlot2D::GetDataSet | ( | int | data_set, |
HPoint * | points | ||
) |
Retrieves the array of points in a data set. The points array should already be allocated and large enough to accommodate all the points in the set. Use GetDataSetSize to get the size of a data set.
data_set | The ID of the data set. |
points | An array of the points in the data set. Returned to user. Passed by reference always. |
HGraphPointFormat HPlot2D::GetDataSetFormat | ( | int | data_set | ) |
Retrieves the point format for a data set.
data_set | The ID of the data set. |
int HPlot2D::GetDataSetSize | ( | int | data_set | ) |
Retrieves the number of points in a data set
data_set | The ID of the data set. |
void HPlot2D::GetGridColor | ( | char * | color | ) |
Retrieves the color used for the grid.
color | The color used for the grid. Returned to user. Passed by reference always. |
void HPlot2D::GetGridPattern | ( | char * | pattern | ) |
Retrieves the line pattern used for the grid.
pattern | The line pattern used for the grid. Returned to user. Passed by reference always. |
HGraphGridType HPlot2D::GetGridType | ( | ) |
Retrieves the type of grid that will be drawn over the plot.
bool HPlot2D::GetGridVisibility | ( | ) |
Retrieves the visibility state of the grid.
void HPlot2D::GetLineColor | ( | int | data_set, |
char * | color | ||
) |
Retrieves the line color used for lines in the data set.
data_set | The ID of the data set. |
color | The line color used for the data set. Returned to user. Passed by reference always. |
void HPlot2D::GetLinePattern | ( | int | data_set, |
char * | pattern | ||
) |
Retrieves the line pattern used for lines in the data set.
data_set | The ID of the data set. |
pattern | The line pattern used for the data set. Returned to user. Passed by reference always. |
bool HPlot2D::GetLineVisibility | ( | int | data_set | ) |
data_set | The ID of the data set. |
float HPlot2D::GetLineWeight | ( | int | data_set | ) |
Retrieves the line weight of a data set.
axis | The data set. |
HGraphPlotType HPlot2D::GetPlotType | ( | ) |
Retrieves the type of plot specified when creating the graph.
void HPlot2D::GetPointColor | ( | int | data_set, |
char * | color | ||
) |
Retrieves the color of points in a data set.
data_set | The ID of the data set. |
color | A color string. Returned to user. Passed by reference always. |
float HPlot2D::GetPointSize | ( | int | data_set | ) |
Retrieves the size of points in a data set.
data_set | The ID of the data set. |
void HPlot2D::GetPointSymbol | ( | int | data_set, |
char * | symbol | ||
) |
Retrieves the marker symbol for points in a data set.
data_set | The ID of the data set. |
symbol | A string of special constants, see Set_Marker_Symbol(). Returned to user. Passed by reference always. |
bool HPlot2D::GetPointVisibility | ( | int | data_set | ) |
data_set | The ID of the data set. |
void HPlot2D::GetPolygonColor | ( | int | data_set, |
char * | color | ||
) |
Returns the color that a polygonal region will be drawn in if polygon visibility is on.
data_set | The ID of the data set. |
color | The polygon color. Passed by reference always. Returned to user. |
bool HPlot2D::GetPolygonVisibility | ( | int | data_set | ) |
data_set | The ID of the data set. |
void HPlot2D::RemoveDataSet | ( | int | data_set | ) |
Removes a data set from the plot.
data_set | The ID of the data set to be removed. |
void HPlot2D::ReplaceDataSet | ( | int | data_set, |
int | points_count, | ||
const HPoint * | points, | ||
HGraphPointFormat | format = PointFormatCartesian , |
||
const HPoint * | colors = 0 |
||
) |
Replaces the points in a data set.
data_set | The ID of the data set. |
points_count | The size of the points array. |
points | An array of the points to be put into the data set. Passed by reference always. |
format | The point format of points. Default value: PointFormatCartesian. |
colors | An array of (RGB) color values, one per point, that override the colors of the data set. If used, this should be the same size as points. Passed by reference always. |
void HPlot2D::SetAspectRatio | ( | double | ratio | ) |
Constrain graph to this aspect ratio given as horizontal/vertical. To get a square, pass in 1.0. Aspect ratio will be maintained in this manner while underlying graph data is changed.
ratio | Forced aspect ratio (double precision). |
void HPlot2D::SetAxisColor | ( | HGraphAxisSelection | axis, |
const char * | color | ||
) |
Sets the color used to draw an axis.
axis | The axis. |
color | A string value for the color. Passed by reference always |
void HPlot2D::SetAxisGridFrequency | ( | HGraphAxisSelection | axis, |
double | freq | ||
) |
Sets the frequency of lines along an axis when the grid is drawn.
axis | The axis. |
freq | The grid line frequency. |
void HPlot2D::SetAxisGridRange | ( | HGraphAxisSelection | axis, |
double | min, | ||
double | max | ||
) |
Sets the range of an axis. The minimal value must be less than or equal to the maximal value.
axis | The axis. |
min | The minimal value of the grid on the axis. |
max | The maximal value of the grid on the axis. |
void HPlot2D::SetAxisLabelTextColor | ( | HGraphAxisSelection | axis, |
const char * | color | ||
) |
Sets the text font used for labels on an axis.
axis | The axis. |
font | A string value for the color. Passed by reference always. |
void HPlot2D::SetAxisLabelTextFont | ( | HGraphAxisSelection | axis, |
const char * | font | ||
) |
Sets the text font used for labels on an axis.
axis | The axis. |
font | A string value for the font. Passed by reference always. |
void HPlot2D::SetAxisLabelTextPath | ( | HGraphAxisSelection | axis, |
float | xvector, | ||
float | yvector, | ||
float | zvector | ||
) |
Sets the text path used for labels on an axis.
axis | The axis. |
xvector | The x component of the text path vector. |
yvector | The y component of the text path vector. |
zvector | The z component of the text path vector. |
void HPlot2D::SetAxisLabelVisibility | ( | HGraphAxisSelection | axis, |
bool | vis | ||
) |
This method sets the visibilty for the labels at each tick on the given axis.
axis | The axis. |
vis | The visibility of labels on the axis. |
void HPlot2D::SetAxisPrecision | ( | HGraphAxisSelection | axis, |
int | precision | ||
) |
Sets the number of places after the decimal point to display.
axis | The axis. |
precision | the number of places to display. |
void HPlot2D::SetAxisRange | ( | HGraphAxisSelection | axis, |
double | min, | ||
double | max | ||
) |
Sets the range of an axis. The minimal value must be less than or equal the maximal value.
axis | The axis. |
min | The minimal value of the axis. |
max | The maximal value of the axis. |
void HPlot2D::SetAxisScale | ( | HGraphAxisSelection | axis, |
HGraphAxisScale | scale, | ||
double | factor = 0.0 |
||
) |
Sets the scale used for labeling an axis.
axis | The axis. |
scale | The type of axis scaling to be performed. |
factor | Optionally the scaling factor may also be set. Default value: 1.0 for linear, 10.0 for logarithmic. |
void HPlot2D::SetAxisTickFrequency | ( | HGraphAxisSelection | axis, |
double | freq | ||
) |
Sets how frequently regularly spaced ticks occur on the axis.
axis | The axis. |
freq | The tick frequency. |
void HPlot2D::SetAxisTickSize | ( | HGraphAxisSelection | axis, |
double | size | ||
) |
Sets the size of tick marks along the axis.
axis | The axis. |
size | The tick size. |
void HPlot2D::SetAxisVisibility | ( | HGraphAxisSelection | axis, |
bool | vis | ||
) |
Set whether the specified axis is visible.
axis | The axis. |
vis | Pass true to ensure that specified axis will be drawn and false if otherwise. |
void HPlot2D::SetAxisWeight | ( | HGraphAxisSelection | axis, |
float | weight | ||
) |
Sets the line weight of an axis.
axis | The axis. |
weight | The line weight. |
void HPlot2D::SetBarColorMap | ( | int | data_set, |
const char * | map | ||
) |
Sets a color map for the bars in a data set. Bars are colored in the order they appear in the data set point list. When the color map is exhausted, colors wrap around to the beginning.
data_set | The ID of the data set. |
map | A text string of all the colors in the color map. Passed by reference always. |
void HPlot2D::SetBarColorMapByValue | ( | int | data_set, |
int | count, | ||
const HPoint * | values, | ||
const char * | color_space = 0 |
||
) |
Sets a color map for the bars in a data set. Bars are colored in the order they appear in the data set point list. When the color map is exhausted, colors wrap around to the beginning.
data_set | The ID of the data set. |
count | The number of colors in the values array. |
values | An array of HPoints containing all the colors in the color map. Passed by reference always. |
color_space | The color space that the values are in. Default value: "RGB" |
void HPlot2D::SetBarEdgeVisibility | ( | int | data_set, |
bool | vis | ||
) |
Sets a flag indicating where the bar edges will be visible.
data_set | The ID of the data set. |
vis | Pass true for bar edge to be visibile and false if otherwise. |
void HPlot2D::SetBarVisibility | ( | int | data_set, |
bool | vis | ||
) |
Determines if points in a data set are interpreted as data points for a bar chart.
data_set | The ID of the data set. |
vis | True if the data point are show in a bar chart |
void HPlot2D::SetBarWidth | ( | int | data_set, |
double | width | ||
) |
Sets the width of bars. The bars are centered on data points.
data_set | The ID of the data set. |
width | The width of bars. |
void HPlot2D::SetGridColor | ( | const char * | color | ) |
Sets the color used for the grid.
color | The color used for the grid. Passed by reference always. |
void HPlot2D::SetGridPattern | ( | const char * | pattern | ) |
Sets the line pattern used for the grid.
pattern | The line pattern used for the grid. Passed by reference always. |
void HPlot2D::SetGridType | ( | HGraphGridType | gtype | ) |
Sets the type of grid that will be drawn over the plot.
gtype | The type of grid. |
void HPlot2D::SetGridVisibility | ( | bool | value | ) |
Sets the visibility for the grid.
value | The grid visibility flag: true sets visibility on, false to off. |
void HPlot2D::SetLineColor | ( | int | data_set, |
const char * | color | ||
) |
Sets the line color used for lines in the data set.
data_set | The ID of the data set. |
color | The line color used for the data set. Passed by reference always. |
void HPlot2D::SetLinePattern | ( | int | data_set, |
const char * | pattern | ||
) |
Sets the line pattern used for lines in the data set.
data_set | The ID of the data set. |
pattern | The line pattern used for the data set. Passed by reference always. |
void HPlot2D::SetLineVisibility | ( | int | data_set, |
bool | vis | ||
) |
Determines if points in a data set should be connected by a polyline.
data_set | The ID of the data set. |
vis | True if points in the given data set should be connected by a polyline. |
void HPlot2D::SetLineWeight | ( | int | data_set, |
float | weight | ||
) |
Sets the line weight of a data set.
axis | The data set. |
weight | The line weight. |
void HPlot2D::SetPlotOrigin | ( | HPoint | origin | ) |
Retrieves the location of the plot origin.
origin | An HPoint value representing the new location of the title of the plot. |
Reimplemented from HBaseGraph.
void HPlot2D::SetPlotTitle | ( | const char * | title | ) | [virtual] |
Adds a plot title or replaces the existing one.
title | The title of the plot. |
Implements HBaseGraph.
void HPlot2D::SetPlotUnicodeTitle | ( | unsigned short * | title | ) | [virtual] |
Adds a unicode plot title or replaces the existing one.
title | The title of the plot. |
Implements HBaseGraph.
void HPlot2D::SetPointColor | ( | int | data_set, |
const char * | color | ||
) |
Sets the color of points in a data set.
data_set | The ID of the data set. |
color | A color string. Passed by reference always. |
void HPlot2D::SetPointSize | ( | int | data_set, |
double | size | ||
) |
Sets the size of points in a data set.
data_set | The ID of the data set. |
size | The size of points in the data set |
void HPlot2D::SetPointSymbol | ( | int | data_set, |
const char * | symbol | ||
) |
Sets the marker symbol for points in a data set.
data_set | The ID of the data set. |
symbol | A string of special constants, see Set_Marker_Symbol(). Passed by reference always. |
void HPlot2D::SetPointVisibility | ( | int | data_set, |
bool | vis | ||
) |
Use this method to determine if points should points be drawn.
data_set | The ID of the data set. |
vis | True if the points in the given data set should be drawn and false if otherwise. |
void HPlot2D::SetPolygonColor | ( | int | data_set, |
const char * | color | ||
) |
If polygon visibility is on, this sets the color of that polygon.
data_set | The ID of the data set. |
color | The polygon color. Passed by reference always. |
void HPlot2D::SetPolygonVisibility | ( | int | data_set, |
bool | vis | ||
) |
Sets whether a data set should be considered the boundary of a colored region.
data_set | The ID of the data set. |
vis | The polygon visibility. |
void HPlot2D::UnSetAspectRatio | ( | ) |
Remove the forced aspect ratio.
virtual void HPlot2D::Update | ( | ) | [virtual] |
Force the segment tree to reflect any queued changes in the graph.
Reimplemented from HBaseGraph.