Interface ElemProps

Element component properties

interface ElemProps {
    name: string;
    onChange: ((data) => void);
    onDelete: (() => void);
    rank?: number;
    values: boolean[];
}

Hierarchy (view full)

Properties

name: string

Element name

onChange: ((data) => void)

Update callback, called when element name or values change, updates data in set manager

Type declaration

    • (data): void
    • Update callback, called when element name or values change, updates data in set manager

      Parameters

      Returns void

Param: data

new data

onDelete: (() => void)

Deletion callback, deletes the element in set manager

Type declaration

    • (): void
    • Deletion callback, deletes the element in set manager

      Returns void

rank?: number

Element rank(amount of intersecting sets)

values: boolean[]

Array of booleans, representing which sets intersect in this element

Generated using TypeDoc