pyexlatex.graphics.tikz.node.position package¶
Submodules¶
pyexlatex.graphics.tikz.node.position.directions module¶
- class pyexlatex.graphics.tikz.node.position.directions.Above(direction=None, of=None, by=None, combined_direction=True)[source]¶
Bases:
pyexlatex.graphics.tikz.node.position.directions.VerticalDirection
Used for placing nodes: construct with one node, pass as placement to another node, that second node will be placed above the first node.
- name = 'above'¶
- class pyexlatex.graphics.tikz.node.position.directions.Below(direction=None, of=None, by=None, combined_direction=True)[source]¶
Bases:
pyexlatex.graphics.tikz.node.position.directions.VerticalDirection
Used for placing nodes: construct with one node, pass as placement to another node, that second node will be placed below the first node.
- name = 'below'¶
- class pyexlatex.graphics.tikz.node.position.directions.DirectionBase(direction=None, of=None, by=None, combined_direction=True)[source]¶
Bases:
pyexlatex.models.item.ItemBase
Base class for relative positioning directions in TikZ, e.g. above, above right, etc.
- __init__(direction=None, of=None, by=None, combined_direction=True)[source]¶
- Parameters
direction¶ (
Optional
[ForwardRef
]) –of¶ (
Optional
[ForwardRef
]) –combined_direction¶ (
bool
) – In some usages of directions, they are specified together, e.g. above right=2cm and 3cm. In other usages, they are specified separately, e.g. above=2cm, right=3cm. When combined_direction=True, will use the former style, and when False will use the latter style
- name = '<invalid, do not use DirectionBase directly>'¶
- class pyexlatex.graphics.tikz.node.position.directions.HorizontalDirection(direction=None, of=None, by=None, combined_direction=True)[source]¶
Bases:
pyexlatex.graphics.tikz.node.position.directions.DirectionBase
- class pyexlatex.graphics.tikz.node.position.directions.Left(direction=None, of=None, by=None, combined_direction=True)[source]¶
Bases:
pyexlatex.graphics.tikz.node.position.directions.HorizontalDirection
Used for placing nodes: construct with one node, pass as placement to another node, that second node will be placed to the left of the first node.
- name = 'left'¶
- class pyexlatex.graphics.tikz.node.position.directions.Right(direction=None, of=None, by=None, combined_direction=True)[source]¶
Bases:
pyexlatex.graphics.tikz.node.position.directions.HorizontalDirection
Used for placing nodes: construct with one node, pass as placement to another node, that second node will be placed to the right of the first node.
- name = 'right'¶
- class pyexlatex.graphics.tikz.node.position.directions.VerticalDirection(direction=None, of=None, by=None, combined_direction=True)[source]¶
Bases:
pyexlatex.graphics.tikz.node.position.directions.DirectionBase