* Updates the graph node to reflect the style and values of the underlying
* resource item.
*/
// TODO expose border color, node color, font weight, font color as slots
public void updateNode() {
Status highlighStatus = visualItem.getStatus(Subset.HIGHLIGHTED);
Status selectionStatus = visualItem.getStatus(Subset.SELECTED);
boolean isHighlighted = Status.PARTIAL == highlighStatus
|| Status.FULL == highlighStatus;
boolean isSelected = Status.PARTIAL == selectionStatus
|| Status.FULL == selectionStatus;