0

I want to create a diagram in order to explain IRS concept. I need something like this, but I don't know how to make it:

enter image description here

Thanks in advance!

1
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{fadings,positioning,calc,shadows}
\tikzset{
    bluenode/.style={
        draw,
        white,
        top color=blue!50!white,
        bottom color=blue!90!white,
        rounded corners,drop shadow
    },
    graynode/.style={
        draw,
        top color=gray!50!white!20,
        bottom color=gray!50!black!20,drop shadow
    }}
\begin{document}
\begin{tikzpicture}[font=\sf]
\node[bluenode] (A) at (0,0) {\begin{tabular}{c}Counterparty\\ A\end{tabular}};
\node[bluenode,right=4cm of A] (B) {\begin{tabular}{c}Counterparty\\ B\end{tabular}};
\node[graynode,below=3cm of A] (A1){Floating};
\node[graynode,below=3cm of B] (B1){Fixed};
\draw[blue!70!white,-latex,thick] ($(A.east)+(0,0.2)$) -- ($(B.west)+(0,0.2)$)
node[midway,above]{Fixed rate 7.5\%};
\draw[blue!70!white,latex-,thick] ($(A.east)-(0,0.2)$) -- ($(B.west)-(0,0.2)$)
node[midway,below]{LIBOR$+0.50$\%};
\draw[-latex,thick] (A) -- (A1) node[midway,right]{LIBOR$+1.50$\%};
\draw[-latex,thick] (B) -- (B1) node[midway,left]{7.3\%};
\end{tikzpicture}
\end{document}

enter image description here

You will find doing these things on your own is much more fun.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.