import themen from ‘theme/styles/styled-colors’; import * as theme from ‘react-syntax-highlighter/dist/esm/styles/hljs’; import SyntaxHighlighter from ‘react-syntax-highlighter’;
Entity attributes are specified using attribute definitions. An attributes' persistence strategy is determined by based on their type.
Primitive types are persisted as properties within the vertex of their parent.
Non-primitive attributes get a vertex of their own and edge is created between the parent the child to establish ownership.
Attribute with isSoftReference option set to true, is non-primitive attribute that gets treatment of a primitive attribute.
Below is an example of using the new attribute option.