-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.dist.ts
46 lines (44 loc) · 1.43 KB
/
config.dist.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/** Configuration template with default values.
Copy to js/config.ts after checkout and adapt to your preferences.
*/
import { LogLevelDesc } from "loglevel";
export const config = {
defaultSubOntologies: ["meta", "bb", "ob", "ciox", "he", "it4it"],
allSubOntologies: ["meta", "bb", "ob", "ciox", "he", "he-unconsolidated", "it4it"],
color: new Map([
["ciox", "rgb(80,255,250)"],
["meta", "rgb(255,80,80)"],
["ob", "rgb(255,173,30)"],
["bb", "rgb(30,152,255)"],
["he", "rgb(150,255,120)"],
["it", "rgb(204, 0, 204)"],
["it4it", "rgb(255, 255, 0)"],
]),
nodeSize: 39,
helperGraphs: ["limes-exact", "match"],
activeOptions: ["edgecolor"], // initially active options, choose a subset of: ["dev", "ext","day", "edgecolor"]
searchCloseMatch: true, // true is rejected because of the high estimated time by the SPARQL endpoint because of too many optional clauses
// only used for mobile, desktop will always use cxttapstart
logLevelConsole: "debug" as LogLevelDesc,
logLevelDisplay: "info" as LogLevelDesc,
logLevelMemory: "debug" as LogLevelDesc,
layoutCacheMinRecall: 0.95,
layoutCacheMinPrecision: 0.5,
language: "en",
download: {
image: {
max: { width: 5000, height: 4000 },
standard: { width: 1920, height: 1920 },
},
},
sparql: {
endpoint: "https://www.snik.eu/sparql",
graph: "http://www.snik.eu/ontology",
instances: false,
isSnik: true,
},
multiview: {
initialTabs: 1,
warnOnSessionLoad: true,
},
};