This is a variation on the "bucket under the sink" system. In this sytem the P-trap is disconnected and turned to the side. Note: It is very important to keep the trap filled with water and to protect it from evaporating- the water prevents sewer gasses from entering the house! The sink drain outlet is connected to a tube with a hose clamp, and the tube diverts the water into a container. The greywater is then used to bucket flush the toilet.
This planter box is an ecological disposal wetland for the greywater produced from an office space with out a sewer connection. The wetland plants evaporate and transpire the water preventing greywater runoff into a nearby waterway.
2-way diverter valves, called ball valves, can be used in certain situations instead of a 3-way diverter. When the valve is shut off the water backs up and overflows into the greywater line to the left. This valve is harder to turn than the 3-way valve, and it has more chances of clogging (gunk can build up above the ball valve).
The greywater line from a laundry to landscape system is attached to the top of this raised bed. Greywater exits through 1x1/2" Tees in the line, dropping into the bed. To follow health guidelines the greywater should not touch the edible portion of food plants. So, larger, elevated vegetables are grown here, like squash and beans.
A 1" line is attached to the top of the bed and greywater pours down into the bed. Soil should be mulched and, (like the squash shown), large crops should be grown so that they are not touched by the greywater.