Open KnowledgeGarden opened 4 years ago
This is being a difficult task: vis.js (the older version, not vis-network.js) insists on holding the initial graph in the upper left corner. You cannot drag the node; it will spring back. You can only pan the canvas. I tried shifting to cytoscape.js, but their documentation and examples simply would not yield a workable solution.
Right now, vis.js tends to paint a graph in the upper left region, forcing users to pan the canvas to center the graph. This task is to programmatically center the focus topic.