Compare commits

..

5 Commits
0.6.0 ... 0.7.0

Author SHA1 Message Date
John Lunde
c088774e75 Merge pull request #5 from qlik-oss/data-limit
[QPE-233] Data limit
2018-11-16 14:05:37 +01:00
John Lunde
7d6bd5696a Merge pull request #7 from qlik-oss/disable-edit-mode-interactions
[QPE-303] Disable edit mode interactions
2018-11-16 14:04:56 +01:00
Kristoffer Lind
11f2bad2bd disable pointer events when is-edit-mode 2018-11-15 08:10:01 +01:00
Kristoffer Lind
06a28a2ae7 set is-edit-mode class when in edit mode 2018-11-15 08:09:13 +01:00
Kristoffer Lind
15be850423 document data limitation 2018-11-13 12:54:56 +01:00
4 changed files with 7 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ The measures are optional
QVF based on characters from Victor Hugo's novel , Les Misérables.
![Network chart](resources/network_chart_v1.png)
### Data Limit
Starts having issues stabilizing(transforming into untangled view) at around 100-200 nodes depending on dataset.
# Getting Started

View File

@@ -7,6 +7,7 @@ Use at your own risk.
*/
import "@babel/polyfill";
import paint from './paint';
import './styles/main.less';
const component = {
initialProperties: {

View File

@@ -20,10 +20,10 @@ function paint ( $element, layout, qTheme, component ) {
id = layout.qInfo.qId,
containerId = 'network-container_' + id;
if(qData && qData.qMatrix) {
$element.empty().append($('<div />')
.attr({ id: containerId })
.toggleClass('is-edit-mode', _this.inEditState())
.css({
height: $element.height(),
width: $element.width(),

3
src/styles/main.less Normal file
View File

@@ -0,0 +1,3 @@
.is-edit-mode > div {
pointer-events: none;
}