Planning Experiments With Causal Graphs