2.0.0 • Published 10 months ago
ueblueprint v2.0.0
UEBlueprint
A stand alone editor implementation of the UE's Blueprint visual language.
Features:
- Intercommunicates with UE (can copy nodes both ways).
- Can be used as a WEB library to visualize and interact with Blueprint graphs.
- Can be used inside VS Code to operate directly on files from a UE project (in the future).
- Graph shown is pixel-similar to how it appears in UE.
- Graph behaves the same way as it does in UE (with the default settings).
- All the information shown in he graph is just the one embedded in the serialized text.
Demo:
Getting started:
Run locally
1) Open a terminal in the main folder. 2) Run the following commands.
npm install
npm run build
npx http-server
3) Open the link you see in the last message printed.
Use in a web page
You can check index.html
for a working example, the main steps are the following:
1. Include dist/css/ueb-style.css
stylesheet in your page.
2. Define eventual CSS variables.
<style>
ueb-blueprint {
--ueb-height: 500px;
}
</style>
- Import the class Blueprint in JavaScript (this library uses modules).
<script type="module">
import { Blueprint } from "./dist/ueblueprint.js"
</script>
- Define your blueprint by just writing the code inside a
ueb-blueprint
, inside atemplate
element.
<ueb-blueprint>
<template>
...
</template>
</ueb-blueprint>