mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-03 23:55:04 +08:00
23ee628e28b1ff932998211aa8ded640dbfa2bee
* Still WIP * WIP * ArrayEntity parsing fixed * Fix format text entity * Tests for various entity classes and update entity class implementations * More tests and fixed * More entities fixed * Simple entities serialization fixed * Entities tests fixed * Remove serialization bits * Fix Function reference * CustomProperties creating fixed * WIP * Better typing for grammars * Decoding code fixes * Fixing still * Several fixes * rename toString to serialize * Several fixes * More fixes * Moving more stuff out of Utility * Several fixes * Fixing Linear color entity print * Serialization fixes * Fix serialization * Method to compute grammar * Renaming fix * Fix array grammar and equality check * Fix inlined keys * Fix type * Several serialization fixes * Fix undefined dereference * Several fixes * More fixes and cleanup * Fix keys quoting mechanism * Fix natural number assignment * Fix Int64 toString() * Fix quoted keys for inlined arrays * Fix PG pins * Fix several test cases * Types fixes * New pin default value empty * Fix non existing DefaultValue for variadic nodes * Smaller fixes for crashes * Fix link color when attached to knot * Linking test and more reliability operations for adding pins * Improve issue 18 test * More tests and fixes * Fix enum pin entity * Remove failing test
UEBlueprint
A stand alone editor implementation of the UE's Blueprint visual language. (WIP)
Features:
- Intercommunicates with UE (can copy nodes both ways).
- Can be used as a WEB library to visualize, interact and modify 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 (in VS Code it should be able to access assets also).
- Modern object oriented, clean, JavaScript codebase.
Demo:
Getting started:
Run locally
- 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.
Use in a web page
You can check index.html for a working example, the main steps are the following:
- Include
dist/css/ueb-style.cssstylesheet 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.js"
</script>
- Define your blueprint the by just writing the code inside a
ueb-blueprint, inside atemplateelement.
<ueb-blueprint>
<template>
...
</template>
</ueb-blueprint>
Description
Languages
JavaScript
88.9%
HTML
7.3%
SCSS
3.8%