Changing Element visualization properties
Each Element contains properties that control how its visualization looks. You can change how an Element is visualized by interacting with these properties. You can use them to change the size, shape, color, and opacity of each Element.
Changing visualization properties of edges (links)
Each Element also contains a LinkVisualizer class that controls how
the edges between itself and the node it is connected to
appears. You can change how an edge is visualized by interacting with that
Element's LinkVisualizer. You can use the LinkVisualizer to change the
thickness, color and opacity of each edge:
Note that because Element is the superclass of all other element types,
that these same methods will also apply to them as well.
A Two Element Doubly Linked List Example
Bridges Visualization
- Here is what this example should produce:
Well done! You’ve just changed an Element's visual properties!