PSTricks - Graphics for T<span class="e">e</span>X and L<span class="a">a</span>T<span class="e">e</span>X

Welcome to the PSTricks web site

pst-node -- examples
TUG logo

Main page

Bug list
Doc errors
2D Gallery
3D Gallery
Search CTAN:



Extended translation of the the 5th edition


the 7th edition, total of 960 colored pages


2nd edition, 212 pages, includes 32 color pages










Absolute coordinates |  Arc connections |  Arrows inside of node connections | 
Background |  Bibtex -- how it works |  Box node | 
Centered node connection |  Circle node |  Coil connection |  Curves around nodes | 
Dot nodes |  Double line connections | 
fnode |  framebox around nodes | 
Hexagon Node |  Horizontal and vertical refpoint |  href option | 
Intersection Nodes |  Itemize and node connections | 
Labels |  Loops | 
Multiple connections | 
naput options |  ncangles |  ncdiagg |  Node width |  Nodes and tabular | 
Oval node |  Overlays | 
\psmatrix (with more node examples!) | 
Read data and save it as nodes | 
shadowbox around nodes | 
Tabular and nodes |  Text connection |  Timeline |  Trees and nodes |  Triangle nodes | 
Vertical and Horizontall Refpoint |  vref option | 
Wave connection |  Word balloon | 
Xnodesep option | 
Ynodesep option | 

All nodes are saved in the PostScript dictionary with the prefix N@. N@1,1 is a curious, but a valid name. Only the special characters () [] {} / % are _not_ allowed, they have a special meaning for PostScript: String - Array - group - start name/prozedure - comment. However, if you want to use the \SpecialCoor (special coordinates) option of PSTricks, then the first character of a node name must be a letter!
Bibliography -- how it works
node17.png node17b.png


Centered node connections Dot nodes
node9.png node18.png node21.png node30.png exa002.png

signal flow diagram Special background
node8.png node11.png node23.png

Absolute Coordinates Commutated diagram on a circle Relative Coordinates
To get the absolute coordinates is only possible at PostScript level. It is impossible to get these information at runtime back to TeX. Load the example file build the PS-output and run it with gs. The coordinates are saved in an external text file coor.txt.
node26.png node26.png

Node width

If you want for several circle nodes the same width then use the \makebox macro:
Now you get a diameter for the node at least of 1cm.

node7.png node7.png

How \ncangles is calculated

\naput Options
naput.png Without any modifications the labels are sometimes printed with a wrong angle. The code of this example changes the behaviour of \naput.

Triangle nodes
trinode0.png node19.png

Text connections
node4.png node2.png

Box pst-node
node15.png node14.png

Circle Node



cnode0.png This example shows the meaning of the angles. They depend to the end of the curve and not to the node center. The connections are done with \nccurve and \pccurce. It is also a good example for using the \translate(x,y) macro together with \pscustom and spherical coordinates

node13a.png node13b.png node22.png

node16.png exa001.png

fnode.png node1.png

vref/href example

Arrow Connection Arc Connection Coil/Wave Connection
arrowInside.png node3.png coil0.png


pst-node in a tabular pst-node in an equation
tabular0.png node28.png

Xnodesep and Ynodesep

With \SpecialCoor, Xnodesep, as the opposite of nodesep, doesn't take into account the size of the node but only it center (compare the red and green lines). This can be useful.

But, more, the (X)([...]{Y}Z) node syntax allow to draw a line from X to a point on the line joining Y to Z. The Xnodesep and Ynodesep allow to give the vertical (this can be confusing...) and horizontal relative move from Z.

XYpst-nodeep.png node10.png node10b.png

Word balloon multiple connections
WordBalloon.png multinc.png

Double line connections -- with coordinates-- with psmatrix
node12.png node12a.png

local time: Wed Jul 24 19:49:16 CEST 2024 ; file is: 660.099884259259 days old
contact webmaster _at_