Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Expose summary mode (VizOptions::summary) in the CLI and Python binding

未关闭
#5 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
68/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python, rust, wasm
领域
api, cli

调研方向

Start with the sysmlv2 viz CLI entry point, Session.to_plantuml(...), and VizOptions::summary in the sysmlv2-viz crate; compare them with the existing WebAssembly controls. Expose summary mode and its member/note limits in both interfaces, or document the deliberate limitation in the CLI and Python docs. Done means users can reach the mode outside WebAssembly or clearly understand why they cannot.

由索引模型根据 Issue 内容生成。

描述

Summary

The v0.9.1 CHANGELOG lists "summary mode for large tree graphs," but it isn't reachable from either the sysmlv2 CLI or the Python binding.

Version: sysml-toolkit v0.9.1.

Observed

VizOptions::summary exists in the sysmlv2-viz crate and is exposed in the WebAssembly controls, but:

  • sysmlv2 viz has no CLI flag for it.
  • Session.to_plantuml(...) (Python) takes no such argument.

Request

Expose the summary mode, and its member/note limit configuration, in the CLI (sysmlv2 viz) and in the Python binding (Session.to_plantuml) — or, if this is deliberately WebAssembly/library-only for now, a note in the CLI/Python docs saying so would save the next person the same search we just did.

Why it matters to us

We render large assembled models (many implicit + explicit parts) as diagrams for a tutorial, and summary mode's collapsed-container-with-hidden-counts behavior is exactly the shape we need to keep those diagrams legible without hand-curating what's shown. Right now we can't reach it outside the browser-embedded WebAssembly path.

主要语言
Rust
星标
23
派生
3
平均合并
9 分钟
30 天内合并 PR
3

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Open-MBEE/sysml-toolkit 的其他 Issue

查看 Open-MBEE/sysml-toolkit 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。