convert_to_spring_weights: Convert weights for spring layout

View source: R/sgraph_utils.R

convert_to_spring_weightsR Documentation

Convert weights for spring layout

Description

Apply spring weights (revert weights). Can add weak links to selected nodes, but best without.

Usage

convert_to_spring_weights(df_links, selected_nodes = NULL)

Arguments

df_links

Links data frame of a sgraph object

selected_nodes

Nodes identifiers to be used for the selection.

Value

Links data frame of a sgraph object


sgraph documentation built on Sept. 12, 2024, 7:06 a.m.