ogobrecht / d3-force-apex-plugin

Oracle APEX Region Type Plugin: D3 Force Network Chart

Home Page:https://ogobrecht.github.io/d3-force-apex-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fixed nodes - ignored x,y coordinates?

pocelka opened this issue · comments

I'm still playing with this plugin. Yesterday I spent some time with re-organizing some of the nodes and pining them to some user friendly position as x and y coordinates are different than in our current C# application (different grid). I just pined few nodes as there is more than 100 node and I just wanted to test fixed position feature. Today I updated the coordinates to database, however it seems like they are ignored.

When query returns true as fixed than nodes are pinned in the grid however with each refresh of the page coordinates are changing. It seems like the coordinates from DB are ignored.

Attributes:
{
"minNodeRadius": 10,
"useDomParentWidth": true,
"lassoMode": false,
"showLabels": true,
"zoomMode": true,
"pinMode": true,
"colorScheme": "direct",
"height": 650,
"debug": true,
"showTooltips": true,
"tooltipPosition": "node",
"labelDistance": 2,
"zoomMode": true,
"minZoomFactor": 0.1,
"transform": {
"translate": [
81.23854596788073,
51.81832738338741
],
"scale": 0.757858283255199
}
}

Custom Styles:
.net_gobrechts_d3_force_tooltip { width: 500px !important; }
//.net_gobrechts_d3_force text.label{ display: none; }

data.zip

EDIT:
Shame on me. This issue can be closed. I looked also to some other closed issues and seems like similar one was already reported. I've checked the plugin version and I was using v2.0.0. After upgrade to 2.0.1 its fine.

I've initially downloaded sample app via https://apex.world/ords/f?p=100:710:8948694552907::::P710_PLG_ID:NET.GOBRECHTS.D3.FORCE

where it seems like there is a link to older demo app version.

Hi pocelka,

shame on me - I forgot to upload the demo app to my homepage for the version 2.0.1. Now the demo app is updated to 2.0.2.

Best regards
Ottmar