mirror of
https://github.com/hansjone/mind-map.git
synced 2026-10-10 10:13:17 +08:00
Initial commit: DSH mind-map canvas monorepo
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
2ecd300ada
92 changed files with 20486 additions and 0 deletions
13
apps/web/scripts/_inspect_cjk.py
Normal file
13
apps/web/scripts/_inspect_cjk.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from pathlib import Path
|
||||
t = Path(r"d:\project\chatgpt\mind-map\apps\web\src\TopologyCanvas.tsx").read_text(encoding="utf-8")
|
||||
i = t.find('dragScope === "node"')
|
||||
print("=== drag node ===")
|
||||
print(repr(t[i - 80 : i + 320]))
|
||||
print("=== hint ===")
|
||||
j = t.find("canvas-hint")
|
||||
print(repr(t[j : j + 400]))
|
||||
print("=== remaining ?? ===")
|
||||
import re
|
||||
for m in re.finditer(r".{0,40}\?{2,}.{0,40}", t):
|
||||
print(repr(m.group(0)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue