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手机游戏修改器教程: 突破游戏限制的必备神器 大小:12.20MB7,235人安装 在如今蓬勃发展的手机游戏市场,游戏的娱乐性越来越受到人们的追捧。然而,许多游戏……
下载gg修改器中文怎么弄_gg修改器中文版使用 大小:13.37MB8,607人安装 大家好,今天小编为大家分享关于gg修改器中文怎么弄_gg修改器中文版使用的内容,赶……
下载gg修改器脚本下载中文,强大的GG修改器脚本,让游戏更加好玩 大小:3.11MB7,330人安装 近年来,随着网络游戏的普及,越来越多的人开始喜欢玩游戏。在玩游戏的过程中,有时……
下载无可取代gg修改器,除了gg修改器 大小:7.54MB7,682人安装 我托太阳给你送去第一缕阳光的温暖和祝福,愿整个春天你都有一个好心情! 大家好,今……
下载gg修改器怎么调成中文,gg修改器下载中文怎么用? 大小:4.33MB8,565人安装 gg修改器汉化版(免root)是一款非常实用的手游修改器,这款软件可以帮助手游玩家修改……
下载GG修改器最新版无root,GG修改器最新版无root 真的那么牛? 大小:3.28MB7,304人安装 如果你经常玩手游,你一定知道GG修改器,那么你是否尝试过最新版无root版本的GG修改……
下载gg修改器免root版老版本,GG修改器免root版老版本-打破游戏限制的神器 大小:7.93MB7,594人安装 对于很多热门游戏,玩家都会遇到一些限制,比如需要充值才能获得更多资源才能提升角……
下载gg修改器怎么变成中文,GG修改器可以改什么游戏 大小:11.83MB8,529人安装 V101.1 | 19.72MB ……
下载gg修改器手机要不要root,使用GG修改器手机,让你摆脱限制 大小:18.43MB7,504人安装 在手机游戏中,我们常常会遇到各种限制。例如,游戏内购买的虚拟物品需要花费大量金……
下载gg修改器中文最新版_gg修改器官方中文版 大小:18.19MB8,470人安装 大家好,今天小编为大家分享关于gg修改器中文最新版_gg修改器官方中文版的内容,赶……
下载