Skip to content

Filter component seems to only apply to the first instance #132

Description

@michaelbdavid

Multiple instances of Sigma component with Filter component seems to only apply to the first instance. Added key to graph instance and still no joy. ie when i click on my second instance of Sigma it attempts to apply filtering to first instance. Works fine on first instance still.

const [filterNeighbours, setFilterNeighbours] = useState('');
<Sigma key={key}
            renderer="canvas"
            graph={myGraph} >
<Filter neighborsOf={filterNeighbours} />
</Sigma>

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions