code: private void createComplexContent(Complex cx, Glyph cg)
  	{
  		if (flattenComplexContent)
  		{
  			for (PhysicalEntity mem : getFlattenedMembers(cx))
  			{
  				createComplexMember(mem, cg);
  			}
  		}
  		else {
  			for (PhysicalEntity mem : cx.getComponent())
  			{
  				if (mem instanceof Complex)
  				{
  					addComplexAsMember((Complex) mem, cg);
  				}
  				else
  				{
  					createComplexMember(mem, cg);
  				}
  			}
  		}
  	}
docs: /*
  Fills in the content of a complex.
  
  @param cx Complex to be filled
  @param cg its glyph