Skip to content

v0.3.1

Choose a tag to compare

@harumiWeb harumiWeb released this 28 Dec 10:39
· 428 commits to main since this release
ea60a35

v0.3.1 Release Notes

This release adds SmartArt extraction and updates shape modeling to better
separate standard shapes, arrows, and SmartArt structures.

Highlights

  • SmartArt extraction via Excel COM, including layout name and nested nodes.
  • Shape modeling split into Shape, Arrow, and SmartArt for clearer semantics.
  • SmartArt node payload optimized for compact output (layout, nodes, kids).

Compatibility Notes

  • Shape.type now exists only on Shape; it is omitted for Arrow and SmartArt.
  • SmartArt output uses layout and nodes with kids; previous fields like
    layout_name, roots, or children are no longer present.

Sample

  • material
    スクリーンショット 2025-12-28 192940

  • ExStruct JSON

    {
      "book_name": "sample_smartart.xlsx",
      "sheets": {
        "Sheet1": {
          "shapes": [
            {
              "id": 1,
              "l": 0,
              "t": 28,
              "kind": "smartart",
              "layout": "基本の循環",
              "nodes": [
                { "text": "1", "kids": [{ "text": "要件定義" }] },
                { "text": "2", "kids": [{ "text": "報連相" }, { "text": "開発" }] },
                {
                  "text": "3",
                  "kids": [{ "text": "実装確認" }, { "text": "動作確認" }]
                },
                { "text": "4", "kids": [{ "text": "対策" }] },
                { "text": "5", "kids": [{ "text": "最終確認" }] }
              ]
            },
            {
              "id": 2,
              "l": 388,
              "t": 32,
              "kind": "smartart",
              "layout": "開始点強調型プロセス",
              "nodes": [
                { "text": "企画" },
                { "text": "執筆" },
                { "text": "編集" },
                { "text": "制作" },
                { "text": "校正" }
              ]
            },
            {
              "id": 3,
              "l": 46,
              "t": 325,
              "kind": "smartart",
              "layout": "組織図",
              "nodes": [
                {
                  "text": "取締役会",
                  "kids": [
                    {
                      "text": "社長",
                      "kids": [
                        { "text": "企画管理部" },
                        {
                          "text": "営業部",
                          "kids": [
                            { "text": "第1営業課" },
                            { "text": "第2営業課" },
                            { "text": "第3営業課" },
                            { "text": "海外営業課" }
                          ]
                        },
                        {
                          "text": "開発部",
                          "kids": [{ "text": "第1開発課" }, { "text": "第2開発課" }]
                        },
                        {
                          "text": "技術部",
                          "kids": [{ "text": "第1技術課" }, { "text": "第2技術課" }]
                        },
                        {
                          "text": "生産部",
                          "kids": [
                            { "text": "愛知工場" },
                            { "text": "山形工場" },
                            { "text": "高知工場" }
                          ]
                        },
                        {
                          "text": "総務部",
                          "kids": [
                            { "text": "総務課" },
                            { "text": "人事課" },
                            { "text": "経理課" }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      }
    }
  • LLM inference results

    # 📘 sample_smartart.xlsx
    
    ## 1. 基本の循環(SmartArt)
    
    - **1**
      - 要件定義
    - **2**
      - 報連相
      - 開発
    - **3**
      - 実装確認
      - 動作確認
    - **4**
      - 対策
    - **5**
      - 最終確認
    
    ---
    
    ## 2. 開始点強調型プロセス(SmartArt)
    
    1. 企画
    2. 執筆
    3. 編集
    4. 制作
    5. 校正
    
    ```mermaid
    flowchart LR
        B1["企画"] --> B2["執筆"] --> B3["編集"] --> B4["制作"] --> B5["校正"]
    ```
    
    ---
    
    ## 3. 組織図(SmartArt)
    
    - **取締役会**
      - **社長**
        - 企画管理部
        - 営業部
          - 第 1 営業課
          - 第 2 営業課
          - 第 3 営業課
          - 海外営業課
        - 開発部
          - 第 1 開発課
          - 第 2 開発課
        - 技術部
          - 第 1 技術課
          - 第 2 技術課
        - 生産部
          - 愛知工場
          - 山形工場
          - 高知工場
        - 総務部
          - 総務課
          - 人事課
          - 経理課
    
    ```mermaid
    flowchart TB
        T["取締役会"]
        P["社長"]
    
        T --> P
    
        P --> K1["企画管理部"]
    
        P --> E["営業部"]
            E --> E1["第1営業課"]
            E --> E2["第2営業課"]
            E --> E3["第3営業課"]
            E --> E4["海外営業課"]
    
        P --> D["開発部"]
            D --> D1["第1開発課"]
            D --> D2["第2開発課"]
    
        P --> G["技術部"]
            G --> G1["第1技術課"]
            G --> G2["第2技術課"]
    
        P --> S["生産部"]
            S --> S1["愛知工場"]
            S --> S2["山形工場"]
            S --> S3["高知工場"]
    
        P --> A["総務部"]
            A --> A1["総務課"]
            A --> A2["人事課"]
            A --> A3["経理課"]
    ```