Available elements

From XiP-en

Jump to: navigation, search

Contents

Introduction

The XiP application provides two main types of elements: edges and vertexes. Each element provides a set of properties, which can be edited in the Parameters frame.


Vertexes

XiP Components

Introduction

There are a few types of components available in XiP application.

Regarding function in flow

Start Component

Operation Component

Output Component

Dynamic Component

Regarding behaviour???

Separators

Gather flow

Xip component properties

Others

Text Area

Frame

Image

Edges

XiP Edges

Introduction

There are two types of edges available in XiP application : standard edge and flow control edge.

Standard edge

Xip standard edge.PNG

The standard edge is used for connecting components to create logically flow and defines order of flow calculations. Below image showing how to connect two components.

Xip standard edge1.PNG


Each standard edge provides parameters which enables for the user to defining order of flow calculations and deciding whether the passing between components object should be cloned.

Xip standard edge2.PNG


Flow Control edge

Xip flowControl edge.PNG

The flow control edge is useful for managing of logically separated flows existing in one canvas. To create flow control edge please choose the corresponding item in main menu bar as below image showing.

Xip flowControl edge05.PNG


Below images showing one use case of flow control edge.

Xip flowControl edge1.PNG Xip flowControl edge2.PNG

Both images containing the same set of components (two separate flows) , the only difference is that in the right image output component is connecting with Input CSML component with the use of flow control edge, the difference causes that calculation order is changed. In the first model (left image) both input components are calculated in parallel while in the second model (right image) components are calculated one-by-one (as the image showing).


Start/End Priorities

Lets consider model below. Most interesting is the Separate Flow component providing one input and two outputs. By default there is no sure which branch will be calculated at the beginning, but sometimes it has influence on final result of calculations.

Xip calculations order.PNG

To define order of calculating of components the user can change Start priority parameter. To do this, please:

  1. select one of output edges of the Separate Flow component
  2. click editor button of Start Priority parameter in the Parameters frame.
  3. in the appeared Edge Start Priority dialog, please define order of flow.

All above steps showing image below

Xip calculations order1.PNG

To ensure that right part of flow will be calculated at the beginning (the CSML model will be displayed before the circle layout will be applied) the Edge 1 should be selected in the Edge Priority Start dialog and move in the top of the edges list (as presented on image below)

Xip calculations order2.PNG


Please note that start priority of the Edge 1 (connecting Separate flow and Display on CSML viewer components) was set to 2 and start priority of the Edge 2(connecting Separate flow and CSML layout components) was set to 1 (images below)

Xip calculations order5.PNG


Below image shows calculations order of the model.

Xip calculations order6.PNG

Clone

Lets consider model below. Most interesting is the Separate Flow component providing one input and two outputs. By default there is no sure which branch will be calculated at the beginning, but sometimes it has influence on final result of calculations.

Xip calculations order.PNG

Whether the branch A will be calculated at the beginning the circle layout will be applied into ARF_stabilization model. Please note that only one copy of the ARF_stabilization model exists in the flow since the Separate flow only divides flow (not create copy on model being calculated) so the both shown models will be equal (into both models circle layout will be applied).


To change the behaviour and avoid eventually problems the clone property was provided into edge.

Xip edgeProperty clone1.PNG


The edge having Clone property has special graphical representation. In the presented below model there are two different instances of the ARF_stabilization which ensures that the Display on CSML viewer component shows original model (without layout applied)

Xip edgeProperty clone2.PNG

Personal tools