Alexander Sviridenkov
-
Content Count
258 -
Joined
-
Last visited
-
Days Won
26
Posts posted by Alexander Sviridenkov
-
-
1.0.0.28
Show unit initialization order.
-
On 10/6/2023 at 5:15 PM, mvanrijnen said:Looks good, you gonna release the SQL classes apart from the HTML Library ?
btw where did you learn to type that fast ? 😉
No, this will be included in Reports (Bundle)
-
-
8 hours ago, Edwin Yip said:@Alexander Sviridenkov This is very cool and can be very useful! While I have a faith in your libraries, the only thing I'm concerning about is the performance. Is it based on the good old and fast RTTI (System.TypInfo.pas) or the new but slow extended RTTI (System.Rtti.pas)?
System.Rtti.
AFAIK TypInfo do not support records and field values.
But there are some optimizations so loading list of test objects containing 1 million objects takes 850 ms.
TTest = class public A: integer; b: string; c: double; end;
-
Yes, classes from HTML Library.
- 1
-
There is nothing interesting done in Object Inspector, just linking Datasource to FDMemTable and DBGrid to Datasource.
Everything is in code.
-
4 minutes ago, Mike Torrettinni said:Is this SQL highlighting control?
No, this is ability to execute SQL on any source - list of objects, array of records, dataset, CSV, JSON, XML, etc. And put result into dataset, stringlist, array, etc.
- 1
-
-
1 hour ago, Rollo62 said:I have tested a little and found, that in somewhat complex structure scenarios, it might overlook some of the units.
See example here, where UPartA.pas and UPartB.pas were missing, while the project compiles and works fine.Now fixed in build 1.0.0.27
-
18 minutes ago, Rollo62 said:I have tested a little and found, that in somewhat complex structure scenarios, it might overlook some of the units.
See example here, where UPartA.pas and UPartB.pas were missing, while the project compiles and works fine.If there are units with the same name, would it be possible to find some more details about, where they are located.
Maybe by right click, to get a list of where the absolute paths of all copies are?
Thank, I'll check.
When clicking on unit, folder(s) (at right panel) where it is located became bold.
-
-
-
1.0.0.16
Main window accept drag/drop from explorer
Delphi version is detected from project
- 1
-
Version 1.0.0.15
1. Delphi 7 compatibility.
2. Ctrl+S to save graph HTML
3. Folders below disabled folder are hidden from list
4. Open project window accept drag/drop from explorer
- 2
- 2
-
51 minutes ago, dummzeuch said:Nice idea. But of course I have got
something to complain aboutsome suggestions- I find it rather difficult to see those light gray lines on a dark gray background. Maybe I'm just getting old and it's my eyes not the tool, but anyway. Why not use black lines on a white background? I know that "dark mode" is all the rage, but readability shouldn't be thrown out of the window for that.
-
It would be nice if the input line for the project file supported
- autocomplete
- dropping a file from explorer
- Dropping a .dpr file from explorer onto the main window to load it would also be nice.
I'm sure I will think of some more possible improvements.
What are your plans for this tool? Are you going to release the source code? Or make it a commercial tool?
Thank you.
1. Gray lines are there just to see overall amount of links for node. They should not be too contrast otherwise selected links will be lost.
2. Project input has Open button at right, you cal select file from standard dialog. Dropping file to this window is good idea, I will implement it.
3. Unfortunately this is not possible because application should also know Delphi version, not just project file.
As mentioned above, it will be free, source code will be available to HTML Library customers,
- 1
-
14 minutes ago, Rollo62 said:Well, now I tried to enforce one, I thought it would automatically find and mark them all somehow.
Nevertheless, it's working well, when clicking on such circular part.I tried to show all, but usually there are too many circular references so cheking unit by unit is more convenient.
- 1
-
33 minutes ago, Rollo62 said:I'm a little unsure, how to make use of the "circular reference" feature.
You can find and remove circular references where they should not be.
-
2 hours ago, Tommi Prami said:
Also this island at top left is bit strange.
This is because of ForceAtlas2 algo. Units or unit groups with small amout of links can go far from center.
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0098679
- 2
-
10 minutes ago, shineworld said:There is a way to ZOOM in/out ?
Very interesting product to analyse overall of a project!Yes, Ctrl + mouse wheel
- 1
-
7 minutes ago, Mike Torrettinni said:Nice! I showed this to another developer who is looking for simple drawing control that would do all this. Not for Delphi source dependencies, but custom relationship data and it would simplify his current very cumbersome drawing solution that achieves similar result - I helped with some small improvements, but I'm not expert in drawings.
He is excited to try your control when this is implemented.
This is not a separate control, all UI of this application is just two THtPanel-s. Program generates SVG from units graph and put it into HtPanel, that's all. No direct drawing.
F.e. this is how looks CSS for main panel:
svg {font-size: 8px} .node rect {fill: white; stroke: gray; stroke-width: 1px} .node:hover rect {fill: lightblue} .node.circ rect {fill: #ffdddd} .link {stroke: white; fill: white; opacity: 0.1} .link.selected {stroke: green; fill:green;opacity: 1} .link.imp.selected {stroke: blue; fill:blue} .link.selected.circ {stroke:red!important} .link ellipse {stroke:none!important} .selected rect {fill: #ccfab4} .node.main rect {fill: lightblue!important; stroke: #456c87!important} .node.selected.circ rect {fill: #ffbbbb} .project rect {stroke: black; stroke-width: 2px} .project text {font-weight: bold} .search text {fill: #b84f04}
-
-
3 minutes ago, Mike Torrettinni said:Great! Any timeline?
I don't have the library, yet, so I don't know how controllable the HTML control is, but will this be possible:
- custom Context menu on selected unit?
- select and add Context menu on dependency line?
- select multiple units? and get info on all selected units?
- control drawing objects, bg color, font, size?
- control selection from code, not just mouse?
Maybe next month.
For other questions answer is - yes.
- 1
-
3 minutes ago, Mike Torrettinni said:Can you share what is the plan for this tool/feature?
- Shareware?
- or can users of HTML Component Library access source and implement the view in our projects?
- or integrate into GExperts or MMX?
It will be included to HTML Library demos with source code.
- 4
-
4 minutes ago, Mike Torrettinni said:A filtering option would be nice: hide/filter out System*, Vcl* dx*... units. Most of the time I don't need to see these dependencies.
Simply click on RTL/VCL/Etc. folder at right and units from disabled folders will not be shown.
- 1
Unit dependency viwer
in I made this
Posted
Could you please show a screenshot?