Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): init table and swimlane #858

Merged
merged 5 commits into from
Apr 29, 2024
Merged

feat(core): init table and swimlane #858

merged 5 commits into from
Apr 29, 2024

Conversation

huanhuanwa
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Apr 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plait ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2024 8:40am
plait-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2024 8:40am

packages/draw/src/interfaces/geometry.ts Show resolved Hide resolved
@@ -71,6 +79,7 @@ export interface PlaitGeometry extends PlaitElement {

angle: number;
opacity: number;
swimlaneId?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果是元素关联泳道那么泳道或者表格的数据结构就不可以包含 relatedIds 了

[FlowchartSymbols.noteSquare]: NoteSquareEngine,
[SwimlaneSymbols.horizontal]: TableEngine,
[SwimlaneSymbols.vertical]: TableEngine,
[SwimlaneSymbols.separatorHorizontal]: SwimlaneSeparatorEngine,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

先不用

shape: SwimlaneSymbols.horizontal;
}

export interface PlaitSwimlaneSeparatorVertical extends PlaitSwimlane {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不需要

}[];
cells: PlaitTableCell[];
groupId?: string;
relatedIds: {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删除

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.

2 participants