Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 1.41 KB

todo.md

File metadata and controls

57 lines (46 loc) · 1.41 KB

Blocks Program

Modern and easy extends visual programming editor. Inspire by blockly.

TODO

  • Workspace
  • Block
  • BlockField
    • hollow option
  • fields
    • BlockTextField
    • BlockSlotField
    • BlockInputField
    • BlockDropdownField
  • Renderer
    • Scale Workspace
    • Render lib
    • Workspace
    • Block
      • output Connection
    • BlockField
      • BlockTextField
      • BlockSlotField
      • BlockInputField
      • BlockDropdownField
    • JSONParser
  • CodeGenerator
    • CodeGenerator
    • PythonGenerator
  • parser
    • BlockJSONParser
  • Document
  • Toolbox ?

Improvement

  • Make area content infinite, fix break position motion when block move from edge to inner.
  • Cache block content size.
  • Cache block position.
  • Remove getbbox interface
  • Extract block svg render options.

Bugs

  • Update next block position when block shape changed.
  • Make slot field connection connectable when block move.
  • The parent block shape is not update when the next connection of child block connected.
  • The parent block move to wrong position When the slot connection of child block connected.

Some Explanation

core: Only store necessary data.

renderer: Generate svg accord the data that store in workspace object.

renderer: Only store ui data.