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
When I obtain an actor from an instance with instance.getActor(), the .getIncomingPortMap() and .getOutgoingPortMap() methods both return empty maps. This is the case even for actors that are connected to predecessor and successor actors with connections, so the returned map container should contain entries.
For example, here is a simple XDF graphiti feature:
It prints an empty entry set for actors in my network that have incoming connections.
I've tried to find the root cause of this issue. It may be something to do with EMF resources. Below is the code used to fill the dialog box with instances and networks, to update a refinement for a graphiti container shape (a box).
First, here's the code of interest, modified with a print statement to inspect the incomingPortMap() for the actor consumed with emfResourceSet.getResource(uri, true);
It looks a bit magical to me, given that I'm not familiar with the EMF framework. Even so, it does appear that it doesn't seem to be getting the entire resource correctly, namely for actors it does not be getting information about incoming or outgoing port maps.
What's the resolution? Thanks!
The text was updated successfully, but these errors were encountered:
When I obtain an actor from an instance with
instance.getActor()
, the.getIncomingPortMap()
and.getOutgoingPortMap()
methods both return empty maps. This is the case even for actors that are connected to predecessor and successor actors with connections, so the returned map container should contain entries.For example, here is a simple XDF graphiti feature:
It prints an empty entry set for actors in my network that have incoming connections.
I've tried to find the root cause of this issue. It may be something to do with EMF resources. Below is the code used to fill the dialog box with instances and networks, to update a refinement for a graphiti container shape (a box).
First, here's the code of interest, modified with a print statement to inspect the
incomingPortMap()
for the actor consumed withemfResourceSet.getResource(uri, true);
This also prints an empty entry set for actors that do have incoming connections. Here's it in full:
I don't know how this works:
It looks a bit magical to me, given that I'm not familiar with the EMF framework. Even so, it does appear that it doesn't seem to be getting the entire resource correctly, namely for actors it does not be getting information about incoming or outgoing port maps.
What's the resolution? Thanks!
The text was updated successfully, but these errors were encountered: