Practic Force Directed - v1.0.0
    Preparing search index...
    • Read one node of a graph file as an object with a non-empty string id, named by its position for the errors that follow; given the ids read so far, an id one of them already has is refused too.

      Parameters

      • node: PersistValue

        The node as the file holds it.

      • index: number

        Its position in the file.

      • Optionalids: ReadonlySet<string>

        Ids of the nodes read before it, when ids must be unique.

      Returns ValidationResult<{ name: string; node: JsonObject & { id: string } }>