app icon indicating copy to clipboard operation
app copied to clipboard

Can't open graphviz (dot) files

Open laimaretto opened this issue 4 years ago • 1 comments

So I have a dot file. Whenever I try to open it with SocNet 2.5, I get the following error.

image

The dot file is fine since I can open it, for example, in https://dreampuf.github.io/GraphvizOnline/ or http://www.webgraphviz.com/, and it renders ok.

This is the Graphviz network ...

graph { node [fixedsize=false fontsize=9 overlap=false shape=Mrecord style=filled] edge [fontsize=9] label="Network A" rankdir=LR splines=polyline overlap=false nodesep=1.0 ranksep=1.0 struct1 [fillcolor=lightblue3,label="NODE_1\n192.168.21.168"] struct2 [fillcolor=lightblue3,label="NODE_2\n192.168.156.88"] struct3 [fillcolor=lightblue3,label="NODE_3\n192.168.156.8"] struct4 [fillcolor=lightblue3,label="NODE_4\n192.168.21.165"] struct5 [fillcolor=lightblue3,label="NODE_5\n192.168.21.100"] struct6 [fillcolor=lightblue1,label="NODE_6\n192.168.110.65"] struct7 [fillcolor=lightblue3,label="NODE_7\n192.168.21.167"] struct8 [fillcolor=lightblue3,label="NODE_8\n192.168.21.36"] struct5 -- struct2 [label="" color=black penwidth=1.0] struct1 -- struct6 [label="" color=black penwidth=1.0] struct1 -- struct7 [label="" color=black penwidth=1.0] struct7 -- struct8 [label="" color=black penwidth=1.0] struct4 -- struct2 [label="" color=black penwidth=1.0] struct6 -- struct5 [label="20G:a1:0" color=yellow penwidth=5.0] struct3 -- struct8 [label="" color=black penwidth=1.0] struct3 -- struct4 [label="" color=black penwidth=1.0] }

Thanks!

laimaretto avatar Jul 23 '19 12:07 laimaretto

Hello Lucas,

SocNetV supports GraphViz formatted files, although not the whole specification of the format. See https://socnetv.org/docs/formats.html#GraphViz Also, since you pasted your data, it seems this might be a duplicate of #14 https://github.com/socnetv/app/issues/14

I will try to get this fixed in the next release.

Cheers, Dimitris

On Tue, Jul 23, 2019 at 3:43 PM Lucas Aimaretto [email protected] wrote:

So I have a dot file. Whenever I try to open it with SocNet 2.5, I get the following error.

[image: image] https://user-images.githubusercontent.com/8891825/61712491-daa62a80-ad2c-11e9-9043-1307866e7a08.png

The dot file is fine since I can open it, for example, in https://dreampuf.github.io/GraphvizOnline/ http://url or http://www.webgraphviz.com/ http://url, and it renders ok.

This is the Graphviz network ...

graph { node [fixedsize=false fontsize=9 overlap=false shape=Mrecord style=filled] edge [fontsize=9] label="Network A" rankdir=LR splines=polyline overlap=false nodesep=1.0 ranksep=1.0 struct1 [fillcolor=lightblue3,label="NODE_1\n192.168.21.168"] struct2 [fillcolor=lightblue3,label="NODE_2\n192.168.156.88"] struct3 [fillcolor=lightblue3,label="NODE_3\n192.168.156.8"] struct4 [fillcolor=lightblue3,label="NODE_4\n192.168.21.165"] struct5 [fillcolor=lightblue3,label="NODE_5\n192.168.21.100"] struct6 [fillcolor=lightblue1,label="NODE_6\n192.168.110.65"] struct7 [fillcolor=lightblue3,label="NODE_7\n192.168.21.167"] struct8 [fillcolor=lightblue3,label="NODE_8\n192.168.21.36"] struct5 -- struct2 [label="" color=black penwidth=1.0] struct1 -- struct6 [label="" color=black penwidth=1.0] struct1 -- struct7 [label="" color=black penwidth=1.0] struct7 -- struct8 [label="" color=black penwidth=1.0] struct4 -- struct2 [label="" color=black penwidth=1.0] struct6 -- struct5 [label="20G:a1:0" color=yellow penwidth=5.0] struct3 -- struct8 [label="" color=black penwidth=1.0] struct3 -- struct4 [label="" color=black penwidth=1.0] }

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/socnetv/app/issues/92?email_source=notifications&email_token=AAALUSEXHLWF3LKKOMDSO4TQA34IRA5CNFSM4IGD54A2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HA5GG7A, or mute the thread https://github.com/notifications/unsubscribe-auth/AAALUSDO2FYFPFCQGNY3GMTQA34IRANCNFSM4IGD54AQ .

-- Dimitris Kalamaras

oxy86 avatar Jul 23 '19 12:07 oxy86