@tensorify.io/sdk
Version:
TypeScript SDK for developing Tensorify plugins with comprehensive validation, frontend enforcement, and publishing tools
74 lines • 2.63 kB
JavaScript
;
/**
* Visual configuration types for the Tensorify SDK
* Defines how plugins appear and behave in the frontend
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.IconType = exports.NodeViewContainerType = exports.EdgeType = exports.HandlePosition = exports.HandleViewType = void 0;
// ========================================
// HANDLE CONFIGURATION TYPES
// ========================================
/**
* Visual appearance types for handles
*/
var HandleViewType;
(function (HandleViewType) {
HandleViewType["DEFAULT"] = "default";
HandleViewType["VERTICAL_BOX"] = "verticalBox";
HandleViewType["CIRCLE_LG"] = "circle-lg";
HandleViewType["DIAMOND"] = "diamond";
HandleViewType["SQUARE"] = "square";
HandleViewType["TRIANGLE"] = "triangle";
})(HandleViewType || (exports.HandleViewType = HandleViewType = {}));
/**
* Physical positions for handles on the node (8-point system)
*/
var HandlePosition;
(function (HandlePosition) {
HandlePosition["TOP"] = "top";
HandlePosition["TOP_RIGHT"] = "top-right";
HandlePosition["RIGHT"] = "right";
HandlePosition["BOTTOM_RIGHT"] = "bottom-right";
HandlePosition["BOTTOM"] = "bottom";
HandlePosition["BOTTOM_LEFT"] = "bottom-left";
HandlePosition["LEFT"] = "left";
HandlePosition["TOP_LEFT"] = "top-left";
})(HandlePosition || (exports.HandlePosition = HandlePosition = {}));
/**
* Edge styling types for connections
*/
var EdgeType;
(function (EdgeType) {
EdgeType["DEFAULT"] = "default";
EdgeType["SOLID"] = "solid";
EdgeType["DOTTED"] = "dotted";
EdgeType["DASHED"] = "dashed";
EdgeType["ACCENT"] = "accent";
EdgeType["MUTED"] = "muted";
EdgeType["SUCCESS"] = "success";
EdgeType["WARNING"] = "warning";
EdgeType["ERROR"] = "error";
})(EdgeType || (exports.EdgeType = EdgeType = {}));
// ========================================
// NODE VISUAL CONFIGURATION
// ========================================
/**
* Container types for nodes
*/
var NodeViewContainerType;
(function (NodeViewContainerType) {
NodeViewContainerType["DEFAULT"] = "default";
NodeViewContainerType["BOX"] = "box";
NodeViewContainerType["CIRCLE"] = "circle";
NodeViewContainerType["LEFT_ROUND"] = "left-round";
})(NodeViewContainerType || (exports.NodeViewContainerType = NodeViewContainerType = {}));
/**
* Icon types supported
*/
var IconType;
(function (IconType) {
IconType["SVG"] = "svg";
IconType["FONTAWESOME"] = "fontawesome";
IconType["LUCIDE"] = "lucide";
})(IconType || (exports.IconType = IconType = {}));
//# sourceMappingURL=visual.js.map