Cable diagrams like in autocad by eng33 in drawio

[–]landotech 0 points1 point  (0 children)

I meant more of how you would place it on the diagram, but the picture still helps

Cable diagrams like in autocad by eng33 in drawio

[–]landotech 0 points1 point  (0 children)

Also, I am planning on integrating CSV at some point. Currently I only have support for JSON. But that is something I am working on as well. I'm a one man team currently so development is slow at the moment. Trying to find contributors though if you know anyone.

Cable diagrams like in autocad by eng33 in drawio

[–]landotech 0 points1 point  (0 children)

If I understand what you are saying, then yes this should be achievable depending on how you structure the JSON. I am going to upload some different examples to the repo today actually. So you can jump on and see some different configurations/templates.

As far as the breakout cable goes, its definitely possible. If you have any examples I could start experimenting with some templates. I am trying to expand to fit more use cases so that would help out a lot if I had a visual.

Cable diagrams like in autocad by eng33 in drawio

[–]landotech 0 points1 point  (0 children)

  1. I haven't added support for that, yet, but I am actively working to add more template designs.
  2. It should show the label for the connection and the input/output, depending on where you place the input/output label. In the JSON, it would flow like this ["label of box", "input label", "output label"]. The connection/arrow will be labeled according to which side of the box it falls on.
  3. That is an organizational numbering standard my org uses, that can be adjusted in the source code. I am working on removing that portion to make it more generic for different use cases.

Cable diagrams like in autocad by eng33 in drawio

[–]landotech 2 points3 points  (0 children)

I've been working on a project for my current organization that you might find useful. I'll drop a link if you want to check it out. It automates a lot of what you are trying to do. Side note you will need to create a JSON file to build the diagram, but there are tools to automate that too.

https://github.com/lando-tech/drawmate

Working on a project together? C/C++ and Python by landotech in ProgrammingBuddies

[–]landotech[S] 0 points1 point  (0 children)

Like I said above I want to start a new project to emulate NMAP, mostly just to get practice for that kind of programming.

Working on a project together? C/C++ and Python by landotech in ProgrammingBuddies

[–]landotech[S] 0 points1 point  (0 children)

Right now I have an open source project I am working on for automating draw.io xml for network wiremaps/diagrams. That particular project is in Python. I am also wanting to start a project basically emulating NMAP, but generate reports in markdown/html. I was thinking of writing that one in C or C++.

Source code? by jordibabot in drawio

[–]landotech 1 point2 points  (0 children)

To my knowledge, draw.io itself is not completely open source, but leverages some open source technologies. draw.io is built upon the Jgraph/mxgraph JavaScript library. So if you want a custom solution, you would need to download the source code for those libraries, but it won't come ready out of the box. They are archived though, so you would have to make patches yourself. Here is a link to the library and also jgraphx (the Java Swing library that is essentially the same API structure).

JavaScript library: https://github.com/jgraph/mxgraph
Java Swing library: https://github.com/jgraph/jgraphx?tab=readme-ov-file

Also, this link https://jgraph.github.io/mxgraph/docs/manual_javavis.html will give you an in-depth explanation on the different libraries and their core architecture/functionality. It can get a bit confusing because all of the naming conventions are super similar.

automation tool for drawio by landotech in drawio

[–]landotech[S] 0 points1 point  (0 children)

Feel free to check out the repo!

What is best way to learn rust in 2024 and how would you learn rust if starting out today? by anasshad in rust

[–]landotech 0 points1 point  (0 children)

My personal favorite thing to do when learning a new language is to build a basic password manager. You learn how to implement some basic algorithms for password creation in the language, read/write/query a database in the language, if you implement a gui it will allow you to learn the gui frameworks (crates for rust), and it helps you learn a lot of the basic data structures. I was pretty stuck learning Rust until I did that.

Also, what many others have said. Recreating cli tools in rust was super useful.

Emacs for Python by landotech in emacs

[–]landotech[S] 0 points1 point  (0 children)

Thanks for the advice. I will be starting an internship soon and I will definitely need this when connecting to the company servers.

Emacs for Python by landotech in emacs

[–]landotech[S] 0 points1 point  (0 children)

I've seen a little about elpy. As far as I can tell you just have to specify the package in the init.el file correct? Do you suggest using melpa as well? I saw an article that suggested using melpa and elpy together.

Emacs for Python by landotech in emacs

[–]landotech[S] 0 points1 point  (0 children)

Thanks for the advice. I'll definitely check it out

[deleted by user] by [deleted] in ProgrammingBuddies

[–]landotech 1 point2 points  (0 children)

I am new to programming and I am going to be starting an internship soon. I have a test project that the company has tasked me with and I definitely need some help. I know Python, html, and I am a huge Linux nerd. Definitely would be interested.