Skip to content

[graph/plugins/interactive] migrate useInteractive to @magic/graph-plugins #694

@Yonava

Description

@Yonava

Parent issue: #692

Current state

useInteractive lives in packages/products/src/shared/interactive/ and enables users to create, edit, and delete nodes and edges via mouse interaction on a canvas graph.

Work

  • Audit for product-specific assumptions and make them configurable via options
  • Decouple from GraphWithPlugins — accept a typed graph-with-canvas-plugin interface instead
  • Export from @magic/graph-addons
  • Remove from packages/products once consumers are updated

Metadata

Metadata

Assignees

No one assigned

    Labels

    magic graphs 📊Pertaining to packages/graph in the Magic Graphs mono-reporefactor 🧱This is about refactoring existing features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions