You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
George Mathew edited this page Nov 8, 2015
·
3 revisions
Py* is a programatic approach to encode models represented using the i* model. Most of the large models are encoded in visio(.vsd) format. It can be viewed in any version of visio or using libre office. Libre office is free for all operating systems.
Here is how a small model is represented using i*
The equivalent py* encoding can be seen in this file
Representing Nodes and Edges
All nodes are represented as classes with the first parameter as "Content of the node" and the second parameter as its container/agent/actor which is optional.
Edges are represented as type of the edge as class name with the first parameter as "source" and the second parameter as "target".
Edges between containers and nodes need not be encoded.
Dependency edge is represented against the general convention of how we view edges. For eg. in the fig above.
"Provide to firemen" is the source and "Cross related information" is the target.