Graph visualization using Python

Поделиться
HTML-код
  • Опубликовано: 11 ноя 2024

Комментарии • 33

  • @indometalpython4969
    @indometalpython4969 2 года назад

    An invaluable application of this tool. Thanks for the knowledge, Nikhil!

  • @hshrestha2811
    @hshrestha2811 2 года назад

    How can I save the image?

  • @ahsanzaman1153
    @ahsanzaman1153 2 года назад

    great video. Please tell me how to change the layout to more compacted one as it is spreaded horizontally

  • @qrubmeeaz
    @qrubmeeaz 3 года назад

    Good job.

  • @bennguyen1313
    @bennguyen1313 4 года назад +2

    When would you use 'from graphviz import Digraph' versus 'import pydot'? Or PyGraphviz?

  • @ganapathisubramanyamjayam
    @ganapathisubramanyamjayam 3 года назад

    Could you please explain me how to make a custom graphs?

  • @krisweber123
    @krisweber123 5 лет назад +1

    Great little lesson, thank you!

  • @santhosh6700
    @santhosh6700 4 года назад

    Very useful Thanks. 👍👍

  • @milesstephenson4873
    @milesstephenson4873 6 лет назад +1

    Very informative. Thanks!

  • @IndianPythonista
    @IndianPythonista  7 лет назад

    Code here: github.com/nikhilkumarsingh/PyDot-Examples

    • @utsavpatel5520
      @utsavpatel5520 6 лет назад

      how to add the root directory of windows I am getting error

  • @dannyisrael
    @dannyisrael 4 года назад

    anyone know a library that can do this but also create a clickable node to explore the contents of a node?

  • @kamakshaiah
    @kamakshaiah 6 лет назад

    Very nice. Do you know how to put lables, such as letters and numbers for all edges within for loop.

    • @IndianPythonista
      @IndianPythonista  6 лет назад

      You can use the optional parameter "label" in the add_edge function of class Graph for setting the edge label.

  • @naveenslog
    @naveenslog 6 лет назад +3

    Nice Video.. how do I animate this plot?

  • @jacoblum8622
    @jacoblum8622 6 лет назад

    Can I know what is the format of your dataset for this demonstration?

    • @IndianPythonista
      @IndianPythonista  6 лет назад

      There is no dataset as such. Graph has been created from the directory tree of my OS by traversing through it and making graph nodes at the same time.

    • @jacoblum8622
      @jacoblum8622 6 лет назад

      @@IndianPythonista I see what you mean. Thanks for clarifying.

  • @mazenstudio
    @mazenstudio 6 лет назад +2

    does this code run on python 2.7 ..because I am not getting the graph all I get is this output
    problem is that there is no create_png() for the G variable
    thanx

    • @IndianPythonista
      @IndianPythonista  6 лет назад

      I hope you are not using pydot3as it is the Python 3 interface. Use Python 2 compatible version of Pydot

    • @mazenstudio
      @mazenstudio 6 лет назад

      may be this is because I am running the code from within PyCharm instead of notebook ? that is why the image is not displaying ? I am installing notebook right now and will check further more ..I think I cannot access my files unless I am running notebook locally .

    • @ranabanik1354
      @ranabanik1354 5 лет назад +1

      @@IndianPythonista I am using pydot3 and couldn't find any create_png() method in G. I also tried both Pycharm and Jupyter Notebook but it ends up in error.

  • @b33tr00ts
    @b33tr00ts 5 лет назад +1

    Thank you :)

  • @locallion1218
    @locallion1218 6 лет назад

    great video!
    what linux distro is this?

  • @mohamedraafat7479
    @mohamedraafat7479 6 лет назад

    Thank you

  • @muhammadshiddiq7912
    @muhammadshiddiq7912 6 лет назад

    Can i have your picture