This question already has an answer here:

Ho can I make a figure like the following with tikz package?

marked as duplicate by LaRiFaRi, egreg tikz-pgf Sep 10 '15 at 21:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \usetikzlibrary{arrows}, style={<->}? Is that what you were asking? – Davislor Sep 10 '15 at 21:53