Changelog
Source:NEWS.md
cograph 1.5.2
Breaking Changes
- Standardized first parameter name to
xacross all plotting functions:-
plot_tna():input→x -
plot_htna():input→x(wasmodel) -
plot_mtna():input→x(wasmodel) -
splot()already usedx
-
cograph 1.5.1
Breaking Changes (with backwards compatibility)
The following parameters have been renamed for consistency. The old names still work but emit deprecation warnings:
| Old Name | New Name | Reason |
|---|---|---|
esize |
edge_size |
Add edge_ prefix, expand abbreviation |
cut |
edge_cutoff |
Add edge_ prefix, clarify meaning |
usePCH |
use_pch |
Fix camelCase to snake_case |
positive_color |
edge_positive_color |
Add edge_ prefix (matches theme storage) |
negative_color |
edge_negative_color |
Add edge_ prefix (matches theme storage) |
donut_border_lty |
donut_line_type |
Expand lty abbreviation |
Improvements
-
edge_label_fontfacenow accepts string values (“plain”, “bold”, “italic”, “bold.italic”) in addition to numeric values, matching other fontface parameters - Added deprecation helper infrastructure for backwards-compatible parameter renaming
- Standardized all public API parameters to use consistent snake_case naming
cograph 1.4.0
New Features
- Added
mlna()for multilevel network visualization with 3D perspective - Added
mtna()for multi-cluster network visualization - Added
plot_htna()for hierarchical multi-group polygon network layouts with circular layout option - Added
tplot()as qgraph drop-in replacement - Added
arrow_angleparameter for customizable arrowheads
cograph 1.3.1
New Features
- Added
edge_start_dot_densityparameter for TNA-style dotted edges - Added direct support for tna objects via
from_tna() - Added direct support for statnet network and qgraph objects
- Added auto-conversion of
pie_valuesvector todonut_fillwhen values are in [0,1] - Removed underscore prefix requirement for custom SVG shapes
cograph 1.2.7
Bug Fixes
- Fixed oversized nodes in
from_qgraph()with layout override - Fixed oval layout: use uniform scaling in
normalize_coords() - Fixed edge label alignment issues in
from_qgraph() - Fixed nrow(el) crash: qgraph Edgelist is a list, not data.frame
- Fixed misaligned edge labels by reordering per-edge vectors
- Fixed oval layout node distortion and donut fill for
from_qgraph()
cograph 1.2.6
New Features
- Added
donut_emptyparameter - Added
from_qgraph()function for qgraph compatibility
Improvements
- Scaled down edge width, label size, and arrow size from qgraph values
- Improved curvature, threshold/minimum, donut ratio, and node size defaults
- Rewrote
from_qgraph()to read resolved graphAttributes
cograph 1.2.0
New Features
- Added
soplot()qgraph-compatible plotting function - Added
layout_oval()function for oval/ellipse layouts - Added
layout_scaleparameter to expand/contract network layout - Added
layout_scale = "auto"for node-count based scaling - Added Gephi Fruchterman-Reingold layout algorithm
- Added
edge_start_styleparameter for direction indication - Added start segment styling to edge drawing functions
cograph 1.1.0
New Features
- Added
splot()function for base R graphics network plotting - Added polygon donuts, AI shapes, and SVG support
- Added shadow labels and text control options
- Added double donut nodes with separate border controls
- Added edge CI underlays and template-based edge labels
- Added comprehensive legend support for groups, edge colors, and node sizes
- Added high resolution output support
- Added edge curves mode and label styling options
- Added bidirectional arrows, loop rotation, and curve controls
Bug Fixes
- Fixed donut rendering bug and simplified donut_color API
- Fixed arrow positioning and curve direction for qgraph-style edges
- Fixed edge label positioning to avoid overlap with edge lines
- Fixed inward curve direction for splot edges
- Fixed self-loop rendering with qgraph-style circular arcs
- Fixed arrow placement on non-square viewports
- Fixed reciprocal edge auto-separation