{ "info": { "author": "Simon Busard", "author_email": "simon.busard@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "tkCanvasGraph is a Python library that implements a tkinter canvas on which\nusers can display and manipulate graphs.\n\nThe documentation is available on http://tkCanvasgraph.readthedocs.io/.\n\nA small example of its usage:\n\n.. code:: python\n\n import tkinter\n from tkCanvasGraph import CanvasFrame, Vertex, Edge\n root = tkinter.Tk()\n frame = CanvasFrame(root)\n frame.pack(fill=\"both\", expand=True)\n v1 = Vertex(frame.canvas, label=\"vertex1\")\n frame.canvas.add_vertex(v1)\n v2 = Vertex(frame.canvas, label=\"vertex2\")\n frame.canvas.add_vertex(v2)\n edge = Edge(frame.canvas, v1, v2, label=\"edge\")\n frame.canvas.add_edge(edge)\n root.mainloop()\n\nIt creates a new tkinter window, fills it with a `CanvasFrame` (a tkinter\nframe containing a tkCanvasGraph `frame.canvas`, but also buttons to apply\nlayouts, and scrollbars), then add two vertices and one edge.\n\n\nAnother example is the `tkCanvasGraph/__main__.py` file:\n\n.. code::\n\n python -m tkCanvasGraph\n\nIt opens a similar window with additional functionalities:\n\n* new vertices can be created with CTRL + left click,\n* new edges by maintaining CTRL and dragging and dropping the mouse from\n one vertex to another,\n* elements can be deleted with CTRL + right click,\n* labels can be modified by right-clicking on any element,\n* \"j\" key will create a new vertex in a random position,\n* \"k\" key will create a new edge between two vertices without an edge,\n* \"o\" key will apply one step of the force based layout.\n\nLook at the code to get more insight on how to use the library.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sbusard/tkCanvasGraph", "keywords": "graph visualisation", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "tkCanvasGraph", "package_url": "https://pypi.org/project/tkCanvasGraph/", "platform": "", "project_url": "https://pypi.org/project/tkCanvasGraph/", "project_urls": { "Homepage": "https://github.com/sbusard/tkCanvasGraph" }, "release_url": "https://pypi.org/project/tkCanvasGraph/1.0/", "requires_dist": null, "requires_python": "", "summary": "A library to display and manipulate graphs on a tkinter canvas.", "version": "1.0" }, "last_serial": 3248090, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e087359e43f613e8788c43a54fcdd90c", "sha256": "7709ee89b82213516963c050eb0ee4224dd471bc91cce79772a1acfa2acdb5f6" }, "downloads": -1, "filename": "tkCanvasGraph-1.0.tar.gz", "has_sig": false, "md5_digest": "e087359e43f613e8788c43a54fcdd90c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19332, "upload_time": "2017-10-13T14:37:17", "url": "https://files.pythonhosted.org/packages/83/87/96441ed06b77bbc91c23291a082cb418f5637c6750296d7feee775bf3a66/tkCanvasGraph-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e087359e43f613e8788c43a54fcdd90c", "sha256": "7709ee89b82213516963c050eb0ee4224dd471bc91cce79772a1acfa2acdb5f6" }, "downloads": -1, "filename": "tkCanvasGraph-1.0.tar.gz", "has_sig": false, "md5_digest": "e087359e43f613e8788c43a54fcdd90c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19332, "upload_time": "2017-10-13T14:37:17", "url": "https://files.pythonhosted.org/packages/83/87/96441ed06b77bbc91c23291a082cb418f5637c6750296d7feee775bf3a66/tkCanvasGraph-1.0.tar.gz" } ] }