Getting Started
If something isn't working, feel free to open an issue, but don't create an duplicate issue.
Load Blackprint required files
There are styles, template, and scripts that need to be loaded. Blackprint only giving support on modern browser, because it's designed for the future.
Import Blackprint nodes
If you have exported Blackprint into JSON, then you can easily import it like below:
Create single Blackprint node
To create new node and put it on the DOM you can call
sketch.createNode(namespace, options)
Namespace is the registered node handler from sketch.registerNode
.
Options is a value for the registered node element from sketch.registerInterface
.
Get created node list
Blackprint does expose model and components through sketch.scope('modelName')
.
Blackprint options
Currently the available options still limited
name
value
visualizeFlow
true/false
Export Blackprint nodes
The nodes can be exported as JSON, but it's like the node namespace, position, value, and the connections.
Last updated