|
|
@@ -40,7 +40,7 @@ var _defaultVisJsOptions = {
|
|
|
hierarchical: {
|
|
|
direction: 'LR',
|
|
|
levelSeparation: 500, // hierarchical.levelSeparation Number 150 The distance between the different levels.
|
|
|
- nodeSpacing: 40, // hierarchical.nodeSpacing Number 100 Minimum distance between nodes on the free axis. This is only for the initial layout. If you enable physics, the node distance there will be the effective node distance.
|
|
|
+ nodeSpacing: 50, // hierarchical.nodeSpacing Number 100 Minimum distance between nodes on the free axis. This is only for the initial layout. If you enable physics, the node distance there will be the effective node distance.
|
|
|
treeSpacing: 500, // hierarchical.treeSpacing Number 200 Distance between different trees (independent networks). This is only for the initial layout. If you enable physics, the repulsion model will denote the distance between the trees.
|
|
|
sortMethod: 'directed'
|
|
|
// hierarchical.enabled Boolean false Toggle the usage of the hierarchical layout system. If this option is not defined, it is set to true if any of the properties in this object are defined.
|
|
|
@@ -238,7 +238,7 @@ function parseResponseXlinkListRec(_todoGraphData, json, typeName, parentNodeId,
|
|
|
if (!_todoGraphData[level]) _todoGraphData[level] = { nodes: [], edges: [] }
|
|
|
_todoGraphData[level].nodes.push({
|
|
|
id: nodeId,
|
|
|
- label: makeShortLabel(nodeId) + ' (?)',
|
|
|
+ label: makeShortLabel(nodeId) + ' (+)',
|
|
|
group: objectName,
|
|
|
_loaded: false,
|
|
|
typeName: typeName,
|
|
|
@@ -251,6 +251,12 @@ function parseResponseXlinkListRec(_todoGraphData, json, typeName, parentNodeId,
|
|
|
}
|
|
|
} else if (p5Utils__isObject(json)) {
|
|
|
if(DBG)console.log('TODO: Not implemented - parseResponseRec isObject - fetch more xlink object');
|
|
|
+ // example json: { type: "next",
|
|
|
+ // @backRefNS: "default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA",
|
|
|
+ // @backRefPK: "42",
|
|
|
+ // @typeName: "default_db__x3A__BI_audit_ENERGA_RUM_KONTRAHENCI_P…ow:BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row",
|
|
|
+ // @startIndex: "10" }
|
|
|
+
|
|
|
// var nodeId = json.substr(json.indexOf('#') + 1)
|
|
|
// var objectName = typeName
|
|
|
// {
|