pgmpy / pgmpy_viz

A web based GUI for pgmpy
MIT License
13 stars 20 forks source link

Solving problems with position of a rendered node. #3

Closed pramttl closed 10 years ago

pramttl commented 10 years ago

Problem

As a part of the initial graph drawing experiments for pgmpy_viz one of my problem is to render a node at the point where the canvas is clicked. The node is created but not rendered at the exact coordinates desired, on clicking on the canvas.

Solution

The solution would be to use "renderedPosition" parameter instead of "position" parameter when adding a node on the cytoscape canvas.

Todo

This solution needs to be applied.

Here is a post which explains things in more detail.