v2.19.0 [Deprecated]
2.19.0 (2025-10-20)
Bug Fixes
exportPNGnot display image markup (#4672) (3bd73a2)- If the starting or ending point is the same as the intersection… (#4279) (0bbff8f)
- 🐛 char ghosting when edit text (#2560) (#3043) (15284e7)
- "pnpm run build:watch" 在windows下无法正常运行 (#3888) (9823c7e)
- $stencil: compact mode Cannot add odd nodes (#3647) (9684766), closes #3535
- 浮点数精度丢失导致画布缩放卡死 (#4356) (78179da)
- 修复 Angular 组件内部无法使用外部服务的问题 (#4267) (3bb9bee)
- 修复 Angular Component 节点被移除时没有触发销毁的生命周期 (#3826) (8cf1ed4)
- 修复示例中react组件渲染报错的问题 (#4673) (7d434e6)
- 修正画布配置 onEdgeLabelRendered 类型使用问题并且完善文档说明 (#4691) (3eda631)
- add createView options (#3075) (96010e3)
- add defense for view in transform plugin (#3092) (fb8098c)
- add dependencies for x6-devtools (#3381) (37515c4)
- add excludeShapes options for manhattan router (#3334) (c76a23b)
- add execute permission (5cd3809)
- add getGraph provide (#3072) (a98e97d)
- add judgment for edge view (#3282) (946582c)
- add key for portal to avoid rerender (#4183) (5ebb6d3)
- add missing script for building style (e683155)
- add padding options for position api (#3225) (8fada57)
- add tests for geometry (#4728) (e1d6ed0)
- add textLength & lengthAdjust to CASE_SENSITIVE_ATTR (#3281) (76fb1ac)
- add timeout to wait target node is connected (#3392) (adc06ad)
- arrowhead not get options bug (#3065) (3b668fe)
- avoid access document or window in server side (#4101) (31be706)
- bind dragstart after add group (#4131) (8030621)
- bind minimap plugin to graph without scroller (#4167) (f6475ac)
- broken file (d6df2d5)
- bump rule (c9559f2)
- cache auto generated style file (ffbaec3)
- cancel debounce update for scroller plugin (#3027) (abeb009)
- cannot be invoked without new (#3296) (7656b38)
- cannot read properties of undefined when unmount vue component (#3024) (187e318)
- Cannot use "this" here: #2824 (#2855) (10347d0)
- change dragging container options (#3139) (7b091f3)
- change update prioriy in render (#3740) (ce15fba)
- check labelNode existed before change postion (#3737) (90324fc)
- clear old background when background enabled in background (#3192) (17b36e2)
- codecov (7a7f9b7)
- commit message E2BIG (a2c5f9e)
- commit message for release (e05aa85)
- confirm viewitem exist (#3357) (8b1f661)
- consider transform when calc bbox (#3770) (8ecfc86)
- correct boundary tool position when setting local to true (#4820) (7afea2c)
- correct button tool position when setting local to true (#4817) (3f7b72b)
- create empty 'releasing' file for pr (9f0f782)
- debounce update to improve performance (#3061) (9e37ea9)
- deep clone instead of shallow clone (#2924) (75f4297)
- delete return selection (#4026) (0178e48)
- deps version (2aff4b4)
- destroy custom label before render (#4146) (281209a)
- do not exec gh-pages deploy on pull_request (#4687) (bdfdadd)
- doc incorrect text (#3862) (b5cc1dc)
- doc path in .dumirc.ts (#4699) (440781e)
- dom matrix tests (#4721) (ef0089c)
- dom.data support custom object (#2954) (c350371)
- don't dispose graph view (#4023) (3141593)
- don't hide when click on color picker (#3172) (cae8625)
- donot empty text when only has title elem (#3248) (9ccda3e)
- edge does not display the label after setting the label and text… (#3896) (09a2c14), closes #3892
- edge editor text invalid when configuring the arrowhead (#4801) (863d569)
- edge rendering correct label attrs (#4177) (e399da4)
- ensure the container in html view (#3196) (3a59703)
- error -> ETXTBSY: text file is busy (814e0dd)
- export 插件导出自定义组件样式失效 (#4814) (f47eceb)
- export snap methods from snapline (#2904) (826ccdd)
- export toJpeg methods in export plugin (#2974) (f920d5a)
- extra offset may occur when reverse selecting in Selection plugin (#4812) (c4b382c)
- fix ci error (1da0842)
- fix editor-tool for edge (#3308) (a3aa2a0)
- fix error usage of parseInt (#3455) (506ab14)
- fix index error for priorityQueue (#3179) (d64150b)
- fix invalid history on vertices tool (#3765) (bc81583)
- fix scroller options typo (#3224) (1096bf1)
- fix some examples errors (#4773) (fe46148)
- fix transitionToPoint call error (#3763) (3b8dfcf)
- fix typo for dom event handlers (#3255) (9b4fa86)
- fix window incompatibility problem (#3070) (d8e1e63)
- force bump to 2.0 (ae7ad05)
- format keyboard arrow codes to Mousetrap special codes (#4065) (#4080) (4641d39)
- get correct center when zoom (#2934) (557d2df)
- get correct clipboard content when useLocalStorage enabed (#3189) (bcf3380)
- get graph from right place (#3078) (844ee5f)
- get wrong anchor when a node is invisible (#4313) (c5d19fd)
- Group: add Condition:Embeds the edge if source and target are not same (#3659) (e08c3a9)
- guard parameter does not match the type (#3779) (79eb308)
- hide elems when visible is false (#3007) (057d520)
- hotfix #3351 error when call resetViews (#3356) (d72ff80)
- input required and not supplied: GITHUB_TOKEN (e0e7e2d)
- install deps (105657d)
- judge interacting after remove tools (#3933) (90004ee)
- leading reset render area when init (#3272) (9138978)
- make resizing options take effect (#3014) (604c024)
- memory leak of graph view dispose(introduce by #4023) (#4114) (8d0a850)
- mindmap demo duplicate node id, close #3256 (#3257) (c510756)
- mindmap demo: can not find target id when create edge (#3144) (bfc8d7f)
- mock mouseenter and mouseleave event (#3481) (ffa0431)
- modify the semantics of filter (#2927) (bc261fb)
- not consider transform when get bbox (#3878) (548288c)
- not trigger keyboard event whith delete key in contenteditable elem (#2965) (4978110)
- npm version (cb0cfde)
- optimize css loader (#3156) (9c48ad8)
- optimize dispoese minimap (#3950) (4dc74f1)
- optimize rendering logic to prevent loops (#3108) (45337e4)
- optimize snapToGrid options for manhattan (#3071) (30c2ed2)
- optimize typo for react-shape (#2870) (86412e2)
- paning mousewheel (#4035) (33152c3)
- panning cursor not match the behavior (#4671) (aab04f7)
- parseint zindex to get correct max zindex node (#3413) (8f20c66)
- plugin-dnd horizontal scroll compatibility (#3912) (#3913) (264e1e4)
- plugin-export API exportjpeg exports are PNG images (#4238) (c3b02e5)
- plugin-selection unmatch after scale graph (#3907) (#3918) (678883f)
- plugin:export: it should have default value 'true' through doc (#4111) (75e1ee9)
- prevent highlighting new edge (#3170) (bd30f7f)
- recoginze dirty flag on undefined attr (#3951) (5a4169a)
- refactor example (#2831) (3d8f005)
- regex for excluding coverage (16b6c89)
- registry tools is not available (#4799) (79abd8a)
- remove connection strategy option (#3456) (ba370df)
- remove editor before added (#3504) (0b1e0c7)
- remove lint error (#2979) (05d1fe3)
- remove unused type (#3457) (5edfc88)
- remove useless repo url (2f92e33)
- remove x6-common and x6-geometry deps (#2830) (5b5f5aa)
- render edge when source or target in render area (#3730) (fb10ef0)
- render react shape in dnd graph (#2970) (6a81805)
- render vue shape in minimap with same cellid when using teleport (#2949) (b055515)
- replace children prop to childNodes (#3645) (075f540)
- reset all views when fromjson (#3346) (1de8ebe)
- reset factor when calc factor is 1 (#3658) (ebee229)
- reset undefined attrs when undo (#3526) (e071905)
- resize graph when scale scroller (#2903) (cee4aa4)
- same cell id when using portal #2949 (#3591) (876e8b9)
- scale event parameters always 0 (#4824) (0e307fe)
- schedule edge when source and target is not ready (#3090) (019333d)
- scheduler: remove spammy console.log (#3200) (1f83a2b)
- select node with transform (#4830) (6be7b27)
- set correct scroller options (#3195) (45218c3)
- set snapToGrid to false by default (#3066) (e2bb71d)
- set some function to own attrs (#3726) (37e8c22)
- setText and getText support string (#3586) (01bb810)
- should checkout repo (3b06106)
- should keep latest releases (b27dbc0)
- site actions (#4682) (d0e3a0f)
- snap anchor should be optional (#4152) (cf4cf1f)
- solve x6-examples-features startup error (#4726) (750dcfc)
- stop listener event when transform dispose (#3934) (331a4f3)
- stop propagation when click menu item (#3147) (90dad14)
- subtract draggingContainer offset when position (#3953) (1c2d637)
- support antd5 in react components (#2933) (2ecc213)
- support cancel editor no mobile (#3968) (e6da6fb)
- support react 17 (#2968) (94f9042)
- sync render tools (#3780) (7c25418)
- sync render when change position (#2860) (2194769)
- the `uses' attribute must be a path, a Docker image, or owner/repo@ref (4f4d437)
- the multi-entity issue caused by Vite deps (#4780) (0df719e)
- The select box does not follow the mouse as you drag to move it (#4233) (eb45fbe)
- throw error when render edge without terminal (#3331) (a1d8642)
- toJSON({ diff: true })没有达到预期效果 #4297 (#4299) (a431f52)
- transform active-handle class should remove when active removed (#3298) (709a141)
- trigger click event when click edge with vertices tool (#3895) (f84f7f0)
- trigger dblclick event only one time (#3577) (aa65bfa)
- trigger preventDefault by origin event (#3017) (4a6a634)
- trigger transform knob after click node (#2956) (d903e5a)
- ts error (#4785) (e90f305)
- type errors (5472504)
- type of
moveThresholdshould benumber(#3450) (9fa0f84) - undo crash when attr is null (#3569) (35aa68b)
- unembed edge only when have new parent (#3773) (a6c4509)
- unique cmd file name (da18f12)
- updae react-resize-detector version (#2930) (d6ae519)
- update group even group is empty (#3117) (6abd068)
- update react type version (#2937) (d4df46a)
- updateCellId api bug (#3816) (dbd0219)
- use
dom-alignto position dnd container (#3978) (#3979) (2d3b365) - use geometry in selection box (#2992) (1fb2d83)
- vue-shape: remove deprecated
Vuefrom import (#4099) (fa66d3a) - vue-shape: vue-shape's teleport is only registered once (#4500) (e5211f7)
- website run failed (#4777) (46d310e)
- widget ouside graph, close #3595 (#3597) (9a8fa8a)
- x6 common deps (#3404) (5d4c599)
chore
- bump to 2.0 (04cd9de)
- bump to 2.0 (94af7fa)
- bump to 2.0 (ecffe1a)
- bump to 2.0 (1ffafce)
- bump to 2.0 (8638d43)
- bump to 2.0 (0e258d0)
- force bump to 2.0.0 (0cab334)
- force release 2.0-beta (af8c588)
- release beta (b5f3cfa)
- update deps (1283b74)
Documentation
Features
- ✨ add history plugin (#2819) (fd8d384)
- ✨ add minimap plugin (6cdecbb)
- ✨ add stencil plugin (#2815) (4e1fb7b)
- ✨ add transform plugin (#2818) (660e2d7)
- ✨ export common and geometry in x6 package (#2820) (df28200)
- 修改文档错别字 (#3788) (c42a69e)
- 支持自定义节点/边的唯一标识 #4442 (#4444) (941b89e)
- add collaboration demo (12ca0e1)
- add data processing dag example (#3091) (d3301d3)
- add exportSVG methods (#2906) (847f225)
- add modifiers for vertices tool (#3778) (a00f06c)
- add multiple handles for segments (#4796) (231aaeb)
- add options for positionCell api (#3208) (58c0fe4)
- add plugin export example (#4811) (70e140c)
- add port events (#3185) (3265fe5)
- add render:done event (#3919) (016a2be)
- add rss command to run sharable scripts (4a45fa7)
- add rss command to run sharable scripts (65764be)
- add snapToGrid options for manhattan router (#3062) (824560d)
- add updateNode/updateEdge API #3235 (#3239) (04656f3)
- add view:mounted and view:unmounted event (#3307) (a30b663)
- add virtual render with scroller plugin (#4815) (bdea20d)
- add xflow docs (#4171) (d700d00)
- adjust event source and package deps (#2826) (a1bdb18)
- after a node moved, auto offset when it overlaps with other nodes (#4625) (a036572)
- allow calculate distance by bbox when snap to node (#4126) (8169d42)
- attach plugin api and events to grpah instance (#2864) (774f547)
- breakText method support line wrapping text (#3910) (f3efd68)
- call coveralls (6b96f12)
- change manifest for submit to chrome web store (#3552) (0bd4429)
- create branch for auto release (95d3b5d)
- createWidget and clearWidget (#3337) (4b1a0f8)
- devtool show plugin (#3373) (68e3ef1)
- export options types (9488c04)
- force release 2.0-beta (6987d9c)
- fromjson supports incremental updates (#4802) (26b9540)
- history add max stack size (#3253) (fba5310)
- keyboard support clear and custom trigger (#3202) (668c932)
- node-editor新增width和height配置 (#3827) (9cc7737)
- panning modifiers add space (#4166) (fe3b7ac)
- selection's pointerEvents support function type (#4067) (6decb75)
- support closest connection strategy (#3447) (fb3535d)
- support angular shape for 2.x (#3278) (38bdf65)
- support both mouse selection with the left mouse button and panning with the middle mouse button in the graph (#3965) (cabfa0b)
- support render simple view in minimap (#3453) (b2e1315)
- support turbo (1da55bf)
- supports dynamic modification of groups and nodes in stencil (#3767) (ccc7755)
- sync some commit from v1 (#2851) (a772025)
- trigger auto release on auto-release branch (9377ddc)
- upgrade react to 18 in react-components (#2836) (5138562)
- x6-vue-shape supports getting nodes and graph in the props (#3761) (ab255df)
Performance Improvements
- update deps (f20127a)
Reverts
- Revert "refactor: remove namespace of registry/tool and update its de… (#4794) (2f42e4c), closes #4794 #4767
BREAKING CHANGES
- for bump packages/x6-vue-shape to 2.0
- dump to 2.0
- bump to 2.0
- bump to 2.0
- bump to 2.0
- bump to 2.0
- bump to 2.0
- bump version
- force bump to 2.0
- bump to 2.0
- force bump to 2.0.0
- force release 2.0-beta
- force release 2.0-beta
- force release 2.0-beta
- 2.0-beta