# Loading matrix data structure

**URL:** <https://discourse.slicer.org/t/loading-matrix-data-structure/9859>\
**Category:** Development\
**Created:** [January 17, 2020, 10:07pm UTC](https://discourse.slicer.org/t/loading-matrix-data-structure/9859 "2020-01-17T22:07:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wieke.prummel](https://avatars.discourse-cdn.com/v4/letter/w/58956e/32.png) [@wieke.prummel](https://discourse.slicer.org/u/wieke.prummel)\
**Post date:** [January 17, 2020, 10:07pm UTC](https://discourse.slicer.org/t/loading-matrix-data-structure/9859/1 "2020-01-17T22:07:28Z")

</div>

Hello slicer community,

I would like to load a matrix data structure (json and csv file) into Slicer.

Is it possible to define our own slicer node type?

Thank you,  
Wieke

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [January 17, 2020, 11:14pm UTC](https://discourse.slicer.org/t/loading-matrix-data-structure/9859/2 "2020-01-17T23:14:30Z")

</div>

Yes, you can make custom node types in C++, but maybe you want to use a Table Node?

[https://www.slicer.org/wiki/Documentation/Nightly/Modules/Tables](https://www.slicer.org/wiki/Documentation/Nightly/Modules/Tables)

If that’s not what you need please provide more details on your use case.

---

<div class="post-metadata">

**Author:** ![wieke.prummel](https://avatars.discourse-cdn.com/v4/letter/w/58956e/32.png) [@wieke.prummel](https://discourse.slicer.org/u/wieke.prummel)\
**Post date:** [January 22, 2020, 4:24pm UTC](https://discourse.slicer.org/t/loading-matrix-data-structure/9859/3 "2020-01-22T16:24:02Z")

</div>

Thank you for your answer.

I can work with the table Node to represent connections, but in order to associate rows with metadata (such as: names, location in atlas and hierarchy) I would like to load this through a json file.

I looked at the Terminology Module, but this didn’t seem to work.  
Is it possible to customize the terminology Node?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 22, 2020, 4:56pm UTC](https://discourse.slicer.org/t/loading-matrix-data-structure/9859/4 "2020-01-22T16:56:53Z")

</div>

You can create custom terminologies. You can start from the [current terminology files](https://github.com/Slicer/Slicer/tree/master/Modules/Loadable/Terminologies/Resources) and create yours and add it in the terminology selector widget:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/a/1a733cf4479c1b7783b5fb6afad8b4f377a407cc.png)

Are you aware of [Open Anatomy](https://www.openanatomy.org/) effort? Atlas import/export/authoring tools are being developed in Slicer (see [extension](https://github.com/PerkLab/SlicerOpenAnatomy) and [this week’s Open Anatomy discussions](https://projectweek.na-mic.org/PW33_2020_GranCanaria/)).
