yzsp-studio/mediakit-shared-suite / ppt
ppt
Unverified飞书幻灯片:创建和编辑幻灯片。创建演示文稿、读取幻灯片内容、管理幻灯片页面(创建、删除、读取、局部替换)。当用户需要创建或编辑幻灯片、读取或修改单个页面时使用。
scripts/svg_relation_lib/schemas/graph.py
View on GitHub"""Graph schema · v2 · basic nodes and edges for supported relation diagrams.
A Graph is nodes + edges. `directed=True` for DAGs and typed graphs.
Edges carry weight/type/label; nodes carry group/type/size/status.
"""
from __future__ import annotations
from dataclasses import dataclass, field
from typing import Any, Dict, List
@dataclass
class Node:
id: str = ""
label: str = ""
# attribute channels
group: str = "" # Category
type: str = "" # Typed node category
status: str = "" # Status marker
size: float = 0.0 # Size
weight: float = 0.0
highlight: bool = False
role: str = "" # optional layout role
# supplemental
sublabel: str = ""
detail: str = ""
x: float = 0.0 # optional manual XY
y: float = 0.0
extra: Dict[str, Any] = field(default_factory=dict)
@dataclass
class Edge:
src: str = ""
dst: str = ""
label: str = ""
directed: bool = True
weight: float = 1.0 # Weighted
type: str = "" # Typed
group: str = ""
status: str = ""
highlight: bool = False
extra: Dict[str, Any] = field(default_factory=dict)
@dataclass
class Graph:
nodes: List[Node] = field(default_factory=list)
edges: List[Edge] = field(default_factory=list)
directed: bool = True
# chrome
figure_title: str = ""
figure_caption: str = ""
source: str = ""
encoding_note: str = ""
kicker: str = ""
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |