Summary

This block is used to create a relation between source(s) and target(s).

 

Implementation

  • Drag and drop the block from the palette
  • Link the "execute" action from the "executed" topic of the previous block

Example

This block creates a relation named "hs:siteRef" (from Haystack dictionary) from an equipment to its site.

 

 Properties

  • Artifacts: Artifacts created by this block
    • Relation: relation created. Ex: the relation "hs:siteRef" between Lamp and Site
  • Target: SFormat to define the target component of the relation. Ex: the component which represents a site
  • Source: SFormat to define the source component of the relation. Ex: some equipment located in the site
  • RelationId: SFormat to define the id of the relation to create. Ex: hs:siteRef, b:isIn or any relation of any dictionary


Behavior: DO

The relation is created between source(s) and target(s).


Behavior: UNDO

If relations still exist, relations are removed.