Skip to content

chore: sync site to gitee - #5102

Open
lxfu1 wants to merge 7162 commits into
masterfrom
chore/sync-gitee
Open

lxfu1 wants to merge 7162 commits into
masterfrom
chore/sync-gitee

Conversation

@lxfu1

@lxfu1 lxfu1 commented Oct 15, 2026

Copy link
Copy Markdown
Member
  1. 执行 site action 后将官网内容主动推送到 gitee

x6-bot Bot and others added 30 commits July 22, 2025 21:23
docs(license): update copyright year(s)

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: heshenglei <hsl01386768@antgroup.com>
Co-authored-by: heshenglei <hsl01386768@antgroup.com>
* chore: add gh pages actions

* chore: adjust site branch
* docs: remove antv email

* chore: custom-node-width-port -> custom-node-with-port

---------

Co-authored-by: 逍为 <xiaowei.wzw@antgroup.com>
GaoFuhong and others added 28 commits January 29, 2026 18:09
Updated the features list to include support for Angular in customization.
Co-authored-by: 彭硕 <justshuo@foxmail.com>
* fix: select examples new graph load twice

* fix: all examples convert class components to functional components

* fix: fix last commit, delete copy file.

* fix: fix last commit, delete copy file.

* fix: cleanup unused graphRef in examples and fix some type error

* fix: examples/case/dag AlgoNode use React.memo
fix: examples/case/dag &  examples/ports/connected change registerConnector function return Path.normalize to Path.parse().serialize()
fix: examples/connector/xmind-definitions change type Point.PointLike to PointLike

---------

Co-authored-by: 彭硕 <justshuo@foxmail.com>
Co-authored-by: GaoFuhong <43170533+GaoFuhong@users.noreply.github.com>
…backRoute (#5029)

* fix: optimize marker direction when metro router is relegated to fallbackRoute
…omponent unmounted (#5035)

* fix(examples): use graph.dispose() to clean up Keyboard plugin when component unmounted

* fix: ci test error
* fix: clear cache and update edges after renderPorts

* fix: correct type
fix(shape): handle falsy label values in propHooks

Change `if (label)` to `if (label != null)` in Base.propHooks so that
empty string ('') and numeric 0 are correctly propagated to
attrs/text/text instead of being silently dropped.

Closes #3992

Co-authored-by: xueyuan <xueyuan@tode.com>
* docs: fix typos in CONTRIBUTING and update http links to https

* Update CONTRIBUTING.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: xueyuan <xueyuan@tode.com>
Co-authored-by: hustcc <i@hust.cc>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* fix: ci build error

* fix(ci): use Node 22 for pnpm 11.5+ in GitHub Actions

pnpm@latest requires Node >= 22.13 (node:sqlite); CI was failing on Node 20.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: address PR review for rollup plugin order and allowBuilds docs

Reorder Rollup plugins so typescript runs before commonjs per official
guidance. Clarify in pnpm-workspace.yaml that allowBuilds belongs here in pnpm 11.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: fix broken lodash documentation links

* Apply suggestions from code review

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs: use stable lodash merge links

---------

Co-authored-by: xueyuan <xueyuan@tode.com>
Co-authored-by: hustcc <i@hust.cc>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* chore: remove limit size

* chore: update scritps

---------

Co-authored-by: 福晋 <liufu.lf@antgroup.com>
* feat: add port editor plugin

X6 ports are declarative data: position, style and group are written when the node is
created, and only programmatic APIs (addPort / removePort) exist at runtime. Editing
them from the canvas is not possible today, which is what #3887 and #4460 were about.

PortEditor adds the missing editing action:

- add-pin mode: hovering a node outlines the landing spot, a click creates the port there
- the landing spot is projected onto the nearest point of the node outline (arc-length
  sampling + SVG CTM chain), so custom, non-rectangular shapes work as well
- pins are ordinary ports: wiring, graph.toJSON()/fromJSON() and History keep working,
  and one add/remove equals one undo step
- three guards keep the mode contained: body magnets do not start wires, the node cannot
  be dragged, canvas panning is off — all restored item by item when the mode ends

The plugin only needs the public API (graph.use contract, view.can, options.connecting),
so no core change is required.

* test: cover the port editor interaction paths

The first round only exercised the data and state APIs, which left the pointer handling,
the overlays and the Dnd validator uncovered. jsdom lacks every SVG geometry primitive
(getTotalLength / getCTM / getScreenCTM / elementsFromPoint) and renders cell markup one
macrotask late, so the suite arms the real node view with those primitives and then drives
real events: hover preview, click to create, badge removal, Dnd drop, transform tracking
and dispose cleanup. Statement coverage of the plugin goes from 58% to 82%.

* fix(port-editor): address review feedback on cache keys, badge hit area and host config

- interacting: keep a host-level `false` as-is instead of wrapping it in an object, which
  used to re-enable every other interaction `CellView.can()` had switched off.
- outline: key the sample cache on arc length + bbox, so a shape whose perimeter stays the
  same (100x100 -> 150x50) no longer reuses stale samples.
- delete badge: keep it while the pointer crosses the few pixels between the pin and the
  button instead of dropping it before the click can land.
- implement `toggleAdding()`, which the docs have been advertising.
* chore: migrate site to astro

* chore: remove local link

* chore: restore less

* chore: add home updates module

* chore: add demo container border style

---------

Co-authored-by: 福晋 <liufu.lf@antgroup.com>
Co-authored-by: hustcc <i@hust.cc>
fix(common): preserve array paths in object helpers

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.