diff --git a/js/layout.ts b/js/layout.ts index c5c666c5..56325195 100644 --- a/js/layout.ts +++ b/js/layout.ts @@ -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. @@ -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. diff --git a/js/sparql.ts b/js/sparql.ts index c39f0ed0..5dd0632e 100644 --- a/js/sparql.ts +++ b/js/sparql.ts @@ -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.