|
@@ -43,11 +43,11 @@ type CreatChainReq struct {
|
|
|
type Cells []*Cell
|
|
|
|
|
|
type Cell struct {
|
|
|
- Id string `json:"id"` // id
|
|
|
- Shape string `json:"shape"`
|
|
|
- Data CellData `json:"data"` // 数据
|
|
|
- Source Branch `json:"source"` // 上级节点
|
|
|
- Target Branch `json:"target"` // 下级节点
|
|
|
+ Id string `json:"id"` // id
|
|
|
+ Shape string `json:"shape"`
|
|
|
+ Data map[string]interface{} `json:"data"` // 数据
|
|
|
+ Source Branch `json:"source"` // 上级节点
|
|
|
+ Target Branch `json:"target"` // 下级节点
|
|
|
}
|
|
|
|
|
|
type CellData struct {
|