Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A list of options? #13

Open
timudk opened this issue Sep 24, 2019 · 1 comment
Open

A list of options? #13

timudk opened this issue Sep 24, 2019 · 1 comment

Comments

@timudk
Copy link

timudk commented Sep 24, 2019

Can I find a list of options for nodes, edges, etc. somewhere?

@jluttine
Copy link
Owner

I guess not. If I remember correctly, those options should be (at least mostly) just standard TikZ options. You can have a look on the source code how the options are passed forward:
https://github.com/jluttine/tikz-bayesnet/blob/master/tikzlibrarybayesnet.code.tex

For instance, nodes are just normal TikZ nodes with some predefined styles that you can use (obs, latent, ...). You can give any node options TikZ supports. Edge options are forwarded as #1 here: \path (\x) edge [->, >={triangle 45}, #1] (\y) ;. Factor options are forwarded to node. And so on.

Perhaps would be good to mention explicitly in the readme how the options are forwarded so one could have a look on standard TikZ manual for the available options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants