venn_layout: Canonical (non-proportional) Venn layout for a given shape.

View source: R/extendr-wrappers.R

venn_layoutR Documentation

Canonical (non-proportional) Venn layout for a given shape.

Description

Returns per-set geometry for a true Venn diagram of set_names.len() sets, where every one of the 2^n - 1 regions is present. Used by the R venn() path for shapes whose layout is supplied by eunoia rather than by eulerr's precomputed ellipse table. Currently only "rotated_rectangle" is wired here (it supports n in 1..=4); the rotation is what lets four rectangles open all 15 regions, which axis-aligned rectangles cannot.

Usage

venn_layout(set_names, shape)

eulerr documentation built on Aug. 22, 2026, 1:09 a.m.