LayoutCache

Contents

LayoutCache#

class braincell.vis.LayoutCache(maxsize=64)[source]#

Size-bounded LRU cache for layout-branch builder results.

Parameters:

maxsize (int) – Maximum number of cached layouts. When exceeded, the oldest entry (by access order) is evicted.