Fix more NaNs in Elastic Nodes example
commit5cba8ea7d6b793ba0012dfc387e6859ace7c664a
authorJoão Abecasis <joao@abecasis.name>
Tue, 21 Apr 2009 14:59:55 +0000 (21 16:59 +0200)
committerJoão Abecasis <joao@abecasis.name>
Wed, 22 Apr 2009 10:09:30 +0000 (22 12:09 +0200)
treecdb5475e8d74f1aab7ba964609fa990e3b6233e6
parenta9d0e4f830687b33c3a93cce2a3b8d77cc3546cc
Fix more NaNs in Elastic Nodes example

Don't try to draw zero-length lines. Don't draw lines if nodes are
superimposed.

Reviewed-by: Andreas
examples/graphicsview/elasticnodes/edge.cpp