/**
* @see edu.indiana.extreme.xbaya.graph.impl.NodeImpl#getComponent()
*/
@Override
public BlockComponent getComponent() {
BlockComponent component = (BlockComponent) super.getComponent();
if (component == null) {
// The component is null when read from the graph XML.
component = new BlockComponent();
setComponent(component);
}
return component;
}