#6 resize of Diagram (StandardDrawingView)

closed
nobody
None
5
2007-05-05
2002-10-22
No

I am not sure which is the best possibility to deal with
resizing of Figures.
1. Problem) I would like to expand Nodes by mouse
dynamically. The standard mechanism resizes the Node-
Figures automatically according to its contents (incl.
Figures).

2. Problem) In case the Node is either enlarged or
moved out of the current diagram-size
(StandardDrawingView-Dimensions) for e.g. by any
mathematical Layout-Algorithm, how is the diagram to
be informed resp. resized? Is there an automatic resize-
mechanism, if yes how is it to be initialized?

Thanks for any help
Peter

Discussion

  • Werner Randelshofer

    • status: open --> closed
     
  • Werner Randelshofer

    Logged In: YES
    user_id=940971
    Originator: NO

    I am closing this request.
    I don't think there is a general solution for this.

    JHotDraw 7 has a Layouter and a Liner interface which allow to implement various kinds of resize behaviors for composite figures.
    Also, it is possible to add actions to the user interface and make them accessible via popup menus. For example, one could add a "lay out" action to a Figure or to the DelegationSelectionTool.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks