When you place equipment or valves on a segment of Mainline, the system will break that mainline segment and connect the equipment.
This only works if the symbol is placed onto the interior of a mainline segment -- it won't work by trying to place it on a fitting dead-end (although that is on our to-do list).