Message Boards Message Boards

0
|
3543 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Mark a node in a Tree

Posted 10 years ago

Is it possible to mark the path to the node and the node "Macho"? .Maybe the node border and path to it could be red? I need to use TreeForm since is the easiest to build random trees

enter image description here

TreeForm[Criminals["cat" , "dog", "human"["killer", "thug", "macho"]],
  DirectedEdges -> True,
  VertexRenderingFunction -> (Inset[
      Panel@Rotate[#2, -\[Pi]/2], #1] &)] // Rotate[#, \[Pi]/2] & 
POSTED BY: Bogd Timo
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract