完善建模交互与结果曲线功能

支持元件接口接触吸附、旋转后兼容连接及无连线逻辑边。

完善 AMESim 图标显示、参数双栏、结果曲线待定窗口及相关端到端测试。
This commit is contained in:
ljz committed 2026-08-02 17:31:28 +08:00
1 parent 410ef535e8
commit 503394f3ed
10 files changed
+2542 -389

No files matched your search

+9
View File
@@ -2,6 +2,15 @@ import type { ReactNode } from "react";
export type ComponentSymbolPresentation = "framed" | "bare";
export type ComponentSymbolPortAnchor = {
x: number;
y: number;
};
export type ComponentSymbolPortAnchors = Partial<
Record<"left" | "right", readonly ComponentSymbolPortAnchor[]>
>;
export type SymbolDefinition = {
presentation: ComponentSymbolPresentation;
render: () => ReactNode;