Hello - I am having difficulty getting a decision node to render correctly in Modeler CLI. I made a simple action def as an example. This is the code:
package batteryActivity {
private import ScalarValues::*;
action def MonitorBattery;
action def AddCharge;
action def EndCharging;
attribute batteryCharge : Real;
action def ChargeBattery{
first start;
then merge continueCharging;
then action monitor : MonitorBattery;
then decide;
if batteryCharge < 100 then addCharge;
if batteryCharge >= 100 then endCharging;
action addCharge : AddCharge;
then continueCharging;
action endCharging : EndCharging;
then done;
}
}
And this is what the view looks like:
