Skip to content

Commit

Permalink
doc: fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradHoeffner committed Oct 26, 2023
1 parent d0eda67 commit 891ba0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function center(nodes: NodeCollection): Position {
return c;
}

/** Layouts all visible nodes in a graph. Saves to cache but doesn't load from it, use {@link layout.runCached} for that.
/** Layouts all visible nodes in a graph. Saves to cache but doesn't load from it, use {@link runCached} for that.
@param cy - the Cytoscape.js graph to run the layout on
@param layoutConfig - the layout configuration, which includes the layout name and options
@param subs - Set of subontologies. If the subs are not given the layout still works but it is not saved.
Expand Down Expand Up @@ -206,7 +206,7 @@ export interface LayoutConfig {
name: string;
}

/** Cached version of {@link layout.run}.
/** Cached version of {@link run}.
@param cy - the Cytoscape.js graph to run the layout on
@param layoutConfig - the layout configuration, which includes the layout name and options
@param subs - Set of subontologies. If the subs are not given the layout still works but it is not cached.
Expand Down
2 changes: 1 addition & 1 deletion js/sparql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const SNIK = {
ENDPOINT: "https://www.snik.eu/sparql",
};

//ASK queries should also work but better use {@link ask} instead as it is more convenient. // ask does not exist anymore
/** Query public SNIK SPARQL endpoint with a SELECT query.
ASK queries should also work but better use {@link ask} instead as it is more convenient.
@param query - A valid SPARQL query.
@param graph - An optional SPARQL graph.
@param endpoint - An optional SPARQL endpoint. May override FROM statements.
Expand Down

0 comments on commit 891ba0d

Please sign in to comment.