Trees | Indices | Help |
---|
|
object --+ | core.drawing.DiagramDrawer --+ | EpsDiagramDrawer --+ | MultiEpsDiagramDrawer
Class to write a EPS file containing the asked set of diagram This class follows the DrawDiagram Frameworks.
The main routine to draw a diagram is 'draw' which call 1) initialize: setup things for the diagram (usually open a file) 2) convert_diagram : Update the diagram in the correct format if needed 3) draw_diagram : Perform diagram dependent operation 4) conclude : finish the operation.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
x_min = 75
|
|||
x_size = 200
|
|||
y_min = 560
|
|||
y_size = 150
|
|||
x_gap = 75
|
|||
y_gap = 70
|
|||
font = 9
|
|||
nb_line = 3
|
|||
nb_col = 2
|
|||
blob_size = 1.5
|
|||
lower_scale = 5
|
|||
second_scale =
|
|||
Inherited from |
|
|||
Inherited from |
|
Define basic variable and store some global information all argument are optional diagramlist : are the list of object to draw. item should inherit from either base_objects.Diagram or drawing_lib.FeynmanDiagram filename: filename of the file to write model: model associate to the diagram. In principle use only if diagram inherit from base_objects.Diagram amplitude: amplitude associate to the diagram. NOT USE for the moment. In future you could pass the amplitude associate to the object in order to adjust fermion flow in case of Majorana fermion.
|
All coordinates belongs to [0,1]. So that in order to have a visible graph we need to re-scale the graph. This method distort the square in a oblong. Deformation are linear.
|
Creates the representation in EPS format associate to a specific diagram.
|
Creates the representation in EPS format associate to a specific diagram. 'opt' keeps track of possible option of drawing. Those option are used if we need to convert diagram to Drawing Object. opt is an DrawOption object containing all the possible option on how draw a diagram.
|
|
second_scale
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 08:02:12 2012 | http://epydoc.sourceforge.net |