mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 12:49:04 +08:00
Merge pull request #940 from antvis/fix-minimap-state-20191120
Fix minimap state 20191120
This commit is contained in:
commit
2b8c0fd858
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antv/g6",
|
||||
"version": "3.1.9-beta.1",
|
||||
"version": "3.1.10",
|
||||
"description": "graph visualization frame work",
|
||||
"main": "build/g6.js",
|
||||
"types": "types/index.d.ts",
|
||||
|
@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
version: '3.1.9',
|
||||
version: '3.1.10',
|
||||
rootContainerClassName: 'root-container',
|
||||
nodeContainerClassName: 'node-container',
|
||||
edgeContainerClassName: 'edge-container',
|
||||
|
@ -277,13 +277,13 @@ Shape.registerNode('modelRect', {
|
||||
...fontStyle,
|
||||
y: -5,
|
||||
x: offsetX,
|
||||
text: Util.fittingString(cfg.label, 100, 14)
|
||||
text: cfg.label
|
||||
}
|
||||
});
|
||||
|
||||
group.addShape('text', {
|
||||
attrs: {
|
||||
text: Util.fittingString(cfg.description, 75, 12),
|
||||
text: cfg.description,
|
||||
fontSize: 12,
|
||||
x: offsetX,
|
||||
y: 17,
|
||||
@ -297,7 +297,7 @@ Shape.registerNode('modelRect', {
|
||||
...fontStyle,
|
||||
x: offsetX,
|
||||
y: 7,
|
||||
text: Util.fittingString(cfg.label, 70, 14)
|
||||
text: cfg.label
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user