Treebolic

architecture



The Treebolic architecture is modular.

architecture

Components

The Treebolic or core is a component (or widget) that delivers a hyperbolic representation of a hierarchical set of data organized as a tree.

The application (either a basic application or applet or browser or generator or plugin or ...) hosts the Treebolic. Communication between application and engine works both ways.

The provider is responsible for feeding data to the Treebolic. Communication between provider and engine also works both ways.

Providers

providers

Generic providers - N-Tier providers

Some providers can be factored out in generic providers (xslt/graph) that interact with a specific part.

generic providers

Engine-Provider interface

provider interface
<<interface>>
IProvider

public void connect(IProviderContext context);
public Model makeModel(String source);
public Tree makeTree(String source);
<<interface>>
IProviderContext

public URL makeURL(String source);
public String getParameter(String name);
public void putProgress(String message, boolean fail);
public void putMessage(String message);

Context-Engine interface

context interface
<<interface>>
IContext

public URL getBase();
public URL getImagesBase();
public URL getHtmlDocumentBase();
public String getParameter(String name);
public Image getImage(URL url);
public boolean linkTo(String href, String target);
public void showStatus(String string);
class
Widget

public void init();
public void init(String provider, String source);
public void reinit(String source);
public void init(Model model);
public void link(String url, String target)
public String match(String target, String scope, String mode);
public void focus(String nodeid);
See interfaces as SVG