Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
49 lines (39 loc) · 1.94 KB

File metadata and controls

49 lines (39 loc) · 1.94 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

Random not Categorized Notes

Node Geometry

                       spacing  spacing
spacing               /                \           spacing
        \     port                         port   /
        |  | width  |  |              | | width |  |
        0
      0_|_________________________________________    ___
        /                                         \   ___  spacing
        |                                         |
        |                 Caption                 |        caption height
        |             ________________            |   ___
        |             |               |           |   ___   spacing
        |             |               |           |
        O In Name     |               |  Out Name O        entry
        |             |               |           |   ___
        |             |               |           |   ___  spacing
        |             |               |           |
        O Another In  |               |  Out Name O
        |             |               |           |
        |             |               |           |
        |             |               |           |
        O             |               |           O
        |             |               |           |
        |             |_______________|           |
        |                                         |
        O                                         |
        |                                         |
        \_________________________________________/

Node's size must be recalculated in following cases:

  1. After construction.
  2. Embedding the widget.
  3. After resizing.
  4. Before painting (conditional, depends on whether the font metrics was changed).
  5. When incoming data changed (could trigger size changes, maybe in captions).
  6. When embedded widget changes its size.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.