Alloy Community

User login

Inexplicable Edges

 
Posted on: Wed, 10/07/2009 - 09:17
Joined: 2009-10-06
Points: 6
User is offline
Inexplicable Edges
I have been thoroughly enjoying using Alloy, but I am having some emergent behaviour which I can't explain.

Essentially there is an edge in most (maybe all) of the instances that Alloy visualizes called $Show_e which is unrelated to any of my rules.  It always occurs between the same types of objects though:

sig Edge{
   to : Node,
   from : Node,
   label : Label
}

sig Label{
}

There may be many Edges pointing to the same Label, but there seems to always be a $Show_e from each Label to exactly one of the Edges which points at it.

I can't explain it, and it doesn't effect anything else, but it muddles the instance which I would like to use as a deliverable.

I have two questions.

1. Have I done something to cause alloy to add this $Show_e edge?

2. Is there anything I can do to have it not visualize this edge?

Thanks,
Bentley
 
Posted on: Thu, 10/08/2009 - 01:24    #1
Joined: 2008-05-15
Points: 334
User is offline
Is there a function in your model called "Show", with a parameter or variable called "e"?
 
Posted on: Thu, 10/08/2009 - 11:52    #2
Joined: 2009-10-06
Points: 6
User is offline
No, nothing at all like that.
 
Posted on: Thu, 10/08/2009 - 22:25    #3
Joined: 2008-05-15
Points: 334
User is offline
Try posting your alloy model and the alloy version.

Syndicate content  

The development of this site is supported by the National Science Foundation under Computing Research Infrastructure Grant No. 0707612.

Theme originally designed by Chris Herberte