icyphy / ptII

Ptolemy II is an open-source software framework supporting experimentation with actor-oriented design.
https://ptolemy.eecs.berkeley.edu/ptolemyII
Other
99 stars 43 forks source link

MultiInstanceComposite: Relation created, not connected #74

Open cxbrooks opened 16 years ago

cxbrooks commented 16 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#143 From: @cxbrooks Reported version: 7.1.devel CC: pt-dev@chess.eecs.berkeley.edu

cxbrooks commented 16 years ago

Created attachment 11 Running this model creates an unconnected relation that is connected on save.

When a model containing a MultiInstanceComposite is run, a relation is created, but the relation is not connected. When the model is saved, the relation is then connected.

The bug is that the relation should be shown as connected after running the model. I think this is a long standing bug.

A nice enhancement would be if the relation was created between the two actors instead of in the upper left.

Kees Verhaar supplied the attachment, see Ptolemy Hackers for discussion.

Attached file: multiinstance.xml (text/xml, 5254 bytes) Description: Running this model creates an unconnected relation that is connected on save.