Hi,
I'm trying to find a package that let's me create simple graphs easily
and visualize them. Graphs.jl looks fine for what I need, but I'm having
trouble to get the graphs plotted inside a Jupyter notebook. Perhaps I'm
missing something obvious, but by skimming through Graphs.jl's
documentation I didn't find anything.
(I have GraphViz installed and compiled with support for pangocairo, so
I have no trouble to create and plot in the notebook the following:
,----
| using GraphViz
| GraphViz.Graph("""
| graph graphname {
| // The label attribute can be used to change the label of a node
| a [label="Foo"];
| // Here, the node shape is changed.
| b [shape=box];
| // These edges both have different line properties
| a -- b -- c [color=blue];
| b -- d [style=dotted];
| }
| """)
`----
but when I do:
,----
| using Graphs
|
| g1a = simple_frucht_graph()
| plot(g1a)
`----
instead of plotting it in the notebook, a new window is opened.
Any pointers? Many thanks,
--
Ángel de Vicente
http://www.iac.es/galeria/angelv/