mirror of
https://github.com/aurora-opensource/xviz.git
synced 2026-01-25 14:16:45 +00:00
XVIZ specified data format. Prior to this functions and classes that operate on XVIZ data where split across @xviz/builder and @xviz/parser. They will be moved into @xviz/io in subsequent changes. Motivation for this is due to @xviz/parser restructuring data that no longer can be validated against our specification and validation tooling. This made it difficult to modify XVIZ and validate it is still conforming. Given that, this module should operate only at the XVIZ specification level. Highlights of @xviz/io module: - XVIZ data classes allow for dealing with XVIZ data regardles of the format specifics (binary or json) - Abstraction layers keep concerns isolated and provide and improve structure for evolving the XVIZ eco-system Key documents are: - RFC ./dev-docs/003-io-module-rfc.md - User Docs ./docs/api-reference/io - Module Readme ./modules/io/README.md
500 B
500 B
Below is an guide for how classes should be formatted.
method(argument1, argument2)
Description of what it does.
Parameters:
argument1(Type) - somethingargument2.foo(Type) - somethingargument2.bar(Type) - something
argument1(Type) - somethingargument2(Object)foo(Type) - somethingbar(Type) - something
Returns: (Type) - description
Returns:
- (Type) - description
- field1 (Type) - desc
- field2 (Type) - desc