Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null activities and unbounded activities are indistinguishable #68

Open
pmdoll opened this issue Jun 21, 2017 · 2 comments
Open

Null activities and unbounded activities are indistinguishable #68

pmdoll opened this issue Jun 21, 2017 · 2 comments

Comments

@pmdoll
Copy link
Contributor

pmdoll commented Jun 21, 2017

activity-bounds
Null activities are assumed to have [0 0] constraints while unbounded activities have [0 :infinity]. Since they have different semantics, they should be visually distinguishable.

@dcerys
Copy link
Member

dcerys commented Jun 21, 2017

I agree. The ability to distinguish null activities from non-null activities goes beyond the default temporal constraint. It's the fundamental semantic difference between a null activity (which isn't an activity) and a real activity that is even more important. For the observer of the TPN, they both appear as similar (often identical) arcs between nodes.

Often, null activities are drawn slightly differently, in that non-null activities are (always?) drawn horizontally while null activities are drawn at arbitrary angles. However, that's pretty subtle. Some other suggestions to distinguish null activities from non-null:

  • use a dashed line for the arc
  • use a thinner line for the arc
  • use an explicit "NULL" (or some other) activity label for all null activities [not a great idea, since it will clutter the TPN]

Let's NOT distinguish the null activities by color, since that would interfere with the normal expected coloring of execution state.

@pmdoll
Copy link
Contributor Author

pmdoll commented Jun 21, 2017

Null activities are effectively connectors of 2 nodes and they exist for historical reasons. Cytoscape based planviz used edges without arrows to indicate null activities and effectively distinguished null from non-null activities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants