Closed GoogleCodeExporter closed 9 years ago
I forgot to give you the trace:
Error: We did not find the edge although it should be there
at org.un.flex.graphLayout.data::Graph/link()[C:\Newsys\ws
flex\graphLayout\org\un\flex\graphLayout\data\Graph.as:434]
at org.un.flex.graphLayout.visual::VisualGraph/linkNodes()[C:\Newsys\ws
flex\graphLayout\org\un\flex\graphLayout\visual\VisualGraph.as:969]
at
fr.altares.newsys.viper.assemblage.organizationDetail.classes::LinkedOrganizatio
nsNodeItem/addItem()[C:\Newsys\ws
flex\viperLibrary\src\fr\altares\newsys\viper\assemblage\organizationDetail\clas
ses\LinkedOrganizationsNodeItem.as:69]
at
fr.altares.newsys.viper.assemblage.organizationDetail.classes::LinkedOrganizatio
nsNodeItem/resultHandler()[C:\Newsys\ws
flex\viperLibrary\src\fr\altares\newsys\viper\assemblage\organizationDetail\clas
ses\LinkedOrganizationsNodeItem.as:49]
at
fr.altares.newsys.services.remoteObject::BaseService/httpOperationResult()[C:\Ne
wsys\ws
flex\viperLibrary\src\fr\altares\newsys\services\remoteObject\BaseService.as:97]
at fr.altares.newsys.services.remoteObject::Responder/result()[C:\Newsys\ws
flex\viperLibrary\src\fr\altares\newsys\services\remoteObject\Responder.as:19]
at
mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult()[E:\
dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncToken.as:204]
at
mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callToken
Responders()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\events\R
esultEvent.as:166]
at
mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRp
cEvent()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractOper
ation.as:191]
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandle
r()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.a
s:198]
at
mx.rpc::Responder/result()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\m
x\rpc\Responder.as:48]
at
mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex_3_beta3\sdk\frameworks\projects\r
pc\src\mx\rpc\AsyncRequest.as:81]
at
NetConnectionMessageResponder/resultHandler()[E:\dev\flex_3_beta3\sdk\frameworks
\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:477]
at
mx.messaging::MessageResponder/result()[E:\dev\flex_3_beta3\sdk\frameworks\proje
cts\rpc\src\mx\messaging\MessageResponder.as:206]
Original comment by christop...@altares.fr
on 29 Feb 2008 at 3:52
Thanks. Indeed the first found edge could be oriented the other way round.
I implemented the patch, but differently. Since this issue came up before, the
Edge
class has now a method called othernode(), which always returns the other end
of the
edge than the one specifies as argument. So the code now looks like this:
if(edge.othernode(node1) == node2) {
retEdge = edge;
break;
}
Which should work. It is committed to SVN. Could you please verify?
Thanks,
Daniel
Original comment by spo...@gmail.com
on 21 Mar 2008 at 4:21
Original issue reported on code.google.com by
christop...@altares.fr
on 29 Feb 2008 at 3:50