relf / XDSMjs

XDSM generator written in javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XDSMjs

XDSM diagram generator written in javascript.

Build Status

XDSM

The XDSM (eXtended Design Structure Matrix) is a notation used to visualize MDO processes. It was developed by A. B. Lambe and J. R. R. A. Martins, see MDOLab website dedicated page.

XDSM permissions:

If you use the XDSM format for research, we ask that you cite the following journal publication in your work: A. B. Lambe and J. R. R. A. Martins, “Extensions to the Design Structure Matrix for the Description of Multidisciplinary Design, Analysis, and Optimization Processes”, Structural and Multidisciplinary Optimization, vol. 46, no. 2, p. 273-284, 2012.

Description

XDSMjs is a javascript generator allowing to display a XDSM diagram within a web page. It is based on D3. It uses the xdsm.json file as input which contains required information to generate the XDSM diagram. See the dedicated Wiki page for a description of the XDSMjs json format.

Usage

Open xdsm.html in your browser. To see other diagrams, copy a json example from examples directory as xdsm.json and reload the page.

Example

Below an example describing BLISS formulation inspired from XDSM description given in Martins and Lambe MDO architecture survey. While the formulation could have been described in one diagram as in the survey, the example below use XDSMjs multi-level diagram capability to separate system and discipline optimization levels. The corresponding xdsm.json file is available in the example directory.

Troubleshooting

  • If you don't see the diagram, may be you need to serve the files with your favourite HTTP server ('same origin' policy of your browser). An example with Python HTTP simple server:
> cd <install-dir>/XDSMjs
> python -m SimpleHTTPServer 8020
  • Open http://localhost:8020/xdsm.html in the browser.

Licence

Copyright 2016 Rémi Lafage

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

XDSM generator written in javascript.

License:Apache License 2.0


Languages

Language:JavaScript 99.6%Language:CSS 0.3%Language:HTML 0.1%