GG修改器破解版下载地址:https://ghb2023zs.bj.bcebos.com/gg/xgq/ggxgq?GGXGQ
大家好,今天小编为大家分享关于gg修改器框架免root无病毒_GG免root框架修改器的内容,赶快来一起来看看吧。
在过往文章中就介绍过不少阿里的开源项目,而且大多数都是及其优秀的,为广大开发者同仁们提供了现成的解决方案,今天这篇文章也一样,GGEditor 基于 Antv G6 与 React,提供流程图、脑图、拓扑图的可视化编辑能力。不用质疑过GGEditor 的项目名,其实 GGEditor 的全称是 Great Graphic Editor,是不是突然感觉上高大上了不少,让我们一起来见识一下!
https:///alibaba/GGEditor
npm install –save gg-editor
import GGEditor, { Flow } from ’gg-editor’;
const data = {
nodes: [{
type: ’node’,
size: ’70*70’,
shape: ’flow-circle’,
color: ’#FA8C16’,
label: ’起止节点’,
x: 55,
y: 55,
id: ’ea1184e8’,
index: 0,
}, {
type: ’node’,
size: ’70*70’,
shape: ’flow-circle’,
color: ’#FA8C16’,
label: ’结束节点’,
x: 55,
y: 255,
id: ’481fbb1a’,
index: 2,
}],
edges: [{
source: ’ea1184e8’,
sourceAnchor: 2,
target: ’481fbb1a’,
targetAnchor: 0,
id: ’7989ac70’,
index: 1,
}],
};
<GGEditor>
<Flow style={{ width: 500, height: 500 }} data={data} />
</GGEditor>
import GGEditor, { Mind } from ’gg-editor’;
const data = {
roots: [{
label: ’中心主题’,
children: [{
label: ’分支主题 1’,
}, {
label: ’分支主题 2’,
}, {
label: ’分支主题 3’,
}],
}],
};
<GGEditor>
<Mind style={{ width: 500, height: 500 }} data={data} />
</GGEditor>
不指定宽高的情况下则自动适应容器尺寸
import GGEditor, { Flow, Minimap } from ’gg-editor’;
<GGEditor>
<Flow />
<Minimap width={200} height={200} />
</GGEditor>
此组件只能嵌套在 <Toolbar /> 或 <ContextMenu /> 组件内使用:
import GGEditor, { Flow, Command, Toolbar, ContextMenu } from ’gg-editor’;
<GGEditor>
<Flow />
<Toolbar>
<Command name=”undo”>撤销</Command>
<Command name=”redo”>重做</Command>
</Toolbar>
<ContextMenu>
<Command name=”undo”>撤销</Command>
<Command name=”redo”>重做</Command>
</ContextMenu>
</GGEditor>
右键菜单,负责菜单显示隐藏,命令按钮绑定与可用禁用状态控制。必需配合 <Command /> 组件使用。自动根据不同页面状态显示对应菜单,例如:选中节点时则只会显示 NodeMenu。
import GGEditor, {
Flow,
Command,
ContextMenu,
NodeMenu,
EdgeMenu,
GroupMenu,
MultiMenu,
CanvasMenu,
} from ’gg-editor’;
<GGEditor>
<Flow />
<ContextMenu>
<NodeMenu> // 节点右键菜单
<Command name=”copy”>复制</Command>
<Command name=”delete”>删除</Command>
</NodeMenu>
<EdgeMenu /> // 边线右键菜单
<GroupMenu /> // 群组右键菜单
<MultiMenu /> // 多选右键菜单
<CanvasMenu /> // 画布右键菜单
</ContextMenu>
</GGEditor>
工具栏,负责命令按钮绑定与可用禁用状态控制。必需配合 <Command /> 组件使用
import GGEditor, { Flow, Command, Toolbar } from ’gg-editor’;
<GGEditor>
<Flow />
<Toolbar>
<Command name=”undo”>撤销</Command>
<Command name=”redo”>重做</Command>
</Toolbar>
</GGEditor>
必需配合 <Item /> 组件使用,如果 <Item /> 包含 src 属性则自动显示元素概览图片。
import GGEditor, { Flow, Item, ItemPanel } from ’gg-editor’;
<GGEditor>
<Flow />
<ItemPanel>
<Item
type=”node”
size=”72*72″
shape=”flow-circle”
model={{
color: ’#FA8C16’,
label: ’起止节点’,
}}
src=”https://gw./zos/rmsportal/ZnPxbVjKYADMYxkTQXRi.svg”
/>
</ItemPanel>
</GGEditor>
属性栏会自动根据不同页面状态显示对应面板,例如:选中节点时则只会显示 NodePanel。
import GGEditor, {
Flow,
DetailPanel,
NodePanel,
EdgePanel,
GroupPanel,
MultiPanel,
CanvasPanel,
} from ’gg-editor’;
<GGEditor>
<Flow />
<DetailPanel>
<NodePanel> // 节点属性面板
<NodeDetail />
</NodePanel>
<EdgePanel /> // 边线属性面板
<GroupPanel /> // 群组属性面板
<MultiPanel /> // 多选属性面板
<CanvasPanel /> // 画布属性面板
</DetailPanel>
</GGEditor>
class NodeDetail extends React.Component {
render() {
console.log(’this.props’, this.props);
}
}
以上是部分代码示例,详细API请移步Github
GGEditor是一个非常值得尝试的Web产品,用过阿里语雀的文档就知道,其中非常丰富的插件就有很多类似的产品,如果你也有这样的需求项目,那么它对你来说我相信是足够有吸引力的,如果有需要可以尝试使用!
以上就是关于gg修改器框架免root无病毒_GG免root框架修改器的全部内容,感谢大家的浏览观看,如果你喜欢本站的文章可以CTRL+D收藏哦。
gg游戏修改器下载好慢,介绍GG游戏修改器 大小:11.69MB7,486人安装 GG游戏修改器是一款非常好用的游戏修改工具,在许多游戏玩家中拥有广泛的口碑与应用……
下载猫咪大战争gg修改器下载中文_猫咪大战争gg修改器下载9.91 大小:15.20MB8,768人安装 大家好,今天小编为大家分享关于猫咪大战争gg修改器下载中文_猫咪大战争gg修改器下……
下载gg修改器root权限,gg修改器root权限:让你在游戏中畅游无阻 大小:19.92MB7,375人安装 现在,越来越多的玩家已经开始关注Root权限下的修改器,这使得游戏玩家在游戏中获得……
下载gg游戏修改器加速教程,感受GG游戏修改器的神奇加速 大小:16.59MB7,817人安装 电脑游戏中,卡顿、掉帧等问题一直是玩家们的痛点之一。为了解决这个问题,有很多加……
下载gg修改器美化包最新图片,GG修改器美化包最新图片: 让你的游戏更加美丽 大小:10.16MB7,486人安装 作为一名游戏玩家,我们都追求着最佳的游戏体验。GG修改器美化包就是让你的游戏更加……
下载gg修改器免root框架使用,高效易用的gg修改器免root框架 大小:15.36MB7,705人安装 在手机游戏中,不少玩家希望拥有更好的游戏体验,比如可以获得更多游戏币、道具、经……
下载gg修改器最新版教程视频,什么是GG修改器? 大小:13.22MB7,301人安装 GG修改器最新版教程视频:让你的游戏更加精彩 GG修改器是一款非常实用的游戏修改软……
下载gg修改器下载中文最新,gg修改器下载中文最新-革新游戏体验 大小:4.71MB7,661人安装 作为玩家,我们总是在寻找能够提高游戏过程的方法。gg修改器下载中文最新版就是其中……
下载gg修改器中文版下载6,GG修改器中文版下载6:一款众所周知的强大游戏工具 大小:10.48MB7,657人安装 在这个充满竞争和不确定性的游戏领域,只有那些真正有实力的工具才有可能在迅速变化……
下载新世界狂欢gg修改器最新版,新世界狂欢gg修改器最新版:游戏欢乐无限,玩家畅所欲言 大小:11.37MB7,819人安装 随着网络游戏的普及,各种游戏工具也日益增多,其中最受欢迎之一的莫过于gg修改器了……
下载