Wrapper of the Scenario Evolution Widget (AngularJS) to make it available on WireCloud.
Simply download the binary from here. Then upload the widget to your local marketplace of the WireCloud platform that you want to use.
You can also build the widget from scratch. The project uses npm/bower/grunt for project management. Follow these instructions on how to build such a project.
<Platform.Preferences>
<Preference
name="DEBUG"
type="text"
description="Toggle debug mode"
label="DEBUG toggle" default="true"/>
<Preference
name="CRISMA_DOMAIN"
type="text"
description="The CRISMA domain this widget lives in"
label="CRISMA domain"
default="CRISMA"/>
<Preference
name="CRISMA_ICMM_API"
type="text"
description="The URL to the ICMM API instance"
label="CRISMA ICMM API"
default="http://crisma.cismet.de/icmm_api"/>
</Platform.Preferences>
<Platform.Wiring>
<InputEndpoint
name="setActiveWorldstate"
type="text"
label="Set Worldstate active"
description="Let's other widgets activate a specific worldstate. The text has to be a worldstate id only so every widget has to agree on a single ICMS instance"
friendcode="activeWorldstate"/>
<OutputEndpoint
name="getActiveWorldstate"
type="text"
label="Get the currently active worldstate"
description="Let's other widgets know which worldstate is active. The text is a worldstate id only so every widget has to agree on a single ICMS instance"
friendcode="activeWorldstate"/>
</Platform.Wiring>