Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

New Brick Viewer Up!

69 views
Skip to first unread message

ga...@brickschema.org

unread,
Oct 4, 2023, 7:08:05 PM10/4/23
to Brick User Forum (Unified Building Metadata Schema)
Hi everyone:

I wanted to let you know that I've put up a new version of the Brick Viewer at https://viewer.brickschema.org . It is more flexible and customizable than the last version: you can write simple javascript expressions to filter out what nodes/edges are drawn, and you can customize the colors of the nodes based on their root class. I will try to put together a tutorial video soon and post that in this thread when it's done. Eventually I'll add some documentation too :)

There is an option to download the .png of the graph you've created

filename-5.png

but the previous PDF export is not working in this version. Previously, I was executing GraphViz on the server as a subprocess and sending the resulting PDF back to the client. The current version of viewer.brickschema.org is entirely client-side so it should stay up and I won't have to kick the server to keep it running. I will try to get the PDF rendering working but you can always click the "Generate d2" button and copy-paste the result to https://play.d2lang.com/ to get something that can be easier to read:

d2-2.png

This is all open-source too: https://github.com/gtfierro/viewer.brickschema.org . Please let me know what you would like to see in terms of features, and of course let me know if anything breaks or doesn't work. I am more than happy to accept PRs as well.

Best,
Gabe
Reply all
Reply to author
Forward
Message has been deleted
0 new messages