def node2style(job):
    if (not self.needrun(job)):
        return 'rounded,dashed'
    if (self.dynamic(job) or job.dynamic_input):
        return 'rounded,dotted'
    return 'rounded'
def node2style(job):
    if (not self.needrun(job)):
        return 'rounded,dashed'
    if (self.dynamic(job) or job.dynamic_input):
        return 'rounded,dotted'
    return 'rounded'