First time here? Check out the FAQ!

Revision history  [back]

Let wing render the graphviz graph.

Hi,

I try to use graphviz within wing. The code example is from here: https://aiida.readthedocs.io/projects/aiida-core/en/latest/working_with_aiida/visualising_graphs/visualising_graphs.html

from aiida.common import LinkType
from aiida.orm.utils.links import LinkPair
from aiida.tools.visualization import Graph, pstate_node_styles

dict1_uuid = '0ea79a16-501f-408a-8c84-a2704a778e4b'
calc1_uuid = 'b23e692e-4e01-48dd-b515-4c63877d73a4'

graph = Graph()
graph.add_node(dict1_uuid)
graph.add_node(calc1_uuid)
graph.graphviz

But wing failed to display the rendered grahpviz graph which jupyter can do smoothly.

Any hints for this problem?

Regards

Let wing render the graphviz graph.

Hi,

I try to use graphviz within wing. The code example is from here: https://aiida.readthedocs.io/projects/aiida-core/en/latest/working_with_aiida/visualising_graphs/visualising_graphs.html

from aiida.common import LinkType
from aiida.orm.utils.links import LinkPair
from aiida.tools.visualization import Graph, pstate_node_styles

dict1_uuid = '0ea79a16-501f-408a-8c84-a2704a778e4b'
calc1_uuid = 'b23e692e-4e01-48dd-b515-4c63877d73a4'

graph = Graph()
graph.add_node(dict1_uuid)
graph.add_node(calc1_uuid)
graph.graphviz

But wing failed to display the rendered grahpviz graph which jupyter can do smoothly.

Any hints for this problem?

Regards

Let wing render the graphviz grahpviz graph.

Hi,

I try to use graphviz within wing. The code example is from here: https://aiida.readthedocs.io/projects/aiida-core/en/latest/working_with_aiida/visualising_graphs/visualising_graphs.html

from aiida.common import LinkType
from aiida.orm.utils.links import LinkPair
from aiida.tools.visualization import Graph, pstate_node_styles

dict1_uuid = '0ea79a16-501f-408a-8c84-a2704a778e4b'
calc1_uuid = 'b23e692e-4e01-48dd-b515-4c63877d73a4'

graph = Graph()
graph.add_node(dict1_uuid)
graph.add_node(calc1_uuid)
graph.graphviz

But wing failed to display the rendered the grahpviz graph which jupyter can do smoothly.

Any hints for this problem?

Regards

Let wing render the grahpviz graph.

Hi,

I try to use graphviz within wing. The code example is from here: https://aiida.readthedocs.io/projects/aiida-core/en/latest/working_with_aiida/visualising_graphs/visualising_graphs.html

from aiida.common import LinkType
from aiida.orm.utils.links import LinkPair
from aiida.tools.visualization import Graph, pstate_node_styles

dict1_uuid = '0ea79a16-501f-408a-8c84-a2704a778e4b'
calc1_uuid = 'b23e692e-4e01-48dd-b515-4c63877d73a4'

graph = Graph()
graph.add_node(dict1_uuid)
graph.add_node(calc1_uuid)
graph.graphviz

But wing failed to display the rendered the grahpviz graph which jupyter can do smoothly.

Any hints for this problem?

Regards