Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,130
Community Members
 
Community Events
176
Community Groups

Using the draw.io csv insert, how would you create a parent node with embedded child nodes?

Hi,

I am trying to automate the process of data model creation within the draw.io interface. To do this I have set up a csv file with my tables and their relationships, and when I insert with formatting it comes out pretty good. One thing I'd like to be able to do is have multiple child nodes within a parent node. Currently my standard node is just a rectangle with text inside, I'd like the option to have a parent node which would just be a larger, different color rectangle, and then child nodes (which would look like the standard node) within that larger rectangle.

Below is an example of what the csv formatting and import look like. I have tried using the identity and parent options but I am not sure how they work.

------------------ EXAMPLE -------------------------------------------

## Uses the given column name as the identity for cells (updates existing cells).
## Default is no identity (empty value or -).
#
# identity: - Table Name
#
## Uses the given column name as the parent reference for cells. Default is no parent (empty or -).
## The identity above is used for resolving the reference so it must be specified.
#
# parent: - ParentNode

## ---- CSV below this line. First line are column names. ----

Table Name, ParentNode, Fields, OneToOneRelationshipTable

Table1,,"a, b, c, etc.", Table2

Table2,,,,

Table2subA,Table2,"fields", Table2subB

Table2subB, Table2,"fields",

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events