Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Memory block #233

Merged
merged 30 commits into from
May 15, 2018
Merged

Add Memory block #233

merged 30 commits into from
May 15, 2018

Conversation

Jesus89
Copy link
Member

@Jesus89 Jesus89 commented May 15, 2018

Related to: #218

Implemented as internal list files.

  • Add new Basic > Memory block:
    • Name of the block
    • Local flag (export parameter)
    • Code editor to add the memory content
  • Add resizer to the Memory block
  • Reconnect Memory block connections
  • Add Constant <-> Memory blocks replacement
  • Load Memory blocks as Generic blocks parameters
  • Refactor compiler.generate function
  • Use new SVG to represent local parameters (Lock)
  • Enable same-block replacements
  • Implement zoom for Memory blocks
  • Improve zoom for Code/Info blocks

selection_107

{
  "id": "c3d50c85-b95d-4f05-b0cc-6fc6d039e712",
  "type": "basic.memory",
  "data": {
    "name": "ABC",
    "list": "0\n1\n2\n3",
    "local": true
  },
  "position": {
    "x": 240,
    "y": 96
  },
  "size": {
    "width": 96,
    "height": 112
  }
}

Bonus point

  • Rotate Parameters labels
  • Wires avoid port labels

untitled

@Jesus89 Jesus89 merged commit 5a5e6c9 into develop May 15, 2018
@Jesus89 Jesus89 deleted the memory-block branch May 15, 2018 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant