Calculates node coordinates for a glycan structure to mimic SNFG style. Supports customizable direction and branch length.
layout_fishbone(graph, direction = "left", length = 1, angle_sep = 30, ...)A matrix of x, y coordinates.
An igraph object.
The direction of the main chain growth ("left", "right", "up", "down"). Default is "left".
The distance between nodes. Default is 1.
The angle separation for branches in degrees. Default is 30.
Additional arguments.