make a gas network

hello I want to do a gas network in 2d with branch lines and shut off valve so that the lines are illuminated until the valve is activated ; heeeelp pls