Step 3: Creating Project
|
|
Step 3b: Creating Project
|
|
Step 3c: Creating Project.
|
|
Step 4a: Installing Bridges (Skip to step 4c if using Zip file)
|
|
Step 4b: Installing Bridges
|
|
Step 4c: Verification
|
Step 1a: Create a new File
|
|
Step 1b: Create a new File
|
|
Step 2: Now build the Bridges Program to
illustrate a singly linked list
|
from bridges.sl_element import * |
|
|
|
sle1 = SLelement("World", "") |
|
|
|
sle0.get_visualizer().set_opacity(0.5) sle1.get_visualizer().set_color("green") |
|
|
|
|
|
from bridges.bridges import * from bridges.sl_element import *
class HelloWorld:          #create the Bridges object          bridges = Bridges(0, "YOUR_USER_ID", "YOUR_API_KEY")
         #create two singly-linked elements
         # create a singly-linked list
         #edit some visual properties of the two elements
        #pass the first element of the list
         # visualize the list
|
Step 3: Running your Bridges program
|
|
Step 4: Visualize your data structure
|