These are the rules I try to live by when designing adventures for D&D and other games.
Start with a flow chart. Use a flowchart to determine how all of the options connect with each other before drawing a map and fleshing out the text. Tweak the chart until you are completely happy with it...