org.visallo.graph.export

Add menu options to export graph / workspace

Allows a custom component to render to configure how to export.

Registration

registry.registerExtension("org.visallo.graph.export", config)

Source:
Tutorials:
See:
Configuration Properties:
Name Type Attributes Default Description
menuItem string

The string to display in the context menu

componentPath string

The path to exporter component to render when user selects the menu option.

showPopoverTitle boolean <optional>
true

If the popover should display a title

showPopoverCancel boolean <optional>
true

If the popover displays cancel button

attributes function <optional>

Function that can transform the properties that the component receives.

Validation Function

Extensions registered must pass this validation check to be used.

function extensionValidator(e) {
    return 'menuItem' in e && 'componentPath' in e;
}

Type Definitions

Exporter

Source:

If the exporter extension configuration includes an attributes function, all those attributes will be available as well.

Properties:
Name Type Description
workspaceId string
productId string
exporter object
cy object

The cytoscape object