ctn-archive / nengo_gui_2014

HTML5 graphical interface for Nengo -- now obsolete! Please use https://github.com/nengo/nengo_gui instead
Other
6 stars 0 forks source link

Feedforward layout breaks if SVG pane is small. #116

Open e2crawfo opened 10 years ago

e2crawfo commented 10 years ago

Probably because the feedforward layout doesn't currently account well for the size of the text labels. When the layout pane is small, the network is displayed small because a zoom-centre is performed. Then since the sizes of the labels don't change, the javascript engine will render it significantly differently than the feedforward layout expects.

tcstewar commented 10 years ago

Hmmm... I'd be somewhat tempted to just get rid of the automatic width change due to the size of the text labels. Especially when those networks are so small that the text dominates everything else.