示例#1
0
  def __init__(self):

    # Define the errors.
    self.errors = er.plotErrors()

    # Keep track of the requested plots.
    self.isFullPlot    = False
    self.isReducedPlot = False

    # Store the filenames.
    self.plotFilename        = None
    self.reducedPlotFilename = None
    self.fullPlotFilename    = None

    # Define the text font.
    self.fontName   = 'quicksand'

    # Define the arrow style.
    self.arrowColour = '#A6AAA9'
    self.arrowWidth  = 0.5

    # Define styles and colours for option nodes.
    self.optionNodeFillColour = 'white'
    self.optionNodeFontColour = 'black'
    self.optionNodeShape      = 'rectangle'
    self.optionNodeStyle      = 'filled, rounded'

    # Define styles and colours for task nodes.
    self.taskNodeColour     = '#526D89'
    self.taskNodeFillColour = 'white'
    self.taskNodeFontColour = '#5A5A5A'
    self.taskNodeShape      = 'box'
    self.taskNodeStyle      = 'filled, rounded'
    self.taskNodeWidth      = '0.5'

    # Define file node styles and colours.
    self.fileNodeColour     = '#729A29'
    self.fileNodeFillColour = 'white'
    self.fileNodeFontColour = '#5A5A5A'
    self.fileNodeShape      = 'diamond'
    self.fileNodeStyle      = 'filled, rounded'
    self.fileNodeWidth      = '1.0'
示例#2
0
  def __init__(self):

    # Define the errors.
    self.errors = er.plotErrors()

    # Keep track of the requested plots.
    self.isFullPlot    = False
    self.isReducedPlot = False

    # Store the filenames.
    self.plotFilename        = None
    self.reducedPlotFilename = None
    self.fullPlotFilename    = None

    # Define the text font.
    self.fontName   = 'montserrat'

    # Define styles and colours for option nodes.
    self.optionNodeFillColour = 'white'
    self.optionNodeFontColour = 'black'
    self.optionNodeShape      = 'rectangle'
    self.optionNodeStyle      = 'filled, rounded'

    # Define styles and colours for task nodes.
    self.taskNodeColour     = '#0E77A6'
    self.taskNodeFillColour = 'white'
    self.taskNodeFontColour = '#5A5A5A'
    self.taskNodeShape      = 'circle'
    self.taskNodeStyle      = 'filled'
    self.taskNodeWidth      = '4'

    # Define file node styles and colours.
    self.fileNodeColour     = '#F97308'
    self.fileNodeFillColour = 'white'
    self.fileNodeFontColour = '#5A5A5A'
    self.fileNodeShape      = 'oval'
    self.fileNodeStyle      = 'filled'
    self.fileNodeWidth      = '2.5'