Plugin That Adds Nodes

Hello,
Can I create a plugin that draws new nodes? If so, what would the code look like? Thanks!

A Reporter plugin can perform additional drawing. Reporters are comparatively straightforward to implement, there are many open source Reporter plugins listed in the Plugin Manager which you can use as reference.

If you want the user to be able to interact with these drawings (drag the newly drawn nodes around, click on them, etc.), you would probably need a Tool plugin. These plugins are a bit more tricky to get right as they require more custom handling of whatever you want to do.

Have a look at Glyphs SDK for more information on both: