First part for generic features in the dataset: GraphWidget
changes to make PINV able to work on different datasets.