New in version 2.1.
Contains all the general image properties used to render a tree
TREE SHAPE AND IMAGE DESIGN
Variables: |
|
---|
TREE BRANCHES
Variables: |
|
---|
FACES
Variables: |
|
---|
Addons
Variables: |
|
---|
Initialize aligned face headers
Variables: |
|
---|
New in version 2.1.
A dictionary with all valid node graphical attributes.
Parameters: |
|
---|
Adds a Face to a given node.
Parameters: | face – A Face instance |
---|
Parameters: |
---|
Standard definition of a Face node object.
This class is not functional and it should only be used to create other face objects. By inheriting this class, you set all the essential attributes, however the update_pixmap() function is required to be reimplemented for convenience.
User adjustable properties:
Parameters: |
|
---|
Static text Face object
Parameters: |
|
---|
Dynamic text Face. Text rendered is taken from the value of a given node attribute.
Parameters: |
|
---|
Creates a new image face object.
Parameters: | img_file – Image file in png,jpg,bmp format |
---|
New in version 2.1.
Creates a Circle or Sphere Face.
Arguments radius: | |
---|---|
integer number defining the radius of the face | |
Arguments color: | |
Color used to fill the circle. RGB code or name in SVG_COLORS | |
Arguments “circle” style: | |
Valid values are “circle” or “sphere” |
Creates a new molecular sequence face object.
Parameters: |
|
---|
You can set custom colors for aminoacids or nucleotides:
Parameters: |
|
---|
A profile Face for ClusterNodes
Parameters: |
|
---|
New in version 2.1.
Creates a Face containing a Tree object. Yes, a tree within a tree :)
Parameters: |
|
---|
New in version 2.1.
Creates a face based on an external QtGraphicsItem object. QGraphicsItem object is expected to be independent from tree node properties, so its content is assumed to be static (drawn only once, no updates when tree changes).
Arguments item: | an object based on QGraphicsItem |
---|
New in version 2.1.
Creates a face based on an external QGraphicsItem object whose content depends on the node that is linked to.
Arguments constructor: | |
---|---|
A pointer to a method (function or class constructor) returning a QGraphicsItem based object. “constructor” method is expected to receive a node instance as the first argument. The rest of arguments passed to ItemFace are optional and will passed also to the constructor function. |