flagflag  
Page Top

開発 Install anchor.png

git clone https://github.com/QuantStack/jupyterlab-blockly.git
cd jupyterlab-blockly
pre-commit install   # 多分いらない
pip install -e ".[dev]"
jupyter labextension develop . --overwrite
jlpm build
chmod -R a+rx .  # 必要に応じて

jupyter labextension list
pip uninstall jupyterlab-blockly   # pip でインストールした分を消す
jupyter labextension list          # 確認
Page Top

Uninstall anchor.png

pip uninstall jupyterlab_blockly
Page Top

Packaging anchor.png

pip install build twine
python -m build
  • pip install build twine は一回だけ
  • python -m build で dist/ に tar Ball ができる.
  • tar Ball は jupyter labextension install tar_ball でインストール
Page Top

クラス階層 anchor.png

JupyterFrontEndPlugin
  |
BlocklyEditorFactory  --> BlocklyRegistry
  |(複数)
  +---------------+-------------------------+
  |               |                         |
BlocklyManager  BlocklyPanel(SplitPanel)  BlocklyEditor(DocumentWidget)
                  |
                BlocklyLayout(SplitLayout)
  • Factory, registry は1個のみ
Page Top

イベント anchor.png

  • 操作イベントのハンドル
  • Blockly イベント
Page Top

部品 anchor.png

  • CodeCell
    • outputArea (OutputArea)
      • node (HTMLElement) -- style

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 142, today: 1, yesterday: 1
Last-modified: 2023-11-21 (Tue) 19:58:03 (JST) (170d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

71 user(s) are online (16 user(s) are browsing xpwiki)

Members: 0
Guests: 71

more...

Access Counter

Today : 8056805680568056
Yesterday : 1766217662176621766217662
Total : 2356338823563388235633882356338823563388235633882356338823563388
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com