jluttine / tikz-bayesnet

TikZ library for drawing Bayesian networks, graphical models and (directed) factor graphs in LaTeX.
MIT License
829 stars 147 forks source link

Is it possible to add labels/text to directed edges? #11

Closed Juliusvk closed 5 years ago

Juliusvk commented 5 years ago

Hi, is it possible to add labels/text along a directed edge connecting two nodes? I would assume there is an option to pass such an argument to the edge command, e.g. like \edge [text="label"] {node1} {node2} Thanks for the great package. Best, Julius

christabella commented 4 years ago

@Juliusvk did you find a solution to this?