yEd::Label::NodeLabel - Textlabels for Nodes
Use this class to label your Nodes.
Make sure to have a look at yEd::Label, the properties and functions described there will not be repeated here.
If you want to label an Edge class element use yEd::Label::EdgeLabel.
see yEd::Label
yEd::Label
Type: descrete values ( see below )
Default: 'internal-c'
Describes how to position the Label on the Node.
Free positioning (use x, y properties)
x
y
Within the Node.
Where X is one of:
c : centered
t : top
b : bottom
l : left
r : right
tl : top left
tr : top right
bl : bottom left
br : bottom right
Outside of the Node.
nw : north west
ne : north east
se : south east
sw : south west
n : north
s : south
w : west
e : east
Outside of the Node, opposing the side that is connected to an Edge.
Type: float
Default: 0
Effect unknown ...
Type: descrete values ( content | node_size | node_height | node_width )
Default: 'content'
The way to automatically determine the Labels height and/or witdh.
height
witdh
Type: bool
Default: false
Whether to wrap the text at Node boundaries (true) or let it emerge (false).
yEd::Document for further informations about the whole package
yEd::PropertyBasedObject for further basic information about properties and their additional functions
yEd::Label for information about the Label base class
yEd::Label::EdgeLabel for information about specialized Label elements for Edges
To install yEd::Document, copy and paste the appropriate command in to your terminal.
cpanm
cpanm yEd::Document
CPAN shell
perl -MCPAN -e shell install yEd::Document
For more information on module installation, please visit the detailed CPAN module installation guide.