Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Expand not working if iri already found as leaf in nodes cache #7

Open
@grtjn

Description

@grtjn

Keep track which nodes have been expanded, by adding this right after first sparql call:

  newIris.forEach(function(iri) {
    nodes[iri].expanded = true;
  });

And then use this to filter which iris need processing:

  if (!nodes[iri] || !nodes[iri].expanded) {

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions