Skip to content

Collision detection when inserting and moving items #38

Description

@christianbrugger

Features to be implemented:

  • Do not connect to invalid items
    • Connector (Logicitem)
    • Linetree
  • Do not anticipate invalid items
    • Connector (is_connected)
    • Linetree (edge indicators)
  • Implement basic invalid painting for Linetrees
    • increase shape / bounding box for Linetree to Logicitem fraction
  • Make invalid state depending on connectivity
    • output to output -> invalid (Connector)
    • two outputs driving Linetree -> invalid (Connector, Linetree)
  • Update surrounding based on invalid bounding rect
    • InsertableItem move (single item)
    • Selection move (multiple items)
  • Update inserting line to not collide with invalid lines.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions