import SidebarDisplay from 'canvas-graph-creator/src/js/ui/sidebar-display.js'SidebarDisplay
Extends:
SidebarContent → SidebarDisplay
Sidebar content class for displaying graph data. This is the default sidebar type.
Constructor Summary
| Public Constructor | ||
| public |
constructor(graph: Graph) Constructs a SidebarDisplay instance. |
|
Method Summary
| Public Methods | ||
| public |
display() Display tabs and update content. |
|
| public |
update() Update the sidebar with data from the graph. |
|
Inherited Summary
| From class SidebarContent | ||
| public |
graph: * |
|
| public |
tabs: * |
|
| public |
changeGraph(newGraph: Graph) Change the Graph object reference stored to the new one. |
|
| public abstract |
display() Display the sidebar. |
|
| public abstract |
update() Update the sidebar state. |
|
Public Constructors
public constructor(graph: Graph) source
Constructs a SidebarDisplay instance.
Override:
SidebarContent#constructorParams:
| Name | Type | Attribute | Description |
| graph | Graph | The current Graph object. |