minor changes

This commit is contained in:
pb 2024-03-29 17:58:52 +01:00
parent 655c9986f9
commit 7395c94dd1
2 changed files with 3 additions and 2 deletions

View File

@ -182,6 +182,9 @@ func PostOneComputing(obj ComputingNEWModel) (ID string, err error) {
} }
func (obj *ComputingObject) AddUserInput(inputs []xml.Attr){ func (obj *ComputingObject) AddUserInput(inputs []xml.Attr){
logs.Alert("AddUserInput() is going to throw some alerts while mxGraph GUI is not updated to adapt the inputs to the componant")
// So far only a few input to handle so a switch with a case for each type of attribute // So far only a few input to handle so a switch with a case for each type of attribute
// is enough, to prevent too much complexity // is enough, to prevent too much complexity

View File

@ -4,7 +4,6 @@ import (
"context" "context"
"encoding/xml" "encoding/xml"
"errors" "errors"
"fmt"
"net/url" "net/url"
"os" "os"
"sort" "sort"
@ -632,7 +631,6 @@ func (ws Workspace) ConsumeMxGraphModel(xmlmodel MxGraphModel) (returned_wf *Wor
returned_wf.UpdateObj(comp_obj,object.ID) returned_wf.UpdateObj(comp_obj,object.ID)
} }
// if(resObj.getRtype() == rtype.DATA){ // if(resObj.getRtype() == rtype.DATA){
fmt.Printf("Test")
// } // }
} }