Skip to main content

plan_edge

Function plan_edge 

Source
pub fn plan_edge(spec: &DepictSpec) -> Result<Option<EdgePlan>, String>
Expand description

Pass 1: build an EdgePlan for every mol that needs host coord gen.

  • No align: each mol is its own free-layout root.
  • align: true: forest — default parent = first child; align_to overrides.

Returns None only when the document has no molecules.