Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Gaphas
Gaphas

The basics

  • Class diagram
  • Interacting with diagrams
  • Connections
  • Constraint Solver

Advanced

  • Guides
  • Line Segments

API

  • API reference
    • View
    • Model
    • Painters
    • Tools
    • Handles and Ports
    • Connections
    • Variables and Position
    • Matrix
    • Rectangle
    • Geometry functions

Internals

  • Quadtree
  • Table
  • Tree
  • Decorators
Back to top
View this page

TreeΒΆ

Tree is an internal structure used by the default view model implementation (gaphas.Canvas). A tree consists of nodes.

The tree is optimized for depth-first search.

Source code: https://github.com/gaphor/gaphas/blob/main/gaphas/tree.py.

Next
Decorators
Previous
Table
Copyright © 2006, Arjan J. Molenaar
Made with Sphinx and @pradyunsg's Furo