```mermaid
classDiagram
    Workflow <|-- Flow
    class Workflow{
        String Name
        Usage Usage : Trading|Task
        Flow[] Flows
        String Description
    }
    class Flow{
        String Name
        CategoryType Category
        FlowType Type
        FlowParameters Parameters
        String Description
        FlowType? AcceptedInput
        OutputType[]? Outputs
        Flow[]? ChildrenFlow
        Flow? ParentFlow
        Output? Output : Signal|Text|Candles
        MapInput(AcceptedInput, ParentFlow.Output)
        Run(ParentFlow.Output)
        LoadChildren()
        ExecuteChildren()
    }
  
```