Quintiq file version 2.0
#parent: GanttChartCapacityPlanning
Response OnDrawNode (
  Transition_MP element
) id:Response_GanttChartCapacityPlanning_OnDrawNode_844
{
  #keys: '[145730.0.1109644421]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebGanttChart_OnDrawNode'
  QuillAction
  {
    Body:
    [*
      // Determine colors of the transition nodes
      drawinfo.AddCompartment( ColorScheme.CapacityGanttChart_Transition(), element.End() - element.Start() );
      
      if( element.HasConstraintViolations() )
      {
        drawinfo.Image( 1, "CONSTRAINTVIOLATIONS" );
      }
    *]
    GroupServerCalls: false
  }
}
