I am trying to draw certain types of graphs in latex, and want to use them in mathematical expressions. I already used a lot the software IPE (found here http://ipe.otfried.org/). It allows me to draw perfectly what i want. Here is an example :
I include these pictures in Latex using epsfbox :
\usepackage{epsfig}
\begin{document}
\epsfxsize=X ex
\epsfbox{Tree1.eps}
\end{document}
X is the size of my item.
Now, here are my problems : First, i can't master the size of the item in Latex. Is there a way to obtain the size in any unity of the object i create in IPE?
Then i can't choose how to position the item in formulas. For the example i drew earlier, i would like the bottom nodes to be on the same height as the mathematical symbols.
I have tried to draw directly those graphs using Latex, but drawing curves is terribly hard! And I do not have the time to draw my dozens of graphs using this method...
Any help would be greatly appreciated !