Module conrod_core::graph::algo[][src]

Expand description

This module was created in order to keep the graph module clean and focused upon the Graph data structure behaviour.

This module hosts more complex algorithms in which the Graph is a key component in producing the desired result.

Structs

A node “walker” that yields all scrollable widgets under the given xy position in order from top to bottom.

A node “walker” that yields all widgets under the given xy position in order from top to bottom.

Functions

The rectangle that represents the maximum visible area for the widget with the given index.

The rectangle that represents the maximum visible area for the widget with the given index.

Find the absolute Rect that bounds all widgets that are Depth children of the widget at the given idx.

Produces a graph node “walker” that yields all scrollable widgets under the given xy position in order from top to bottom.

Produces a graph node “walker” that yields all widgets under the given xy position in order from top to bottom.

Return the scroll_offset for the widget at the given index.