BDD Visualization with IPython and GraphViz

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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.







share|improve this question
























    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.







    share|improve this question






















      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.







      share|improve this question












      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.









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 11 at 7:26









      Ehsan Momeni Bashusqeh

      1




      1




















          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





          share|improve this answer




















          • 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










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          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






























          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





          share|improve this answer




















          • 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














          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





          share|improve this answer




















          • 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












          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





          share|improve this answer












          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






          share|improve this answer












          share|improve this answer



          share|improve this answer










          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 package python3-pip and use pip3 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










          • 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















          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












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          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













































































          Popular posts from this blog

          GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

          `kcmshell` modules relation with `/usr/share/applications`

          How to enroll fingerprints to Ubuntu 17.10 with VFS491