Files
xrpl-dev-portal/content/_img-sources/default-paths.uxf
mDuo13 72002fd773 Support theme-aware diagrams:
- SVG diagrams can adapt to the visual theme of the site through CSS.
- Use the include_svg filter to include a diagram that adapts to the
  theme.
- The styles/_diagrams.scss file controls the color mappings for
  theme-aware digrams.
- Theme-aware diagrams are limited to specific colors and diagram
  styles. Use UMLet or Google Draw and confirm that the diagram is still
  legible when you build it.
- This commit updates existing diagrams in most places to be
  theme-aware.
2020-08-17 13:12:01 -07:00

693 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="14.2">
<zoom_level>10</zoom_level>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>50</x>
<y>560</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Account
(Sender)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>240</x>
<y>560</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>SendMax.
issuer
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>140</x>
<y>600</y>
<w>120</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=.</panel_attributes>
<additional_attributes>100.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>470</x>
<y>560</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Amount.
issuer
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>640</x>
<y>560</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Destination
(Receiver)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>560</x>
<y>600</y>
<w>100</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=.</panel_attributes>
<additional_attributes>10.0;10.0;80.0;10.0</additional_attributes>
</element>
<element>
<id>UMLSpecialState</id>
<coordinates>
<x>400</x>
<y>600</y>
<w>20</w>
<h>20</h>
</coordinates>
<panel_attributes>type=termination</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>50</x>
<y>170</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Account
(Sender)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>410</x>
<y>170</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Destination
(Receiver)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>290</x>
<y>170</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Amount.
issuer
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Text</id>
<coordinates>
<x>390</x>
<y>210</y>
<w>30</w>
<h>40</h>
</coordinates>
<panel_attributes>=</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>140</x>
<y>210</y>
<w>170</w>
<h>30</h>
</coordinates>
<panel_attributes>lw=2.5</panel_attributes>
<additional_attributes>150.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>50</x>
<y>300</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Account
(Sender)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>140</x>
<y>340</y>
<w>190</w>
<h>30</h>
</coordinates>
<panel_attributes>lw=2.5</panel_attributes>
<additional_attributes>170.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>570</x>
<y>300</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Destination
(Receiver)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>310</x>
<y>300</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Amount.
issuer
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>40</x>
<y>40</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Account
(Sender)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>250</x>
<y>80</y>
<w>180</w>
<h>30</h>
</coordinates>
<panel_attributes>lw=2.5</panel_attributes>
<additional_attributes>160.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>410</x>
<y>40</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Destination
(Receiver)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Text</id>
<coordinates>
<x>140</x>
<y>80</y>
<w>30</w>
<h>40</h>
</coordinates>
<panel_attributes>=</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>160</x>
<y>40</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Amount.
issuer
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>400</x>
<y>340</y>
<w>190</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=.</panel_attributes>
<additional_attributes>170.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>50</x>
<y>430</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Account
(Sender)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>140</x>
<y>470</y>
<w>120</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=.</panel_attributes>
<additional_attributes>100.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>240</x>
<y>430</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>SendMax.
issuer
currency
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Text</id>
<coordinates>
<x>340</x>
<y>470</y>
<w>30</w>
<h>40</h>
</coordinates>
<panel_attributes>*=*</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>360</x>
<y>430</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Amount.
issuer
currency
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>570</x>
<y>430</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Destination
(Receiver)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>450</x>
<y>470</y>
<w>140</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=.</panel_attributes>
<additional_attributes>120.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>330</x>
<y>600</y>
<w>160</w>
<h>30</h>
</coordinates>
<panel_attributes>lw=2.5</panel_attributes>
<additional_attributes>140.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLNote</id>
<coordinates>
<x>610</x>
<y>120</y>
<w>140</w>
<h>90</h>
</coordinates>
<panel_attributes>Same currency:
Direct trust line from sender to receiver
style=wordwrap
transparency=0
bg=gray
fg=white</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>530</x>
<y>40</y>
<w>50</w>
<h>240</h>
</coordinates>
<panel_attributes>lt=-</panel_attributes>
<additional_attributes>10.0;220.0;30.0;220.0;30.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>680</x>
<y>300</y>
<w>50</w>
<h>240</h>
</coordinates>
<panel_attributes>lt=-</panel_attributes>
<additional_attributes>10.0;220.0;30.0;220.0;30.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLNote</id>
<coordinates>
<x>800</x>
<y>560</y>
<w>150</w>
<h>90</h>
</coordinates>
<panel_attributes>Same currency:
Rippling through two issuers - unlikely to work
bg=yellow
transparency=0
style=wordwrap</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>730</x>
<y>530</y>
<w>50</w>
<h>160</h>
</coordinates>
<panel_attributes>lt=-</panel_attributes>
<additional_attributes>10.0;140.0;30.0;140.0;30.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLNote</id>
<coordinates>
<x>750</x>
<y>370</y>
<w>140</w>
<h>80</h>
</coordinates>
<panel_attributes>Same currency:
Rippling through one issuer
style=wordwrap
bg=gray
fg=white
transparency=0</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>650</x>
<y>700</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Destination
(Receiver)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>590</x>
<y>740</y>
<w>80</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=.</panel_attributes>
<additional_attributes>10.0;10.0;60.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>500</x>
<y>700</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Amount.
issuer
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>290</x>
<y>740</y>
<w>80</w>
<h>30</h>
</coordinates>
<panel_attributes>lw=2.5</panel_attributes>
<additional_attributes>60.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>200</x>
<y>700</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>SendMax.
issuer
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>140</x>
<y>740</y>
<w>80</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=.</panel_attributes>
<additional_attributes>60.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>50</x>
<y>700</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Account
(Sender)
lt=.</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>350</x>
<y>700</y>
<w>100</w>
<h>100</h>
</coordinates>
<panel_attributes>Order Book
--
FOO
(issuer)
--
BAR
(issuer)
lw=2.5</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>440</x>
<y>740</y>
<w>80</w>
<h>30</h>
</coordinates>
<panel_attributes>lw=2.5</panel_attributes>
<additional_attributes>60.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>810</x>
<y>50</y>
<w>310</w>
<h>210</h>
</coordinates>
<panel_attributes>Legend
--
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>810</x>
<y>90</y>
<w>60</w>
<h>30</h>
</coordinates>
<panel_attributes>lw=2.5</panel_attributes>
<additional_attributes>40.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Text</id>
<coordinates>
<x>860</x>
<y>130</y>
<w>230</w>
<h>30</h>
</coordinates>
<panel_attributes>implied by transaction fields</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>810</x>
<y>130</y>
<w>60</w>
<h>30</h>
</coordinates>
<panel_attributes>lt=.</panel_attributes>
<additional_attributes>40.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>Text</id>
<coordinates>
<x>860</x>
<y>90</y>
<w>210</w>
<h>30</h>
</coordinates>
<panel_attributes>completes the default path</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLUseCase</id>
<coordinates>
<x>820</x>
<y>160</y>
<w>30</w>
<h>30</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>820</x>
<y>210</y>
<w>30</w>
<h>30</h>
</coordinates>
<panel_attributes/>
<additional_attributes/>
</element>
<element>
<id>Text</id>
<coordinates>
<x>860</x>
<y>160</y>
<w>180</w>
<h>30</h>
</coordinates>
<panel_attributes>path step - account</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Text</id>
<coordinates>
<x>860</x>
<y>210</y>
<w>200</w>
<h>30</h>
</coordinates>
<panel_attributes>path step - order book</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>750</x>
<y>680</y>
<w>50</w>
<h>160</h>
</coordinates>
<panel_attributes>lt=-</panel_attributes>
<additional_attributes>10.0;140.0;30.0;140.0;30.0;10.0;10.0;10.0</additional_attributes>
</element>
<element>
<id>UMLNote</id>
<coordinates>
<x>810</x>
<y>710</y>
<w>150</w>
<h>90</h>
</coordinates>
<panel_attributes>Cross-currency:
Default path automatically uses an order book
style=wordwrap
bg=gray
fg=white
transparency=0</panel_attributes>
<additional_attributes/>
</element>
</diagram>