jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
40.53k stars 7.55k forks source link

Process and Instrument Diagrams (P&ID) ? #4163

Closed jopetpc closed 7 months ago

jopetpc commented 7 months ago

Preflight Checklist

I agree to follow the Code of Conduct that this project adheres to.

I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

--

Hi, I am testing the DrawIO desktop version, to find if it is suitable for P&ID drawings. Other tools for drawing P&ID’s, like MicroStation or AutoCAD, has no export/import possibilities for xml files, only proprietary file formats (dng, dwg). And they, and any conversion tools, are quite expensive.

I am looking for a tool to create ‘intelligent’ P&ID’s in the way that data in a xml file could be imported into a database or exported from such for updates or generation of new diagrams (not only P&ID’s, but for instance Instrument Loop drawings).

So far, I have found many goodies in DrawIO, a Process Engineering library – a fairly easy way to modify shapes, definition my own properties and building a customized library. I have tested with properties for entering Tag- or Line Numbers (instead of using labels) and imported info of the connections between process lines, tagged equipment etc.

A challenge is when a shape (for instance a pump – or even worse; a 3 way valve) is inserted in the middle of a process line, this results in tracking problems. The line is splits and it is hard to trace from start to the end based on source/target of the new segment(s) automatically generated. It would be nice to insert (and connect) one or more shapes in the middle without introducing new DrawIO id’s for the middle segments. Or maybe have the original property holding the Line number (entered once) available as a hidden property in the new segments.

My main question is: Do JGraph Ltd / draw.io AG have any plans for a version that is optimized for a P&ID drafter ? I guess there should be a marked of interest in large engineering companies and in general in the Oil&Gas industry.

Another question to this forum is: Do anyone have experience with DrawIO and P&ID’s, when it comes to interfacing using xml/xsl - without have to develop a plugin ?

davidjgraph commented 7 months ago

Duplicate https://github.com/jgraph/drawio-desktop/discussions/1623