A stand alone editor implementation of the UE's Blueprint visual language.
https://www.npmjs.com/package/ueblueprint
- Intercommunicates with UE (can copy nodes both ways).
- Can be used as a WEB library to visualize and interact with Blueprint graphs.
- 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.
- Open a terminal in the main folder.
- Run the following commands.
npm install
npm run build
npx http-server
- Open the link you see in the last message printed.
You can check index.html
for a working example, the main steps are the following:
- Make the
dist
directory available in your website by copying it or installing through npmnpm i ueblueprint
. - Include
dist/css/ueb-style.css
stylesheet in your page. - 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.min.js"
</script>
- Define your blueprint by writing the code inside a
template
, inside aueb-blueprint
element.
<ueb-blueprint>
<template>
...
</template>
</ueb-blueprint>