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
Right now, an edge action block takes as parameter only the model of the edge.
The model of the edge is mainly targeted to identifying the start and end node, but
it many times is
not enough to do something with the edge afterwards.
By providing the start and end node in the action block, we take advantage of the already
computed
nodes.
To not break existing code, an idea would be to use something similar to glamourValue
through
which the block parameters are optional.
Reported by tudor.girba on 2010-05-05 23:17:38
The text was updated successfully, but these errors were encountered:
I started to work on this (testHandlerOnEdge). However, I am unsure for few things.
view interaction on: MOMouseDown do: [ :v | ... ]
What v is supposed to be? The announcement or the value on which one has clicked?
It has to be the value I believe. However, it may brake already existing code. We could
leave it like this, and introduce on:withValueDo:
What do you think?
Cheers,
Alexandre
Reported by alexandre.bergel on 2010-11-19 20:42:02
Originally reported on Google Code with ID 396
Reported by
tudor.girba
on 2010-05-05 23:17:38The text was updated successfully, but these errors were encountered: