FAQ
This page documents common issues users have faced when using Cope and Drag, as well as work-arounds. We encourage you to file issues here if you see something not addressed below.
Why Cope and Drag?
The name comes from sand casting: the cope is the top half of a mold, the drag the bottom—both must align to create something solid. So too in modeling: logic and layout must support each other.
How can I use local images as icons?
Cope and Drag icons directives currently only support images hosted on publicly available URIs. If you want a specific image on your local filesystem to be used in an icon directive:
- Generate a base64 encoding of this image ( we've found this website useful).
- Include the base 64 URI in your icon path as below:
1 2 3 |
|
Cope and Drag also includes a selection of built in icons for ease of use.
How can I integrate Cope and Drag with my own workflow?
Cope and Drag API endpoints are documented via the Open API convention, and can be found
at the /openapi
endpoint of your running Cope and Drag instance.