mbien commented on code in PR #8217:
URL: https://github.com/apache/netbeans/pull/8217#discussion_r1938258343


##########
java/java.graph/src/org/netbeans/modules/java/graph/FruchtermanReingoldLayout.java:
##########
@@ -150,7 +150,7 @@ private void init() {
         bounds = new Rectangle(magicSizeConstant  + (magicSizeMultiplier * 
nds), 
                                magicSizeConstant  + (magicSizeMultiplier * 
nds)); //g.getMaximumBounds();
         temp = bounds.getWidth() / 10;
-        forceConstant = 0.75 * Math.sqrt(bounds.getHeight() * 
bounds.getWidth() / nds);
+        forceConstant = 1.75 * Math.sqrt(bounds.getHeight() * 
bounds.getWidth() / nds);

Review Comment:
   yeah there is a lot which could be done UX wise. Drag on empty space should 
move the viewport like everyone will intuitively try doing after using maps for 
so long. I think scroll wheel should probably zoom by default without having to 
hold ctrl (scrollbars are off anyway, which would be fine if drag would work), 
etc.
   
   i would like to have the output of
   ```
    mvn eu.maveniverse.maven.plugins:toolbox:tree -DverboseTree=true 
   
   ```
   and
   ```
   mvn eu.maveniverse.maven.plugins:toolbox:plugin-tree -DverboseTree=true
   ```
   (possibly more) in swing trees. with colors, filters etc. Since i don't find 
graphs very useful for purposes like this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to