-
Notifications
You must be signed in to change notification settings - Fork 3
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
plot.HydeNetwork() defaults for decision nets #37
Comments
I added default plot settings in the |
Builds more on Issue #37 but allows the user to change the default settings. Next up, customizing individual nodes.
Given the new functionality for customizing plots with Thoughts? |
Good point. I guess I hadn't thought about the issue with observed vs. unobserved nodes. It's hard to think about formatting all these different node classes with only 2 shapes supported by the Rgraphviz API (I know the Graphviz software has several more shapes): Random observed/unobserved If we were to consider observed nodes as separate formats, couldn't that be incorporated into the new functionality instead of via plot.compiledHydeNetwork? In this case, it would be nice, but probably I'd recommend we create a separate issue for this and do this on a later release. One thing that should probably be a default is the global attribute fixedsize=FALSE. |
So, I think I'm going to go ahead and delete I think I can build a better functionality using the So, the take home message is that I will reconstruct this function when I finish |
DiagrammeR looks awesome! Let's leave this issue open and revisit default node styles. Let's wait on this until after the v1.0 release. Open to suggestions re: the default formats, but here's a possibility (based on http://www.graphviz.org/doc/info/shapes.html):
|
Here is some code that uses separate node shapes/colors depending on the type (random vs. determ vs. decision vs. utility). I didn't do anything with the edges yet. Any ideas on edge coloring? May be good to somehow gray out edges associated with deterministic nodes.
By the way, ignore the actual formulas in the setNode commands - I just did those commands so I could color the deterministic nodes.
The text was updated successfully, but these errors were encountered: