Skip to content

E011 - Endpoint string malformed

Cause

An edge endpoint string is malformed: either the slide id before the pipe is empty (e.g. "|right"), or the side after the pipe is not one of top, bottom, left, right.

Example

{ edges: [["|right", "b|north"]] }
// '|right' has empty slide id; 'b|north' has an invalid side

How to fix

Use "<slide_id>" or "<slide_id>|<side>". The slide id before the pipe must be non-empty; the side after must be one of top, bottom, left, right. Omitting the side lets scrolly infer it from slide positions when the inference is unambiguous.