Skip to content

Design Task Class

The SvgTask class represent a ewoks task in svg format (xml sub-element). The task will have a dictionary of parameters (or Pydantic Model ?) with the proposed entries:

{ "task_id" : str,
  "task_identifier":str, 
  "inputs":list({"name":str, "value":str| None })
  "outputs":list(str), # 
}

The class should be able to handle box size, string cropping, link node positioning ...