Blueprint Viewer

by megestus
5
4
3
2
1
Score: 50/100

Description

Render UE Blueprint / Material graph text as interactive diagrams in Obsidian notes

Reviews

No reviews yet.

Stats

0
stars
78
downloads
0
forks
68
days
68
days
68
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
14
commits

Latest Version

2 months ago

Changelog

Fix review issues: CSS classes, createEl helpers, npm dependency

README file from

Github

Blueprint Viewer

English | 中文

Render UE Blueprint / Material graph text as interactive diagrams directly in your Obsidian notes.

Usage

Use a blueprint code block and paste the blueprint text copied from UE:

```blueprint
Begin Object Class=K2Node_VariableGet ...
...
End Object
```

Options

Set options on the first line inside the code block:

```blueprint
MyBlueprintName
<blueprint text>
```

Or with explicit key=value:

```blueprint
height=600 name=MyBlueprint
<blueprint text>
```
Option Default Description
height 643 Render area height (px)
name auto Name label shown next to the copy code button; if the first line is a plain word (not starting with Begin Object and not a key=value pair), it is used as the name

Interaction

Action Description
Ctrl + scroll Zoom
Left-drag Pan canvas
Double-click node Enter sub-graph (collapsed nodes)
Graph button Return to top level
All button Fit all nodes (wheel zoom will prompt to click Reset afterwards)
Reset button Reset to 1:1
copy code Copy blueprint text to clipboard

Copying Blueprint Text from UE

  1. In the UE Blueprint editor, select nodes (or Ctrl+A to select all)
  2. Ctrl+C to copy
  3. Paste into a ```blueprint code block in Obsidian

Technical Notes

  • Renderer is a modified version of BlueprintUE Self-Hosted Edition (MIT License)
  • Packaged as a <blueprint-viewer> Web Component, compiled into an Obsidian plugin via esbuild
  • Modifications: left-drag pan, translate3d GPU acceleration (fixes zoom lag), All fit-to-screen button, copy code, name label, All-mode wheel-zoom hint
  • Desktop only (isDesktopOnly: true), mobile not supported

License & Attribution

Plugin License

This plugin is released under the MIT License — see LICENSE.

Third-Party Attribution

The rendering engine code comes from BlueprintUE Self-Hosted Edition:

  • Rendering engine: BlueprintUE render.js (MIT)
  • Stylesheet: BlueprintUE render.css (MIT)

Original project info:

This plugin is built on top of the original with modifications (left-drag pan, translate3d GPU acceleration, All button, copy code, etc.), and retains the original copyright notice per MIT license terms.

Support

If this plugin helps you, consider buying me a coffee ☕