[pstricks] TREE HELP
Denis.Girou at idris.fr
Fri May 11 20:07:04 CEST 2001
>>>>> "Christian.Gatu" == Gatu Cristian <Cristian.Gatu at unine.ch> writes:
Christian.Gatu> I'm drawing a tree using "pstree" which is not so difficult... Now I want to
Christian.Gatu> put more than two nodes in a frame. For two nodes there is "ncbox". Is there
Christian.Gatu> a possibility to group in a box more than two nodes?
It depend of what you really want to do, that is to say of how are the nodes
that you want to frame.
If you want to frame whole subtrees, this is easy to do using some extended
macros. See my message of September 30, 1998 for the macros and some examples:
But if you want to put a frame around arbitrary nodes, you are on your own.
This is not very difficult to do, but there is no generic solution and you
must do it by yourself, defining the useful internal nodes. If you do not want
a rectangle as frame but the "exact" countour path, you will have sometimes to
define several nodes for one entry, to be able to define the contour line
I give you an example for arbitrary nodes. Specially look at the usage
of the \Rnode macro and at the definition of the "href" and "vref" parameters.
More information about the PSTricks