Table of Contents
- Scripting API for every Data Structure
- Scripting API for Graph Backend
- Scripting API for Linked List Backend
- Scripting API for Rooted Tree Backend
- Scripting Interfaces
Every backend provides a special set of functions and properties for its data structures and their elements. But also every backend provides the properties and functions that are defined for the base data structure.
The abstract data structure defines a set of data elements and possible connections between them, this is the prototype for every other data structure.
Data structures are identified by their names.
Assuming you created a data structure with name
testgraph, then you can access the data structure simply by writing this identifier.
For example, to get an array with all data elements in the given data structure, you can write
testgraph.list_nodes(); in the script.
An abstract data element is a unit of information that belongs to an abstract data structure and possibly is connected to other data elements by pointers.
A pointer connects two data elements and can itself hold information by its properties.
The width of the connection.
If true, the connection is directed. Otherwise is connection is undirected.
Start of the connection.
End of the connection
ID of the connection type.