【发布时间】:2022-11-13 00:36:53
【问题描述】:
我目前正在使用 YAML 进行一些数据建模,开发 documents、enums、fields 和 interfaces。
通常,我正在构建具有类似结构的接口:
description: Bulldog # description of interface
extends: Dog # extends another interface
properties: # properties of the interface
- dogTag:
field: dog.tag # the field of where the dog tag attribute is defined
- dogColor:
field: dog.color
multi: true # if there are more than one type of color
# links
- dogPark:
multi: true # more than one type of dog park
linkTo: DogParks # Links to Dog Parks
基本上我有一堆这种格式的 YAML——什么是可视化所有这些数据的简单方法?我正在考虑编写一个非常简单的 Javascript 应用程序或其他东西,但在从哪里开始需要一些帮助。抱歉,如果这不是正确的发帖位置。
我玩过 PlantUML,这看起来像是我想要的正确方向,但它只适用于一个 yaml 文件。我有一堆,我想可视化我的整个数据模型。有什么建议么?
谢谢你。
【问题讨论】: