CSV Import: Documentation for various options?

2,250 views
Skip to first unread message

Alex

unread,
Apr 18, 2018, 12:27:07 PM4/18/18
to draw.io
Hey draw.io team,

I was wondering if there is a piece of documentation that has a complete list of the options available for CSV Import. There are some configuration options that make it seem like there should be more options, but I can't find them as part of the CSV Import template example or the blog post here: https://about.draw.io/automatically-create-draw-io-diagrams-from-csv-files/

Here are some examples of options that I feel aren't documented, but feel like they might be available:
  • For the style options for connections, are there other options to endArrow other than blockThin? Is there blockThick, etc.?
  • Is there a “straight=1” option instead of “curved=1”?
  • Are there ways that I can color connectors?
Thank you in advance and I love your product!

Mate

unread,
Apr 19, 2018, 1:39:58 AM4/19/18
to dra...@googlegroups.com
The same style options are available as for draw.io itself. You can find some guidelines here:


But generally you can find lots of info here:


For selecting arrow style, start draw.io, apply the arrow you prefer to an edge. Then look at the style and find the start/endArrow style value.

Instead of straight=1 write curved=0, or completely remove curved, default is 0.

You color edges (connectors) the same as stencils (fillColor and strokeColor).

Gaudenz Alder

unread,
Apr 19, 2018, 6:28:03 AM4/19/18
to dra...@googlegroups.com
Here is a list of all the styles (starting with STYLE_): https://jgraph.github.io/mxgraph/docs/js-api/files/util/mxConstants-js.html#mxConstants Also try https://support.draw.io/display/DOB/2016/04/28/draw.io+Cell+Styles - there are some additional ones like childLayout, html, container, connectable, collapsible, noJump, snapToPoint, comic and others that are specific to draw.io.
Reply all
Reply to author
Forward
0 new messages