add diagram tests for visible/invisible nodes.