Preprocess Edges DataFrame Ensures required edge attributes have default values when not provided.
preprocess_edges_df.RdPreprocess Edges DataFrame Ensures required edge attributes have default values when not provided.
Arguments
- edges_df
A data frame containing edge information Expected columns include:
- from
Node ID of the source node
- to
Node ID of the target node
- curvature
Curvature flag (0 for straight lines, 1 for curved)
- gap
Optional gap offset from node borders (default: 0)
- pvalue
Statistical significance value for styling
- est
Effect estimate displayed on edge labels
- ci.lower
Lower bound of confidence interval
- ci.upper
Upper bound of confidence interval