Tulip Python 5.2.0 documentation
previous | next | index

ManualΒΆ

Before using the bindings, you have to import the tulip module in your current Python session. It is recommended to use the following directive:

from tulip import tlp

This manual aims to quickly introduce the following features:

  • Creating and manipulating graphs
    • Creating a new graph
    • Importing / exporting a graph using the TLP file format
    • Adding / Removing elements in the graph
    • Iterating over graph elements
  • Getting / Setting data on graph elements
    • Creating / Accessing / Deleting a graph property
    • Working with graph properties
  • Modifying the visual attributes of a graph
    • Graph layout
    • Rotations of the nodes
    • Selection
    • Colors of graph elements and labels
    • Sizes of graph elements
    • Shapes of graph elements
    • Labels of graph elements
    • Border width of graph elements and labels
    • Applying a texture to nodes or edges
  • Applying an algorithm on a graph
    • Calling a general algorithm on a graph
    • Calling a property algorithm on a graph
  • Graph/Properties observation
    • Observing a graph
    • Observing a graph property
  • Creating and manipulating Tulip visualizations with the tulipgui module
    • Using the module from the main Tulip GUI
    • Using the module with the classical Python interpreter

Table Of Contents

  • Getting started
  • Release notes and API changes
  • Manual
    • Creating and manipulating graphs
    • Getting / Setting data on graph elements
    • Modifying the visual attributes of a graph
    • Applying an algorithm on a graph
    • Graph/Properties observation
    • Creating and manipulating Tulip visualizations with the tulipgui module
  • Writing Tulip plugins in Python
  • Tulip plugins documentation
  • tulip module API
  • tulipgui module API
  • tulipplugins module API

Search

Enter search terms or a module, class or function name.

previous | next | index

Show Source
© Copyright 2018, Tulip Team. Created using Sphinx 1.3.6.