BDD Visualization with IPython and GraphViz


up vote
0
down vote
favorite
I'm Trying to work with PyEDA, i need to visualize Binary Decision Diagram, i'm reading this document but i can't understand it!
here it says: If you have GraphViz installed on your machine, and the dot executable is available on your shellâÂÂs path, you can use the gvmagic IPython extension to visualize BDDs.
first of all, how can i make the dot executable available on my shell's path?
then, in the document we have this part:
In [1]: %install_ext https://raw.github.com/cjdrake/ipython-magic/master/gvmagic.py
In [2]: %load_ext gvmagic
is this the DOT environment?
sorry if the questions are so simple and stupid! i'm not so professional in using Linux.
python
add a comment |Â
up vote
0
down vote
favorite
I'm Trying to work with PyEDA, i need to visualize Binary Decision Diagram, i'm reading this document but i can't understand it!
here it says: If you have GraphViz installed on your machine, and the dot executable is available on your shellâÂÂs path, you can use the gvmagic IPython extension to visualize BDDs.
first of all, how can i make the dot executable available on my shell's path?
then, in the document we have this part:
In [1]: %install_ext https://raw.github.com/cjdrake/ipython-magic/master/gvmagic.py
In [2]: %load_ext gvmagic
is this the DOT environment?
sorry if the questions are so simple and stupid! i'm not so professional in using Linux.
python
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm Trying to work with PyEDA, i need to visualize Binary Decision Diagram, i'm reading this document but i can't understand it!
here it says: If you have GraphViz installed on your machine, and the dot executable is available on your shellâÂÂs path, you can use the gvmagic IPython extension to visualize BDDs.
first of all, how can i make the dot executable available on my shell's path?
then, in the document we have this part:
In [1]: %install_ext https://raw.github.com/cjdrake/ipython-magic/master/gvmagic.py
In [2]: %load_ext gvmagic
is this the DOT environment?
sorry if the questions are so simple and stupid! i'm not so professional in using Linux.
python
I'm Trying to work with PyEDA, i need to visualize Binary Decision Diagram, i'm reading this document but i can't understand it!
here it says: If you have GraphViz installed on your machine, and the dot executable is available on your shellâÂÂs path, you can use the gvmagic IPython extension to visualize BDDs.
first of all, how can i make the dot executable available on my shell's path?
then, in the document we have this part:
In [1]: %install_ext https://raw.github.com/cjdrake/ipython-magic/master/gvmagic.py
In [2]: %load_ext gvmagic
is this the DOT environment?
sorry if the questions are so simple and stupid! i'm not so professional in using Linux.
python
asked May 11 at 7:26


Ehsan Momeni Bashusqeh
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
To install GraphViz and make the dot executable available on my shell's path you have to install the Ubuntu package graphviz
.
"dot" is a non-interactive program for drawing directed graphs from a textual description and is part of GraphViz. The dot executable is installed as /usr/bin/dot
.
The %install_ext
thing is the IPython shell. It's available as Ubuntu package python3-ipython
. You can start it from the command line using the command
ipython3
What is the problem with this? can you help me? i typed this: In [1]: %install_ext raw.github.com/cjdrake/ipython-magic/master/gvmagic.py but this is the answer! UsageError: Line magic function%install_ext
not found.
â Ehsan Momeni Bashusqeh
May 17 at 9:13
It seems recent versions of IPython don't support%install_ext
any more. Install the Ubuntu packagepython3-pip
and usepip3 install --user gvmagic
from the shell instead.
â Florian Diesch
May 19 at 14:35
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
To install GraphViz and make the dot executable available on my shell's path you have to install the Ubuntu package graphviz
.
"dot" is a non-interactive program for drawing directed graphs from a textual description and is part of GraphViz. The dot executable is installed as /usr/bin/dot
.
The %install_ext
thing is the IPython shell. It's available as Ubuntu package python3-ipython
. You can start it from the command line using the command
ipython3
What is the problem with this? can you help me? i typed this: In [1]: %install_ext raw.github.com/cjdrake/ipython-magic/master/gvmagic.py but this is the answer! UsageError: Line magic function%install_ext
not found.
â Ehsan Momeni Bashusqeh
May 17 at 9:13
It seems recent versions of IPython don't support%install_ext
any more. Install the Ubuntu packagepython3-pip
and usepip3 install --user gvmagic
from the shell instead.
â Florian Diesch
May 19 at 14:35
add a comment |Â
up vote
0
down vote
To install GraphViz and make the dot executable available on my shell's path you have to install the Ubuntu package graphviz
.
"dot" is a non-interactive program for drawing directed graphs from a textual description and is part of GraphViz. The dot executable is installed as /usr/bin/dot
.
The %install_ext
thing is the IPython shell. It's available as Ubuntu package python3-ipython
. You can start it from the command line using the command
ipython3
What is the problem with this? can you help me? i typed this: In [1]: %install_ext raw.github.com/cjdrake/ipython-magic/master/gvmagic.py but this is the answer! UsageError: Line magic function%install_ext
not found.
â Ehsan Momeni Bashusqeh
May 17 at 9:13
It seems recent versions of IPython don't support%install_ext
any more. Install the Ubuntu packagepython3-pip
and usepip3 install --user gvmagic
from the shell instead.
â Florian Diesch
May 19 at 14:35
add a comment |Â
up vote
0
down vote
up vote
0
down vote
To install GraphViz and make the dot executable available on my shell's path you have to install the Ubuntu package graphviz
.
"dot" is a non-interactive program for drawing directed graphs from a textual description and is part of GraphViz. The dot executable is installed as /usr/bin/dot
.
The %install_ext
thing is the IPython shell. It's available as Ubuntu package python3-ipython
. You can start it from the command line using the command
ipython3
To install GraphViz and make the dot executable available on my shell's path you have to install the Ubuntu package graphviz
.
"dot" is a non-interactive program for drawing directed graphs from a textual description and is part of GraphViz. The dot executable is installed as /usr/bin/dot
.
The %install_ext
thing is the IPython shell. It's available as Ubuntu package python3-ipython
. You can start it from the command line using the command
ipython3
answered May 11 at 7:52
Florian Diesch
62.6k16156176
62.6k16156176
What is the problem with this? can you help me? i typed this: In [1]: %install_ext raw.github.com/cjdrake/ipython-magic/master/gvmagic.py but this is the answer! UsageError: Line magic function%install_ext
not found.
â Ehsan Momeni Bashusqeh
May 17 at 9:13
It seems recent versions of IPython don't support%install_ext
any more. Install the Ubuntu packagepython3-pip
and usepip3 install --user gvmagic
from the shell instead.
â Florian Diesch
May 19 at 14:35
add a comment |Â
What is the problem with this? can you help me? i typed this: In [1]: %install_ext raw.github.com/cjdrake/ipython-magic/master/gvmagic.py but this is the answer! UsageError: Line magic function%install_ext
not found.
â Ehsan Momeni Bashusqeh
May 17 at 9:13
It seems recent versions of IPython don't support%install_ext
any more. Install the Ubuntu packagepython3-pip
and usepip3 install --user gvmagic
from the shell instead.
â Florian Diesch
May 19 at 14:35
What is the problem with this? can you help me? i typed this: In [1]: %install_ext raw.github.com/cjdrake/ipython-magic/master/gvmagic.py but this is the answer! UsageError: Line magic function
%install_ext
not found.â Ehsan Momeni Bashusqeh
May 17 at 9:13
What is the problem with this? can you help me? i typed this: In [1]: %install_ext raw.github.com/cjdrake/ipython-magic/master/gvmagic.py but this is the answer! UsageError: Line magic function
%install_ext
not found.â Ehsan Momeni Bashusqeh
May 17 at 9:13
It seems recent versions of IPython don't support
%install_ext
any more. Install the Ubuntu package python3-pip
and use pip3 install --user gvmagic
from the shell instead.â Florian Diesch
May 19 at 14:35
It seems recent versions of IPython don't support
%install_ext
any more. Install the Ubuntu package python3-pip
and use pip3 install --user gvmagic
from the shell instead.â Florian Diesch
May 19 at 14:35
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034797%2fbdd-visualization-with-ipython-and-graphviz%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password