This demonstrates how to define a group template to look like a node template, with a rounded header and a rounded footer.
The "RoundedTopRectangle" and "RoundedBottomRectangle" figures are defined in RoundedRectangles.js in the extensions directory. See also the Two Halves sample and the Parallel Layout sample.