Make VCC and +5V netflags work with any DC voltage value in simulations

EasyEDA has a clever scheme whereby placing a VCC or a +5V netflag automatically adds a +5V source to the netlist of the simulation schematic. This means that a voltage source does not have to be explicitly added to a simulation schematic.

What is more, if the name of the a VCC or a +5V netflag is changed to a posiitve or negative voltage value such as 3V, +15V or -12 then a voltage source of that value of is automatically addedto the netlist.

EasyEDA is smart enough to also recognise that if a voltage source of a given value has already been manually placed into the simulation schematic and has a netflag named VCC or the same as the voltage value of that manually placed source, then it does not automatically add a second source of the same parameters to the netlist and so avoids error due to shorted voltage sources.

There is however, a problem that whilst a VCC or a +5V netflag and naming it as an integer voltage value automatically adds a voltage source of that integer value, placing a netflag and giving it a name as a non-integer voltage only creates a net of that name: it does not automatically add a voltage source of that value to the netlist. So, for example, placing a netflag labelled -3 adds a -3V source but labelling it -3.3 only adds a net of that name with no voltage source. Similarly, placing a netflag labelled 12 adds a 12V source but labelling it +2.5V only adds a net of that name with no voltage source.

This is confusing for users.

It needs to work so that placing a VCC or a +5V netflag continues to automatically add a +5V source but placing a VCC or a +5V netflag but with the name changed to any other voltage adds a voltage source to the netlist of that voltage. So for example, adding a VCC or a +5V netflag to a simulation schematic and than changing the name to -3.3 should add a -3.3V voltage source. Similarly, placing a netflag labelled 2.5V should add a +2.5V voltage source.

This project demonstrates the points made above:

https://easyeda.com/andyfierman/the-problems-with-assuming-a-vcc-supply-in-a-simulation

#Bug Reports#
Bug Reports
Feature Request: Relative Alignment between components/holes using dimension and auto-position

I would like to request the following feature:

Currently, we can use dimensions on our PCB layout but it does not affect the position or location of the component(s) which are measuring. I propose a system like the one found in Solidworks, where you can:

1. Create a dimension between two points or components
2. This location can be in the X\, Y\, diagonal alignment\, or custom angles.

  1. If you change the dimension's measure or value, the parts automatically move to satisfy the desire location.
    4. One of the components should be fixed relative to the origin or other component for the other one being measured to move.
        4.1. Being fixed means that the component is fully defined or with dimensions in both X and Y relative to the origin or other components.

I know the editor already provides a dimension offset feature but I consider this alternative to be much more intuitively, simpler, and easier. I consider adding point #3 to the already existent dimension/measurement feature in EDA can be a good start. In the following images, there is a comparison of how it is done in EasyEDA compared to Solidworks.

EasyEDA
Relative_offset.gif

SOLIDWORKS
1. Here you can see how easy it is to move a point\, which in the case of EasyEDA will be a component\, to a desirable location just by dragging the dimension which automatically updates its value and moves the component. This makes the part to move in just one axis.

2. This image shows how easy it is to add new dimensions.

#Feature Requests#
Feature Requests