auto_layout: Pre-compute RelDataModel layout when missing any x or y table...

View source: R/RelDataModel.R

auto_layoutR Documentation

Pre-compute RelDataModel layout when missing any x or y table position

Description

Pre-compute RelDataModel layout when missing any x or y table position

Usage

auto_layout(
  x,
  layout = "layout_nicely",
  lengthMultiplier = 40 * length(x),
  force = FALSE
)

Arguments

x

a RelDataModel

layout

character name of igraph layout function to use (Default: "layout_nicely").

lengthMultiplier

a numeric value to scale x and y coordinate (default: 40*length(x))

force

if TRUE autolayout even if all tables have coordinates (default: FALSE)

Value

A RelDataModel


ReDaMoR documentation built on April 4, 2025, 2:39 a.m.