domain

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionProperty

type ConditionProperty struct {
	Name string `json:"name"`
}

type Edge

type Edge struct {
	Type         string      `json:"type"`
	SourceNodeId string      `json:"sourceNodeId"`
	TargetNodeId string      `json:"targetNodeId"`
	Properties   interface{} `json:"properties"`
	ID           string      `json:"id"`
}

Edge 定义线字段

type EdgeProperty

type EdgeProperty struct {
	Expression string `json:"expression"`
}

type EndProperty

type EndProperty struct {
	Name string `json:"name"`
}

type LogicFlow

type LogicFlow struct {
	Edges []map[string]interface{} `json:"edges"`
	Nodes []map[string]interface{} `json:"nodes"`
}

type Node

type Node struct {
	Type       string      `json:"type"`
	Properties interface{} `json:"properties"`
	ID         string      `json:"id"`
}

Node 节点定义

type StartProperty

type StartProperty struct {
	Name string `json:"name"`
}

type UserProperty

type UserProperty struct {
	Name     string `json:"name"`
	Approved string `json:"approved"`
}

type Workflow

type Workflow struct {
	Id         int64
	TemplateId int64
	Name       string
	Icon       string
	Owner      string
	Desc       string
	FlowData   LogicFlow // 前端数据传递Flow数据
	ProcessId  int       // 绑定对应的后端引擎 ID
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL