* @return The new figure or null on error
*/
public NodeFigure createNodeFigure(Node node)
{
NodeFigure figure = (NodeFigure) ProcessElementFigureRegistry.getInstance().createProcessElementContainer(node);
figure.connect(node, this);
return figure;
}
/**
* Creates a text element figure based on the given text element.