{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "bybit-exchange-svg-diagram--draw-cjk-labelled-sequence-diagram",
 "repo": "bybit-exchange/svg-diagram",
 "repo_url": "https://github.com/bybit-exchange/svg-diagram",
 "repo_slug": "bybit-exchange-svg-diagram",
 "title": "Draw a sequence or data-flow diagram with CJK labels",
 "page_title": "How to draw a sequence or data-flow diagram with CJK labels with SVG Diagram",
 "summary": "Get an agent to size Chinese, Japanese or Korean labels correctly so text stays inside its boxes.",
 "who": "A technical writer producing a document with CJK labels who needs a sequence or data-flow diagram that does not overflow.",
 "problem": "CJK characters are wider than Latin ones, so labels sized by eye overflow boxes or fall back to missing glyphs on Linux.",
 "outcome": "An SVG sequence or data-flow diagram whose CJK labels are sized from the CJK width column and pass the lint checks.",
 "steps": [
  "Run `npx skills add bybit-exchange/svg-diagram -g` to install the skill.",
  "Ask your agent for a sequence or data-flow diagram of <process> with labels in the target language.",
  "Run `node ~/.claude/skills/svg-diagram/tools/svg-lint/bin/svg-lint.mjs diagram.svg` and check the text overflow and font-stack findings.",
  "Open the rendered file on the platform your readers use and confirm the CJK text is legible."
 ],
 "agent_prompt": "Using the svg-diagram skill from bybit-exchange/svg-diagram, draw a sequence diagram of <process> with CJK labels in diagram.svg, sizing each label from the CJK width table. Run the linter and confirm 0 errors and 0 warnings, with no text overflow findings.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The font stack keeps Noto Sans CJK SC for Linux rendering, so check the final file on the platform your readers actually use.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "Node.js, since svg-lint is plain Node with no packages",
  "A coding agent that loads skills, such as Claude Code, Codex, Cursor or Gemini CLI",
  "npx, to run the skills install command"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/bybit-exchange-svg-diagram/draw-cjk-labelled-sequence-diagram/",
 "md": "https://dedupedai.com/use-cases/bybit-exchange-svg-diagram/draw-cjk-labelled-sequence-diagram/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/bybit-exchange-svg-diagram--draw-cjk-labelled-sequence-diagram.json",
 "api_version": "v1"
}
