Godot-docs: Inheritance graphic update

Created on 9 Feb 2020  路  4Comments  路  Source: godotengine/godot-docs

https://docs.godotengine.org/en/3.2/development/cpp/inheritance_class_tree.html

Under this document page there is a resource graphic that could use the addition of the mono module.

mono->script->resource.

GDScript already has one that shows it inherits from script, but there isn't one for mono.

Now i understand this might be a minor issue, but it may help some people in the future.

Just thought i would let you guys know about it.

PS. if there was a page explaining how the mono module works added in the future, that would also be great. thanks!

enhancement

Most helpful comment

On Windows, compilation db works.

scons platform=windows use_llvm=yes use_mingw=yes -j16 target=debug werror=no compiledb=yes",

Possible adjustments include using target=release_debug.

This uses https://github.com/mstorsjo/llvm-mingw.

  1. Ensure mingw-llmv is installed in the path correctly
  2. scoop install sourcetrail
  3. Launch source trail
  4. Add compilation json to the project.
  5. Index every single file
  6. Search for ClassDB term
  7. Save as SVG.
  8. Note that my version is a custom engine, so you need to refresh. DON'T USE.
  9. The website needs a large image widget.

ClassDB.zip

All 4 comments

This certainly needs an update especially for Godot 4.0.

I've discovered Sourcetrail source explorer and with the compilation database support added in godotengine/godot#32848 we could write instructions on how to create a Sourcetrail project to view Godot's inheritance and other neat stuff there:

object-many

@fire may also give some ideas, as I've found this through one of his replies at Godot's Discord. 馃檪

On Windows, compilation db works.

scons platform=windows use_llvm=yes use_mingw=yes -j16 target=debug werror=no compiledb=yes",

Possible adjustments include using target=release_debug.

This uses https://github.com/mstorsjo/llvm-mingw.

  1. Ensure mingw-llmv is installed in the path correctly
  2. scoop install sourcetrail
  3. Launch source trail
  4. Add compilation json to the project.
  5. Index every single file
  6. Search for ClassDB term
  7. Save as SVG.
  8. Note that my version is a custom engine, so you need to refresh. DON'T USE.
  9. The website needs a large image widget.

ClassDB.zip

[NOTE not latest master and customized]

Converted svg to png with affinity designer.

ClassDB

[NOTE not latest master and customized]

Converted svg to png with affinity designer.

ClassDB

Dont' use PNG for primitive diagrams, Always use SVG and the predefined Godot color palette for primitive diagrams. this process needs to be automated by script, generate UML> apply SVG + CSS

tips:
affinity layer names are css IDs when export svg. and groups are g element in svg.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

creikey picture creikey  路  4Comments

stsewd picture stsewd  路  3Comments

jcs224 picture jcs224  路  3Comments

eon-s picture eon-s  路  5Comments

cbscribe picture cbscribe  路  5Comments