What properties are possible in each attribute for each element? #2842
Unanswered
paul23-git
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Let's take a look at According to the documentation, the available selectors are:
The SVG markup looks like this: <g @selector="root">
<rect @selector="body"/>
<text @selector="label"/>
</g> For example, the Additionally, you can utilize SVG attributes specific to the JointJS context: https://docs.jointjs.com/api/dia/attributes/ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
The tutorial has a lot of explanation how the attr elements work.
However it never described which deeper settings are possible. IE I know a link has the selector "label", but it never explained that through the label I can give a text. (well that example is often used, but I cannot find a definite list of what's possible.
Where would I find that, is there a formal source?
Or are they all the same (line, label, root etc all share the same property list?)
Steps to reproduce
not relevant
Restrictions & Constraints
not relevant, documentation.
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS, JointJS+
Beta Was this translation helpful? Give feedback.
All reactions