Inner and shaded nodes in same graph
See original GitHub issueLee & Wagenmakers (2014) propose to add inner circles for deterministic nodes and shaded for observed nodes. However, I have to choose in daft.PGM(observed_style='shaded')
.
For now, my workaround is to add another “empty” scaled down node, but the spaces between the two are not equal for ellipses for which the scaling changes more in one direction than another. So it is not satisfactory.
pgm.add_node(daft.Node('det', '$node$', 0, 0, aspect=2)) # Deterministic
pgm.add_node(daft.Node('none', '', 0, 0, scale=0.85, aspect=2)) # Inner ellipse on deterministic
pgm.add_node(daft.Node('obs', '$obs$', 1, 1, observed=True)) # Shaded observed
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Chapter 4. Pathfinding and Graph Search Algorithms - O'Reilly
Pathfinding algorithms build on top of graph search algorithms and explore routes between nodes, starting at one node and traversing through relationships ...
Read more >Navigating Inside the Node Graph - Foundry Learn
To center certain selected nodes, press F with the Node Graph in focus. Note: Pressing F without selecting any nodes produces the same...
Read more >shading area between nodes - tikz pgf - LaTeX Stack Exchange
The first problem I get is with the curve (in red). Before the curve no problems, the second segment starts in 3 at...
Read more >How To Use Every Node in Unity Shader Graph - Daniel Ilett
Base Color (Block). Shader Graph uses the same Color window as other parts of Unity. ... We just write the integer directly inside...
Read more >Mari for Beginners - 05: Nodes and The Node Graph - YouTube
In this fifth part we go through Mari's Node Graph, a fundamental part of the software you need to know to be able...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Added this as an option to #106.
This should integrate with #69, in a future version enhance to allow multiple node types set via a
dict
of some kinds rather than several boolean arguments.