And now I have to generate a diagram image using that information.
Is there any open-source library to generate a diagram from Ladder logic?
- Input: The logic, I can express it in any format, XML or other.
- Output: An image (diagram representing the logic)
- Open source
- Bonus if the layout is nice and space-efficient without making the diagram look too convoluted
Context: I am creating a 3D simulator which teaches to wire Motor Control. The simulator has all the information about how devices are connected (lights, push buttons, relays, etc), and needs to produce a visual representation of it.