What's Changed
- Features/extension by @sealoyal2018 in #30
- New Documentation and new graphic ( desing ) features by @NoachDev in #31
Pub v2.1.0
-
doc: the first complete documentation for using the markdown format. Contributed by @NoachDev #31
首份完整的markdown格式的使用文档
-
4 feats contributed by @NoachDev #31
- A new vertex shape for the graph:
VertexDiamondShape(8f42cca) - Individually scalable vertex sizes
- Solid colors
- Scalable loop arc edges
- A new vertex shape for the graph:
-
1 fix and 1 feat contributed by @sealoyal #30
- fix: edge self connection cannot apply edge decorator.
边自连接无法应用边装饰器
- feat: a new edge decorator for label support.
新增边标签显示装饰器
options ..edgeShape = EdgeLineShape( decorators: [ LabelEdgeDecorator(), ], )
- fix: edge self connection cannot apply edge decorator.
-
feat: support obtaining the center position of edges.
-
feat: support for setting the edge text renderer.
支持设置边的文本内容及渲染器
options ..edgeTextGetter = (e) {// default to e.ranking return '${e.ranking}'; } ..edgeShape = EdgeLineShape( textRenderer: EdgeTextRendererImpl(), )
Pub v2.0.2+1
- fix: the issue of incorrect rendering when calling
setStatefrom the outside修复从外部setState时无法正常渲染的问题
- fix: the issue where the data panel is still initialized even if the vertex is not
tapUp修复当节点未点击,但数据面板依然被初始化的问题
Pub 2.0.2
- feat: in the
VertexShape, add new callback functions onLoad, onDrag, onPointerUp, and onPointerDown.在实现
VertexShape时,增加onLoad、onDrag、onPointerUp、onPointerDown回调以实现个性化的事件响应。 - fix: the text wrapping issue in
VertexTextRendererImpl修复
VertexTextRendererImpl段落长度与实际文本长度不符导致换行的问题。
Pub 2.0.1
- deprecated: DreatheDecorator
废弃节点上下浮动的呼吸特效
- feat: Ensure that the graph object is not null and supports external specification.
确保 graph 对象不为空,且支持从外部指定
Pub v2.0.0
- perf: remove duplicate method calls.
针对 ForceDecorator 的子类,移除
super.compute避免重复执行 - refac: replace flame with canvas
使用原生画布来替代 flame
Warning(注意事项)
Due to the destructive changes made to most APIs that are incompatible with 1.x, please upgrade from 1.x with caution. However, if there are performance issues due to excessive data volume in the project, please do not hesitate to upgrade to 2.x, even if it requires a certain amount of work.
由于多数 API 产生了破坏性的改动,与 1.x 不兼容,请谨慎从 1.x 中升级,但如果项目中因数据量过大,遇到了性能问题,请毫不犹豫升级到 2.x,即使需要一定工作量。
Pub v1.2.1
- feat: add a decorator for counting
新增一个计数用的装饰器
- fix: the issue of font and size not displaying properly.
修复字体跟字号无法正常显示的问题
New Contributors
- @sealoyal2018 made their first contribution in #30
- @NoachDev made their first contribution in #31
Full Changelog: v1.2.0...2.1.0