mirror of
https://github.com/quartz-community/graph.git
synced 2026-07-22 02:50:25 +00:00
docs: add missing defaultOptions and optionSchema to package.json manifest
This commit is contained in:
parent
7239b083ae
commit
ad18a7595e
1 changed files with 40 additions and 1 deletions
41
package.json
41
package.json
|
|
@ -94,13 +94,52 @@
|
|||
"dependencies": [],
|
||||
"defaultOrder": 50,
|
||||
"defaultEnabled": true,
|
||||
"defaultOptions": {},
|
||||
"defaultOptions": {
|
||||
"localGraph": {
|
||||
"drag": true,
|
||||
"zoom": true,
|
||||
"depth": 1,
|
||||
"scale": 1.1,
|
||||
"repelForce": 0.5,
|
||||
"centerForce": 0.3,
|
||||
"linkDistance": 30,
|
||||
"fontSize": 0.6,
|
||||
"opacityScale": 1,
|
||||
"showTags": true,
|
||||
"removeTags": [],
|
||||
"focusOnHover": false,
|
||||
"enableRadial": false
|
||||
},
|
||||
"globalGraph": {
|
||||
"drag": true,
|
||||
"zoom": true,
|
||||
"depth": -1,
|
||||
"scale": 0.9,
|
||||
"repelForce": 0.5,
|
||||
"centerForce": 0.2,
|
||||
"linkDistance": 30,
|
||||
"fontSize": 0.6,
|
||||
"opacityScale": 1,
|
||||
"showTags": true,
|
||||
"removeTags": [],
|
||||
"focusOnHover": true,
|
||||
"enableRadial": true
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"Graph": {
|
||||
"displayName": "Graph",
|
||||
"defaultPosition": "right",
|
||||
"defaultPriority": 10
|
||||
}
|
||||
},
|
||||
"optionSchema": {
|
||||
"localGraph": {
|
||||
"type": "object"
|
||||
},
|
||||
"globalGraph": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue