MCPcopy Index your code
hub / github.com/RaspberryPiFoundation/blockly-samples

github.com/RaspberryPiFoundation/blockly-samples @v13.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v13.1.0 ↗ · + Follow
1,950 symbols 5,004 edges 377 files 985 documented · 51%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Blockly Samples

Plugins and examples related to the Blockly library.

This repository has two sections:

  • Plugins: self-contained pieces of code that add functionality to Blockly.
  • Examples: self-contained sample projects demonstrating techniques to include and extend the Blockly library.

Please see our GitHub Pages site for interactive demos of most plugins.

Support

Blockly has an active developer forum. Please drop by and say hello. Show us your prototypes early; collectively we have a lot of experience and can offer hints which will save you time. We actively monitor the forums and typically respond to questions within 2 working days.

License

Apache 2.0

Extension points exported contracts — how you extend this code

DependencyData (Interface)
* A structure for managing data needed by the menu generator of a * FieldDependentDropdown.
plugins/field-dependent-dropdown/src/field_dependent_dropdown.ts
DynamicIfMixin (Interface)
This interface avoids a "circular reference" compile error.
plugins/block-dynamic-connection/src/dynamic_if.ts
BlockShadowStateChangeJson (Interface)
(no doc)
plugins/shadow-block-converter/src/shadow_block_converter.ts
FieldColourConfig (Interface)
(no doc)
plugins/field-colour/src/field_colour.ts
FieldSliderOptions (Interface)
(no doc)
plugins/field-slider/src/field_slider.ts
FieldMultilineInputConfig (Interface)
(no doc)
plugins/field-multilineinput/src/field_multilineinput.ts
FieldAngleConfig (Interface)
(no doc)
plugins/field-angle/src/field_angle.ts
FieldGeneratorOptions (Interface)
(no doc)
plugins/dev-tools/src/index.d.ts

Core symbols most depended-on inside this repo

run
called by 86
plugins/block-shareable-procedures/src/events_procedure_create.ts
getValue
called by 82
plugins/field-grid-dropdown/src/grid_item.ts
getProcedureModel
called by 77
plugins/block-shareable-procedures/src/i_procedure_block.ts
getId
called by 74
plugins/block-shareable-procedures/src/observable_parameter_model.ts
getName
called by 65
plugins/block-shareable-procedures/src/observable_parameter_model.ts
get
called by 64
plugins/dev-tools/src/playground/state.js
createProcDefBlock
called by 56
plugins/block-shareable-procedures/test/procedure_test_helpers.js
parse
called by 51
plugins/dev-tools/src/playground/hash_state.js

Shape

Function 959
Method 740
Class 194
Interface 55
Enum 2

Languages

TypeScript100%
Python1%

Modules by API surface

examples/interpreter-demo/acorn_interpreter.js100 symbols
examples/devsite-landing-demo/acorn_interpreter.js100 symbols
examples/devsite-demo/acorn_interpreter.js100 symbols
examples/interpreter-demo/acorn.js67 symbols
plugins/workspace-backpack/src/backpack.ts62 symbols
plugins/workspace-search/src/workspace_search.ts35 symbols
plugins/field-bitmap/src/field-bitmap.ts35 symbols
plugins/field-multilineinput/src/field_multilineinput.ts27 symbols
plugins/field-colour-hsv-sliders/src/field_colour_hsv_sliders.ts27 symbols
plugins/field-angle/src/field_angle.ts27 symbols
plugins/dev-tools/src/playground/options.js27 symbols
examples/turtle-field-demo/field_turtle.js24 symbols

For agents

$ claude mcp add blockly-samples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact