Box-n-Weave Language Support
This Visual Studio Code extension provides rich language support for Box-n-Weave, a text-based graph and diagram creation syntax.
Features
- Syntax highlighting for .boxn and .boxn.text files
- Intelligent parsing of graph, cluster, options, and animation sections
- Comment support for
// line comments
- Bracket and label matching
- Automatic bracket and label closing
- Preview panel
- Status bar button to open preview

- Editor corner button to open preview


Requirements
- Visual Studio Code version 1.60.0 or higher
- No additional dependencies required
Extension Settings
Currently, no additional VS Code settings are contributed by this extension.
Known Issues
- Previewing remotely-referenced shapes does not work yet due to vscode extension webpanel security restrictions.
- Initial release may have some edge cases in syntax parsing
Release Notes
0.0.1
- Initial release
- Basic syntax highlighting, bracket-matching,etc. for .boxn files
- Support for graph, cluster, options, and animation sections
- Line comment parsing
- preview panel
- preview panel supports pulling in sections from the workspace
- preview panel supports animations
- preview panel supports embedded custom shapes
- preview panel does not yet support externally referenced custom shapes
0.0.2
0.0.3
- added a link to download the preview as an SVG
0.0.4
- updated box-n-weave.js to 1.0.1 with better node ranking in certain cases
0.0.5
- "Save SVG" link will now default to current folder
0.0.6
- Upgrade to Box-n-weave.js 1.0.2 to fix an issue with the new alternative ranking method
Installation
- Open Visual Studio Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Box-n-Weave"
- Click Install
Enjoy creating diagrams with Box-n-Weave!
| |