Skip to content

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

@michaelbdavid

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>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions