System Authoring
The system view displays a hierarchical view of defined event patterns and the data flows between them. It provides an interface for:
- Determining what kind of system nodes a model is going to have.
- Specifying the types of data that nodes receive for input and produce for output.
- Charting how data flows from one node to another.
Note
Currently, Cogynt Authoring only supports event pattern nodes.
Creating Event Patterns
To create an event pattern:
- In the tool palette, click the Event Pattern icon. (Note: This is currently the only tool available in the system view.)
- Click any open space in the diagramming area to place an event pattern node.
- In the details panel, change the properties of the event pattern as needed. For more information, see Editing Event Patterns.
Establishing Event Pattern Data Flow
Data flow between event patterns is established by creating "connecting events" that join the two event patterns.
To create a connecting event between two event patterns:
- In the diagramming area, click the event pattern to serve as the source (that is, the pattern to produce output data).
- Click the Connection button and drag the cursor to the target event node (that is, the pattern to receive input data).
- In the Select Connecting Event Type dialog, click the option button beside the appropriate type of data that should flow from the source to the target:
- Select Use an output event type of [SOURCE] (where [SOURCE] is the identifier of the source node) to use an existing output event type from the source node.
- Select Use an input event type of [TARGET] (where [TARGET] is the identifier of the target node) to use an existing input event type from the target node.
- Select Use an existing event type in project to use an event type from elsewhere in the project.
- Select Create a new event type to create a new event type to serve as the connecting event.
- Click OK to create the connecting event, or click Cancel to discard it.
Note
If any of the first three connecting event types are selected (i.e., 3.i, 3.ii, or 3.iii), any necessary model artifacts that are missing from the source and target event patterns are created automatically:
- For the source, an outcome is created.
- For the target, an element is created.
Both model artifacts are associated with the same event type specified in the dialog.
If Create a new event type was selected as the connecting event type (3.iv in the preceding instructions), additional steps are required:
- After clicking OK, the Create Event Type dialog opens.
- Follow the steps in Creating New Event Types to create the new event type.
Duplicating Event Patterns
Copies of event patterns can be made as needed.
To duplicate an event pattern:
- In the diagramming area, click an event pattern to duplicate.
- Click the Duplicate button and drag the cursor to an open space in the diagramming area.
- Release the mouse button. The duplicate event pattern is created at the cursor's location.
Alternatively:
- In the diagramming area, right-click an event pattern to duplicate.
- From the context menu, select Duplicate.
Deleting Event Patterns
Existing event patterns can be deleted as necessary.
To delete an event pattern:
- In the diagramming area, click an event pattern to delete.
- Click Delete (X).
Alternatively:
- In the diagramming area, right-click an event pattern to delete.
- From the context menu, select Delete.
Editing Event Patterns
The details of existing event patterns can be modified as needed.
To edit the data for an event pattern:
- In the diagramming area, click an event pattern to edit.
- In the details panel, click the Contents tab if it is not already selected.
- Edit the event pattern information as needed.